Class WoodlandMansionPieces.WoodlandMansionPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces.WoodlandMansionPiece
- Enclosing class:
WoodlandMansionPieces
-
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.TemplateStructurePiece
placeSettings, template, templateName, templatePosition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionWoodlandMansionPiece
(StructureTemplateManager p_230191_, String p_230192_, BlockPos p_230193_, Rotation p_230194_) WoodlandMansionPiece
(StructureTemplateManager p_230196_, String p_230197_, BlockPos p_230198_, Rotation p_230199_, Mirror p_230200_) WoodlandMansionPiece
(StructureTemplateManager p_230202_, CompoundTag p_230203_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_230208_, CompoundTag p_230209_) protected void
handleDataMarker
(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) private static ResourceLocation
makeLocation
(String p_230211_) private static StructurePlaceSettings
makeSettings
(Mirror p_230205_, Rotation p_230206_) protected ResourceLocation
Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, move, placeSettings, postProcess, template, templatePosition
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, getOrientation, getRandomHorizontalDirection, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setGenDepth, setOrientation
-
Constructor Details
-
WoodlandMansionPiece
public WoodlandMansionPiece(StructureTemplateManager p_230191_, String p_230192_, BlockPos p_230193_, Rotation p_230194_) -
WoodlandMansionPiece
public WoodlandMansionPiece(StructureTemplateManager p_230196_, String p_230197_, BlockPos p_230198_, Rotation p_230199_, Mirror p_230200_) -
WoodlandMansionPiece
-
-
Method Details
-
makeTemplateLocation
- Overrides:
makeTemplateLocation
in classTemplateStructurePiece
-
makeLocation
-
makeSettings
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_230208_, CompoundTag p_230209_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_230213_, BlockPos p_230214_, ServerLevelAccessor p_230215_, RandomSource p_230216_, BoundingBox p_230217_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-