public class FeaturePoolElement extends StructurePoolElement
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<FeaturePoolElement> |
CODEC |
private Supplier<ConfiguredFeature<?,?>> |
feature |
private CompoundTag |
tag |
| Modifier | Constructor and Description |
|---|---|
protected |
FeaturePoolElement(Supplier<ConfiguredFeature<?,?>> feature,
StructurePool.Projection projection) |
| Modifier and Type | Method and Description |
|---|---|
private CompoundTag |
createDefaultJigsawTag() |
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) |
BlockPos |
getStart(StructureManager structureManager,
BlockRotation blockRotation) |
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, setProjectionpublic static final com.mojang.serialization.Codec<FeaturePoolElement> CODEC
private final Supplier<ConfiguredFeature<?,?>> feature
private final CompoundTag tag
protected FeaturePoolElement(Supplier<ConfiguredFeature<?,?>> feature, StructurePool.Projection projection)
private CompoundTag createDefaultJigsawTag()
public BlockPos getStart(StructureManager structureManager, BlockRotation blockRotation)
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
getStructureBlockInfos in class StructurePoolElementpublic BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
getBoundingBox in class StructurePoolElementpublic 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 StructurePoolElementpublic StructurePoolElementType<?> getType()
getType in class StructurePoolElement