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(ServerLevel p_162404_, CompoundTag p_162405_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162407_, CompoundTag p_162408_)
private boolean
isLiquid(BlockState p_71078_)
boolean
postProcess(WorldGenLevel p_71070_, StructureFeatureManager p_71071_, ChunkGenerator p_71072_, Random p_71073_, BoundingBox p_71074_, ChunkPos p_71075_, BlockPos p_71076_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, 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
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_71070_, StructureFeatureManager p_71071_, ChunkGenerator p_71072_, Random p_71073_, BoundingBox p_71074_, ChunkPos p_71075_, BlockPos p_71076_)- Specified by:
postProcess
in classStructurePiece
-
isLiquid
-