Class StrongholdPieces.Straight
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.StrongholdPieces.Stronghold
-
- net.minecraft.world.gen.feature.structure.StrongholdPieces.Straight
-
- Enclosing class:
- StrongholdPieces
public static class StrongholdPieces.Straight extends StrongholdPieces.Stronghold
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StrongholdPieces.Stronghold
StrongholdPieces.Stronghold.Door
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
leftChild
private boolean
rightChild
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StrongholdPieces.Stronghold
entryDoor
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Constructor Description Straight(int p_i45573_1_, java.util.Random p_i45573_2_, MutableBoundingBox p_i45573_3_, Direction p_i45573_4_)
Straight(TemplateManager p_i50115_1_, CompoundNBT p_i50115_2_)
-
Method Summary
All Methods Static 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_)
static StrongholdPieces.Straight
createPiece(java.util.List<StructurePiece> p_175862_0_, java.util.Random p_175862_1_, int p_175862_2_, int p_175862_3_, int p_175862_4_, Direction p_175862_5_, int p_175862_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.StrongholdPieces.Stronghold
generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, isOkBox, randomSmallDoor
-
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, move, placeBlock, reorient, setOrientation
-
-
-
-
Constructor Detail
-
Straight
public Straight(int p_i45573_1_, java.util.Random p_i45573_2_, MutableBoundingBox p_i45573_3_, Direction p_i45573_4_)
-
Straight
public Straight(TemplateManager p_i50115_1_, CompoundNBT p_i50115_2_)
-
-
Method Detail
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Overrides:
addAdditionalSaveData
in classStrongholdPieces.Stronghold
-
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
-
createPiece
public static StrongholdPieces.Straight createPiece(java.util.List<StructurePiece> p_175862_0_, java.util.Random p_175862_1_, int p_175862_2_, int p_175862_3_, int p_175862_4_, Direction p_175862_5_, int p_175862_6_)
-
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
-
-