public class EmptyPoolElement extends StructurePoolElement
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<EmptyPoolElement> |
CODEC |
static EmptyPoolElement |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
EmptyPoolElement() |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(StructureManager structureManager,
StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
BlockPos blockPos,
BlockPos blockPos2,
BlockRotation blockRotation,
BlockBox blockBox,
Random random,
boolean keepJigsaws) |
BlockBox |
getBoundingBox(StructureManager structureManager,
BlockPos pos,
BlockRotation rotation) |
List<Structure.StructureBlockInfo> |
getStructureBlockInfos(StructureManager structureManager,
BlockPos pos,
BlockRotation rotation,
Random random) |
StructurePoolElementType<?> |
getType() |
String |
toString() |
getGroundLevelDelta, getProjection, method_16756, method_28883, method_30421, method_30425, method_30426, method_30429, method_30434, method_30435, method_30438, setProjection
public static final com.mojang.serialization.Codec<EmptyPoolElement> CODEC
public static final EmptyPoolElement INSTANCE
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
getStructureBlockInfos
in class StructurePoolElement
public BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
getBoundingBox
in class StructurePoolElement
public boolean generate(StructureManager structureManager, StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos blockPos, BlockPos blockPos2, BlockRotation blockRotation, BlockBox blockBox, Random random, boolean keepJigsaws)
generate
in class StructurePoolElement
public StructurePoolElementType<?> getType()
getType
in class StructurePoolElement