src/main/java/net/azagwen/atbyw/world/feature/BigIglooFeature.java
public void init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig config, HeightLimitView world) {
            int x = chunkPos.x * 16;
            int z = chunkPos.z * 16;
            int y = chunkGenerator.getHeight(x, z, Heightmap.Type.WORLD_SURFACE_WG, world);
            BlockPos blockPos = new BlockPos(x, (Math.min(y, 70)), z);
            BlockRotation rotation = BlockRotation.random(this.random);
            BigIglooGenerator.addPieces(manager, blockPos, rotation, this.children);
            this.setBoundingBoxFromChildren();
        }
// Called when the world attempts to spawn in a new structure, and is the gap between your feature and generator.
Called when the world attempts to spawn in a new structure, and is the gap between your feature and generator.
Called when the world attempts to spawn in a new structure and is the gap between your feature and generator .
public void init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig config, HeightLimitView world) {
            int x = chunkPos.x * 16;
            int z = chunkPos.z * 16;
            int y = chunkGenerator.getHeight(x, z, Heightmap.Type.WORLD_SURFACE_WG, world);
            BlockPos blockPos = new BlockPos(x, (Math.min(y, 70)), z);
            BlockRotation rotation = BlockRotation.random(this.random);
            BigIglooGenerator.addPieces(manager, blockPos, rotation, this.children);
            this.setBoundingBoxFromChildren();
        }
public void init ( DynamicRegistryManager registryManager , ChunkGenerator chunkGenerator , StructureManager manager , ChunkPos chunkPos , Biome biome , DefaultFeatureConfig config , HeightLimitView world ) { int x = chunkPos . x * 16 ; int z = chunkPos . z * 16 ; int y = chunkGenerator . getHeight ( x , z , Heightmap . Type . WORLD_SURFACE_WG , world ) ; BlockPos blockPos = new BlockPos ( x , ( Math . min ( y , 70 ) ) , z ) ; BlockRotation rotation = BlockRotation . random ( this . random ) ; BigIglooGenerator . addPieces ( manager , blockPos , rotation , this . children ) ; this . setBoundingBoxFromChildren ( ) ; }
Called when the world attempts to spawn in a new structure, and is the gap between your feature and generator.
Called when the world attempts to spawn in a new structure and is the gap between your feature and generator .