Class BuriedTreasure.Piece
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.BuriedTreasure.Piece
-
- Enclosing class:
- BuriedTreasure
public static class BuriedTreasure.Piece extends StructurePiece
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Constructor Description Piece(BlockPos p_i48882_1_)
Piece(TemplateManager p_i50677_1_, CompoundNBT p_i50677_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
private boolean
isLiquid(BlockState p_204295_1_)
boolean
postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_)
-
Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
addChildren, createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
-
-
-
Constructor Detail
-
Piece
public Piece(BlockPos p_i48882_1_)
-
Piece
public Piece(TemplateManager p_i50677_1_, CompoundNBT p_i50677_2_)
-
-
Method Detail
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_)
- Specified by:
postProcess
in classStructurePiece
-
isLiquid
private boolean isLiquid(BlockState p_204295_1_)
-
-