Cleanup and Speed Improvement of SurfaceRules/Structures (paulevsGitch/BetterNether#485, paulevsGitch/BetterEnd#420)
This commit is contained in:
parent
01f728c282
commit
baf1e0f4b1
10 changed files with 144 additions and 189 deletions
|
@ -288,7 +288,7 @@ public class BCLBiome extends BCLBiomeSettings {
|
|||
this.surfaceInit = (actualBiome) -> {
|
||||
ResourceKey key = BiomeAPI.getBiomeKey(actualBiome);
|
||||
if (key == null) {
|
||||
BCLib.LOGGER.warning("BCL Biome " + biomeID + " don't have registry key!");
|
||||
BCLib.LOGGER.warning("BCL Biome " + biomeID + " does not have registry key!");
|
||||
}
|
||||
else {
|
||||
BiomeAPI.addSurfaceRule(biomeID, SurfaceRules.ifTrue(SurfaceRules.isBiome(key), surface));
|
||||
|
@ -304,7 +304,6 @@ public class BCLBiome extends BCLBiomeSettings {
|
|||
*/
|
||||
public void setFeatures(Map<Decoration, List<Supplier<PlacedFeature>>> features) {
|
||||
this.features = features;
|
||||
BiomeAPI.addStepFeaturesToBiome(getBiome(), features);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue