Class MineshaftPieces.Room
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.MineshaftPieces.Piece
-
- net.minecraft.world.gen.feature.structure.MineshaftPieces.Room
-
- Enclosing class:
- MineshaftPieces
public static class MineshaftPieces.Room extends MineshaftPieces.Piece
-
-
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 java.util.List<MutableBoundingBox>
childEntranceBoxes
-
Fields inherited from class net.minecraft.world.gen.feature.structure.MineshaftPieces.Piece
type
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Constructor Description Room(int p_i47137_1_, java.util.Random p_i47137_2_, int p_i47137_3_, int p_i47137_4_, MineshaftStructure.Type p_i47137_5_)
Room(TemplateManager p_i50451_1_, CompoundNBT p_i50451_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
void
addChildren(StructurePiece p_74861_1_, java.util.List<StructurePiece> p_74861_2_, java.util.Random p_74861_3_)
void
move(int p_181138_1_, int p_181138_2_, int p_181138_3_)
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.MineshaftPieces.Piece
getFenceBlock, getPlanksBlock, isSupportingBox
-
Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
-
-
-
Field Detail
-
childEntranceBoxes
private final java.util.List<MutableBoundingBox> childEntranceBoxes
-
-
Constructor Detail
-
Room
public Room(int p_i47137_1_, java.util.Random p_i47137_2_, int p_i47137_3_, int p_i47137_4_, MineshaftStructure.Type p_i47137_5_)
-
Room
public Room(TemplateManager p_i50451_1_, CompoundNBT p_i50451_2_)
-
-
Method Detail
-
addChildren
public void addChildren(StructurePiece p_74861_1_, java.util.List<StructurePiece> p_74861_2_, java.util.Random p_74861_3_)
- Overrides:
addChildren
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
-
move
public void move(int p_181138_1_, int p_181138_2_, int p_181138_3_)
- Overrides:
move
in classStructurePiece
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Overrides:
addAdditionalSaveData
in classMineshaftPieces.Piece
-
-