public class FeaturePoolElement extends StructurePoolElement
| Modifier and Type | Field and Description |
|---|---|
private ConfiguredFeature<?,?> |
feature |
private CompoundTag |
tag |
| Modifier | Constructor and Description |
|---|---|
|
FeaturePoolElement(ConfiguredFeature<?,?> feature)
Deprecated.
|
private |
FeaturePoolElement(ConfiguredFeature<?,?> configuredFeature,
StructurePool.Projection projection) |
|
FeaturePoolElement(com.mojang.datafixers.Dynamic<T> dynamic) |
| Modifier and Type | Method and Description |
|---|---|
private CompoundTag |
createDefaultJigsawTag() |
boolean |
generate(StructureManager structureManager,
IWorld world,
StructureAccessor structureAccessor,
ChunkGenerator<?> chunkGenerator,
BlockPos blockPos,
BlockPos blockPos2,
BlockRotation blockRotation,
BlockBox blockBox,
Random random,
boolean bool) |
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() |
<T> com.mojang.datafixers.Dynamic<T> |
rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps) |
String |
toString() |
getGroundLevelDelta, getProjection, method_16756, setProjection, toDynamicprivate final ConfiguredFeature<?,?> feature
private final CompoundTag tag
@Deprecated public FeaturePoolElement(ConfiguredFeature<?,?> feature)
private FeaturePoolElement(ConfiguredFeature<?,?> configuredFeature, StructurePool.Projection projection)
public FeaturePoolElement(com.mojang.datafixers.Dynamic<T> dynamic)
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, IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, BlockPos blockPos, BlockPos blockPos2, BlockRotation blockRotation, BlockBox blockBox, Random random, boolean bool)
generate in class StructurePoolElementpublic <T> com.mojang.datafixers.Dynamic<T> rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps)
rawToDynamic in class StructurePoolElementpublic StructurePoolElementType getType()
getType in class StructurePoolElement