Class BuriedTreasurePieces.BuriedTreasurePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.BuriedTreasurePieces.BuriedTreasurePiece
- Enclosing class:
- BuriedTreasurePieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionBuriedTreasurePiece
(BlockPos p_71068_) BuriedTreasurePiece
(CompoundTag p_191964_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_191974_, CompoundTag p_191975_) private boolean
isLiquid
(BlockState p_71078_) void
postProcess
(WorldGenLevel p_191966_, StructureFeatureManager p_191967_, ChunkGenerator p_191968_, Random p_191969_, BoundingBox p_191970_, ChunkPos p_191971_, BlockPos p_191972_) Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Constructor Details
-
BuriedTreasurePiece
-
BuriedTreasurePiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_191974_, CompoundTag p_191975_) - Specified by:
addAdditionalSaveData
in classStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_191966_, StructureFeatureManager p_191967_, ChunkGenerator p_191968_, Random p_191969_, BoundingBox p_191970_, ChunkPos p_191971_, BlockPos p_191972_) - Specified by:
postProcess
in classStructurePiece
-
isLiquid
-