Minor cleanup
This commit is contained in:
parent
396eb27175
commit
b5b8963da4
2 changed files with 1 additions and 10 deletions
|
@ -5,7 +5,6 @@ import java.util.function.BiFunction;
|
||||||
import net.minecraft.data.worldgen.StructureFeatures;
|
import net.minecraft.data.worldgen.StructureFeatures;
|
||||||
import net.minecraft.resources.ResourceLocation;
|
import net.minecraft.resources.ResourceLocation;
|
||||||
import net.minecraft.sounds.SoundEvents;
|
import net.minecraft.sounds.SoundEvents;
|
||||||
import net.minecraft.world.entity.EntityType;
|
|
||||||
import net.minecraft.world.level.biome.Biome;
|
import net.minecraft.world.level.biome.Biome;
|
||||||
import net.minecraft.world.level.block.Blocks;
|
import net.minecraft.world.level.block.Blocks;
|
||||||
import net.minecraft.world.level.levelgen.SurfaceRules;
|
import net.minecraft.world.level.levelgen.SurfaceRules;
|
||||||
|
@ -40,10 +39,6 @@ public class EndBiome extends BCLBiome {
|
||||||
protected boolean hasCaves(){
|
protected boolean hasCaves(){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean spawnVanillaMobs(){
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public EndBiome(ResourceLocation biomeID, Biome biome) {
|
public EndBiome(ResourceLocation biomeID, Biome biome) {
|
||||||
|
@ -64,10 +59,6 @@ public class EndBiome extends BCLBiome {
|
||||||
.wetness(0.5f)
|
.wetness(0.5f)
|
||||||
.precipitation(Biome.Precipitation.NONE);
|
.precipitation(Biome.Precipitation.NONE);
|
||||||
|
|
||||||
if (biomeConfig.spawnVanillaMobs()){
|
|
||||||
builder.spawn(EntityType.ENDERMAN, 10, 1, 4);
|
|
||||||
}
|
|
||||||
|
|
||||||
biomeConfig.addCustomBuildData(builder);
|
biomeConfig.addCustomBuildData(builder);
|
||||||
EndFeatures.addDefaultFeatures(builder, biomeConfig.hasCaves());
|
EndFeatures.addDefaultFeatures(builder, biomeConfig.hasCaves());
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class CrystalMountainsBiome extends EndBiome.Config {
|
||||||
.plantsColor(255, 133, 211)
|
.plantsColor(255, 133, 211)
|
||||||
.surface(EndBlocks.CRYSTAL_MOSS)
|
.surface(EndBlocks.CRYSTAL_MOSS)
|
||||||
.music(EndSounds.MUSIC_OPENSPACE)
|
.music(EndSounds.MUSIC_OPENSPACE)
|
||||||
.feature(EndFeatures.ROUND_CAVE)
|
//.feature(EndFeatures.ROUND_CAVE)
|
||||||
.feature(EndFeatures.CRYSTAL_GRASS)
|
.feature(EndFeatures.CRYSTAL_GRASS)
|
||||||
.spawn(EntityType.ENDERMAN, 50, 1, 2);
|
.spawn(EntityType.ENDERMAN, 50, 1, 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue