Minor cleanup

This commit is contained in:
Frank 2021-12-08 16:35:20 +01:00
parent 396eb27175
commit b5b8963da4
2 changed files with 1 additions and 10 deletions

View file

@ -5,7 +5,6 @@ import java.util.function.BiFunction;
import net.minecraft.data.worldgen.StructureFeatures;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.level.biome.Biome;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.levelgen.SurfaceRules;
@ -40,10 +39,6 @@ public class EndBiome extends BCLBiome {
protected boolean hasCaves(){
return true;
}
protected boolean spawnVanillaMobs(){
return true;
}
}
public EndBiome(ResourceLocation biomeID, Biome biome) {
@ -64,10 +59,6 @@ public class EndBiome extends BCLBiome {
.wetness(0.5f)
.precipitation(Biome.Precipitation.NONE);
if (biomeConfig.spawnVanillaMobs()){
builder.spawn(EntityType.ENDERMAN, 10, 1, 4);
}
biomeConfig.addCustomBuildData(builder);
EndFeatures.addDefaultFeatures(builder, biomeConfig.hasCaves());

View file

@ -19,7 +19,7 @@ public class CrystalMountainsBiome extends EndBiome.Config {
.plantsColor(255, 133, 211)
.surface(EndBlocks.CRYSTAL_MOSS)
.music(EndSounds.MUSIC_OPENSPACE)
.feature(EndFeatures.ROUND_CAVE)
//.feature(EndFeatures.ROUND_CAVE)
.feature(EndFeatures.CRYSTAL_GRASS)
.spawn(EntityType.ENDERMAN, 50, 1, 2);
}