Class AbstractVillagePiece
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.AbstractVillagePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprotected final JigsawPiece
private final int
private final List<JigsawJunction>
private static final org.apache.logging.log4j.Logger
protected BlockPos
protected final Rotation
private final TemplateManager
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionAbstractVillagePiece
(TemplateManager p_i242037_1_, CompoundNBT p_i242037_2_) AbstractVillagePiece
(TemplateManager p_i242036_1_, JigsawPiece p_i242036_2_, BlockPos p_i242036_3_, int p_i242036_4_, Rotation p_i242036_5_, MutableBoundingBox p_i242036_6_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) void
addJunction
(JigsawJunction p_214831_1_) int
void
move
(int p_181138_1_, int p_181138_2_, int p_181138_3_) boolean
place
(ISeedReader p_237001_1_, StructureManager p_237001_2_, ChunkGenerator p_237001_3_, Random p_237001_4_, MutableBoundingBox p_237001_5_, BlockPos p_237001_6_, boolean p_237001_7_) boolean
postProcess
(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) toString()
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, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
element
-
position
-
groundLevelDelta
private final int groundLevelDelta -
rotation
-
junctions
-
structureManager
-
-
Constructor Details
-
AbstractVillagePiece
public AbstractVillagePiece(TemplateManager p_i242036_1_, JigsawPiece p_i242036_2_, BlockPos p_i242036_3_, int p_i242036_4_, Rotation p_i242036_5_, MutableBoundingBox p_i242036_6_) -
AbstractVillagePiece
-
-
Method Details
-
addAdditionalSaveData
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) - Specified by:
postProcess
in classStructurePiece
-
place
public boolean place(ISeedReader p_237001_1_, StructureManager p_237001_2_, ChunkGenerator p_237001_3_, Random p_237001_4_, MutableBoundingBox p_237001_5_, BlockPos p_237001_6_, boolean p_237001_7_) -
move
public void move(int p_181138_1_, int p_181138_2_, int p_181138_3_) - Overrides:
move
in classStructurePiece
-
getRotation
- Overrides:
getRotation
in classStructurePiece
-
toString
-
getElement
-
getPosition
-
getGroundLevelDelta
public int getGroundLevelDelta() -
addJunction
-
getJunctions
-