Package net.minecraft.structure
Class OceanMonumentGenerator.Piece
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.OceanMonumentGenerator.Piece
- Direct Known Subclasses:
OceanMonumentGenerator.Base
,OceanMonumentGenerator.CoreRoom
,OceanMonumentGenerator.DoubleXRoom
,OceanMonumentGenerator.DoubleXYRoom
,OceanMonumentGenerator.DoubleYRoom
,OceanMonumentGenerator.DoubleYZRoom
,OceanMonumentGenerator.DoubleZRoom
,OceanMonumentGenerator.Entry
,OceanMonumentGenerator.Penthouse
,OceanMonumentGenerator.SimpleRoom
,OceanMonumentGenerator.SimpleRoomTop
,OceanMonumentGenerator.WingRoom
- Enclosing class:
- OceanMonumentGenerator
public abstract static class OceanMonumentGenerator.Piece extends StructurePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields Modifier and Type Field Description protected static BlockState
DARK_PRISMARINE
protected static BlockState
field_14470
protected static int
FOUR_ONE_ZERO_INDEX
protected static Set<Block>
ICE_BLOCKS
protected static BlockState
PRISMARINE
protected static BlockState
PRISMARINE_BRICKS
protected static BlockState
SEA_LANTERN
protected OceanMonumentGenerator.PieceSetting
setting
protected static int
TWO_TWO_ZERO_INDEX
protected static int
TWO_ZERO_ZERO_INDEX
protected static BlockState
WATER
protected static int
ZERO_ONE_ZERO_INDEX
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Modifier Constructor Description Piece(StructurePieceType type, int length)
protected
Piece(StructurePieceType structurePieceType, int int2, Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int3, int int4, int int5)
Piece(StructurePieceType type, CompoundTag tag)
Piece(StructurePieceType structurePieceType, Direction direction, BlockBox blockBox)
-
Method Summary
Modifier and Type Method Description protected static int
getIndex(int x, int y, int z)
protected void
method_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState)
protected boolean
method_14772(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4)
protected void
method_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool)
protected boolean
method_14775(BlockBox blockBox, int int2, int int3, int int4, int int5)
protected void
setAirAndWater(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int x, int y, int z, int width, int height, int depth)
protected void
toNbt(CompoundTag tag)
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Field Details
-
PRISMARINE
-
PRISMARINE_BRICKS
-
DARK_PRISMARINE
-
field_14470
-
SEA_LANTERN
-
WATER
-
ICE_BLOCKS
-
TWO_ZERO_ZERO_INDEX
protected static final int TWO_ZERO_ZERO_INDEX -
TWO_TWO_ZERO_INDEX
protected static final int TWO_TWO_ZERO_INDEX -
ZERO_ONE_ZERO_INDEX
protected static final int ZERO_ONE_ZERO_INDEX -
FOUR_ONE_ZERO_INDEX
protected static final int FOUR_ONE_ZERO_INDEX -
setting
-
-
Constructor Details
-
Piece
-
Piece
-
Piece
protected Piece(StructurePieceType structurePieceType, int int2, Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int3, int int4, int int5) -
Piece
-
-
Method Details
-
getIndex
protected static final int getIndex(int x, int y, int z) -
toNbt
- Specified by:
toNbt
in classStructurePiece
-
setAirAndWater
protected void setAirAndWater(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int x, int y, int z, int width, int height, int depth) -
method_14774
protected void method_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool) -
method_14771
protected void method_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState) -
method_14775
-
method_14772
protected boolean method_14772(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4)
-