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.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
(StructureManager p_73905_, String p_73906_, BlockPos p_73907_, Rotation p_73908_) WoodlandMansionPiece
(StructureManager p_73910_, String p_73911_, BlockPos p_73912_, Rotation p_73913_, Mirror p_73914_) WoodlandMansionPiece
(StructureManager p_192693_, CompoundTag p_192694_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192696_, CompoundTag p_192697_) protected void
handleDataMarker
(String p_73921_, BlockPos p_73922_, ServerLevelAccessor p_73923_, Random p_73924_, BoundingBox p_73925_) private static ResourceLocation
makeLocation
(String p_163706_) private static StructurePlaceSettings
makeSettings
(Mirror p_163703_, Rotation p_163704_) protected ResourceLocation
Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, move, postProcess
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, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Constructor Details
-
WoodlandMansionPiece
public WoodlandMansionPiece(StructureManager p_73905_, String p_73906_, BlockPos p_73907_, Rotation p_73908_) -
WoodlandMansionPiece
public WoodlandMansionPiece(StructureManager p_73910_, String p_73911_, BlockPos p_73912_, Rotation p_73913_, Mirror p_73914_) -
WoodlandMansionPiece
-
-
Method Details
-
makeTemplateLocation
- Overrides:
makeTemplateLocation
in classTemplateStructurePiece
-
makeLocation
-
makeSettings
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192696_, CompoundTag p_192697_) - Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_73921_, BlockPos p_73922_, ServerLevelAccessor p_73923_, Random p_73924_, BoundingBox p_73925_) - Specified by:
handleDataMarker
in classTemplateStructurePiece
-