renamed population to decorator
This commit is contained in:
@@ -69,7 +69,7 @@ public class DungeonFinder extends BlockFinder {
|
||||
.map(pos -> this.getFloorCalls(this.getDungeonSize(pos), pos)).collect(Collectors.toList());
|
||||
|
||||
result.forEach(pos -> {
|
||||
if(SeedCracker.get().onPopulationData(new DungeonData(this.chunkPos, biome, starts, floorCallsList))) {
|
||||
if(SeedCracker.get().onDecoratorData(new DungeonData(this.chunkPos, biome, starts, floorCallsList))) {
|
||||
this.renderers.add(new Cube(pos, new Vector4f(1.0f, 0.0f, 0.0f, 1.0f)));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -48,7 +48,7 @@ public class EndGatewayFinder extends BlockFinder {
|
||||
if(height >= 3 && height <= 9) {
|
||||
newResult.add(pos);
|
||||
|
||||
if(SeedCracker.get().onPopulationData(new EndGatewayData(this.chunkPos, biome, pos, height))) {
|
||||
if(SeedCracker.get().onDecoratorData(new EndGatewayData(this.chunkPos, biome, pos, height))) {
|
||||
this.renderers.add(new Cuboid(pos.add(-1, -2, -1), pos.add(2, 3, 2), new Vector4f(0.4f, 0.4f, 0.82f, 1.0f)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ public class EmeraldOreFinder extends BlockFinder {
|
||||
|
||||
List<BlockPos> result = super.findInChunk();
|
||||
|
||||
if(!result.isEmpty() && SeedCracker.get().onPopulationData(new EmeraldOreData(this.chunkPos, biome, result))) {
|
||||
if(!result.isEmpty() && SeedCracker.get().onDecoratorData(new EmeraldOreData(this.chunkPos, biome, result))) {
|
||||
result.forEach(pos -> {
|
||||
this.renderers.add(new Cube(pos, new Vector4f(0.0f, 1.0f, 0.0f, 1.0f)));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user