Class FortressPieces.End
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.FortressPieces.Piece
-
- net.minecraft.world.gen.feature.structure.FortressPieces.End
-
- Enclosing class:
- FortressPieces
public static class FortressPieces.End extends FortressPieces.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 int
selfSeed
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Constructor Description End(int p_i45621_1_, java.util.Random p_i45621_2_, MutableBoundingBox p_i45621_3_, Direction p_i45621_4_)
End(TemplateManager p_i50285_1_, CompoundNBT p_i50285_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
static FortressPieces.End
createPiece(java.util.List<StructurePiece> p_175884_0_, java.util.Random p_175884_1_, int p_175884_2_, int p_175884_3_, int p_175884_4_, Direction p_175884_5_, int p_175884_6_)
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.FortressPieces.Piece
generateChildForward, generateChildLeft, generateChildRight, isOkBox
-
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, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
-
-
-
Constructor Detail
-
End
public End(int p_i45621_1_, java.util.Random p_i45621_2_, MutableBoundingBox p_i45621_3_, Direction p_i45621_4_)
-
End
public End(TemplateManager p_i50285_1_, CompoundNBT p_i50285_2_)
-
-
Method Detail
-
createPiece
public static FortressPieces.End createPiece(java.util.List<StructurePiece> p_175884_0_, java.util.Random p_175884_1_, int p_175884_2_, int p_175884_3_, int p_175884_4_, Direction p_175884_5_, int p_175884_6_)
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Overrides:
addAdditionalSaveData
in classFortressPieces.Piece
-
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
-
-