Silk moth nest generation
This commit is contained in:
parent
04c1fc3528
commit
e80c146727
15 changed files with 145 additions and 11 deletions
|
@ -36,6 +36,7 @@ public class EndEntities {
|
|||
SpawnHelper.restrictionWater(END_FISH, EndFishEntity::canSpawn);
|
||||
SpawnHelper.restrictionLand(SHADOW_WALKER, ShadowWalkerEntity::canSpawn);
|
||||
SpawnHelper.restrictionWater(CUBOZOA, CubozoaEntity::canSpawn);
|
||||
SpawnHelper.restrictionAir(SILK_MOTH, SilkMothEntity::canSpawn);
|
||||
}
|
||||
|
||||
protected static <T extends Entity> EntityType<T> register(String name, SpawnGroup group, float width, float height, EntityFactory<T> entity) {
|
||||
|
|
|
@ -24,6 +24,7 @@ import ru.betterend.world.features.HydraluxFeature;
|
|||
import ru.betterend.world.features.LanceleafFeature;
|
||||
import ru.betterend.world.features.MengerSpongeFeature;
|
||||
import ru.betterend.world.features.OverworldIslandFeature;
|
||||
import ru.betterend.world.features.SilkMothNestFeature;
|
||||
import ru.betterend.world.features.SingleInvertedScatterFeature;
|
||||
import ru.betterend.world.features.SinglePlantFeature;
|
||||
import ru.betterend.world.features.UnderwaterPlantFeature;
|
||||
|
@ -155,6 +156,9 @@ public class EndFeatures {
|
|||
// Buildings
|
||||
public static final EndFeature CRASHED_SHIP = EndFeature.makeChansedFeature("crashed_ship", new CrashedShipFeature(), 500);
|
||||
|
||||
// Mobs
|
||||
public static final EndFeature SILK_MOTH_NEST = EndFeature.makeChansedFeature("silk_moth_nest", new SilkMothNestFeature(), 2);
|
||||
|
||||
public static void registerBiomeFeatures(Identifier id, Biome biome, List<List<Supplier<ConfiguredFeature<?, ?>>>> features) {
|
||||
if (GeneratorOptions.removeChorusFromVanillaBiomes()) {
|
||||
if (id.getNamespace().equals("minecraft")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue