Class WoodlandMansionPieces.MansionTemplate
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.TemplateStructurePiece
-
- net.minecraft.world.gen.feature.structure.WoodlandMansionPieces.MansionTemplate
-
- Enclosing class:
- WoodlandMansionPieces
public static class WoodlandMansionPieces.MansionTemplate extends TemplateStructurePiece
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
Fields Modifier and Type Field Description private Mirror
mirror
private Rotation
rotation
private java.lang.String
templateName
-
Fields inherited from class net.minecraft.world.gen.feature.structure.TemplateStructurePiece
placeSettings, template, templatePosition
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Constructor Description MansionTemplate(TemplateManager p_i47355_1_, java.lang.String p_i47355_2_, BlockPos p_i47355_3_, Rotation p_i47355_4_)
MansionTemplate(TemplateManager p_i47356_1_, java.lang.String p_i47356_2_, BlockPos p_i47356_3_, Rotation p_i47356_4_, Mirror p_i47356_5_)
MansionTemplate(TemplateManager p_i50615_1_, CompoundNBT p_i50615_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
protected void
handleDataMarker(java.lang.String p_186175_1_, BlockPos p_186175_2_, IServerWorld p_186175_3_, java.util.Random p_186175_4_, MutableBoundingBox p_186175_5_)
private void
loadTemplate(TemplateManager p_191081_1_)
-
Methods inherited from class net.minecraft.world.gen.feature.structure.TemplateStructurePiece
getRotation, move, postProcess, setup
-
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
-
-
-
-
Constructor Detail
-
MansionTemplate
public MansionTemplate(TemplateManager p_i47355_1_, java.lang.String p_i47355_2_, BlockPos p_i47355_3_, Rotation p_i47355_4_)
-
MansionTemplate
public MansionTemplate(TemplateManager p_i47356_1_, java.lang.String p_i47356_2_, BlockPos p_i47356_3_, Rotation p_i47356_4_, Mirror p_i47356_5_)
-
MansionTemplate
public MansionTemplate(TemplateManager p_i50615_1_, CompoundNBT p_i50615_2_)
-
-
Method Detail
-
loadTemplate
private void loadTemplate(TemplateManager p_191081_1_)
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(java.lang.String p_186175_1_, BlockPos p_186175_2_, IServerWorld p_186175_3_, java.util.Random p_186175_4_, MutableBoundingBox p_186175_5_)
- Specified by:
handleDataMarker
in classTemplateStructurePiece
-
-