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
- Mappings:
Namespace Name named net/minecraft/structure/OceanMonumentGenerator$Pieceintermediary net/minecraft/class_3366$class_3384official fey$r
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BlockStateprotected static final intprotected static final intprotected static final intprotected static final intprotected static final BlockStateprotected static final booleanprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final BlockStateprotected static final BlockStateprotected static final BlockStateprotected OceanMonumentGenerator.PieceSettingprotected static final intprotected static final intprotected static final BlockStateprotected static final intprotected static final intprotected static final intFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPiece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) Piece(StructurePieceType type, NbtCompound nbt) Piece(StructurePieceType type, Direction orientation, int length, BlockBox box) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboxIntersects(BlockBox box, int x1, int z1, int x2, int z2) private static BlockBoxcreateBox(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) protected voidfillArea(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) protected voidgenerateVerticalConnection(StructureWorldAccess world, BlockBox box, int x, int z, boolean neighbor) protected static intgetIndex(int x, int y, int z) protected voidsetAirAndWater(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth) protected voidspawnElderGuardian(StructureWorldAccess world, BlockBox box, int x, int y, int z) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canAddBlock, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, generate, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getRotation, getType, intersectsChunk, isUnderSeaLevel, offsetPos, orientateChest, setChainLength, setOrientation, toNbt, translate
-
Field Details
-
PRISMARINE
- Mappings:
Namespace Name Mixin selector named PRISMARINELnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE:Lnet/minecraft/block/BlockState;intermediary field_14473Lnet/minecraft/class_3366$class_3384;field_14473:Lnet/minecraft/class_2680;official bLfey$r;b:Leln;
-
PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector named PRISMARINE_BRICKSLnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;intermediary field_14476Lnet/minecraft/class_3366$class_3384;field_14476:Lnet/minecraft/class_2680;official cLfey$r;c:Leln;
-
DARK_PRISMARINE
- Mappings:
Namespace Name Mixin selector named DARK_PRISMARINELnet/minecraft/structure/OceanMonumentGenerator$Piece;DARK_PRISMARINE:Lnet/minecraft/block/BlockState;intermediary field_14474Lnet/minecraft/class_3366$class_3384;field_14474:Lnet/minecraft/class_2680;official dLfey$r;d:Leln;
-
ALSO_PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector named ALSO_PRISMARINE_BRICKSLnet/minecraft/structure/OceanMonumentGenerator$Piece;ALSO_PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;intermediary field_14470Lnet/minecraft/class_3366$class_3384;field_14470:Lnet/minecraft/class_2680;official hLfey$r;h:Leln;
-
SEA_LANTERN
- Mappings:
Namespace Name Mixin selector named SEA_LANTERNLnet/minecraft/structure/OceanMonumentGenerator$Piece;SEA_LANTERN:Lnet/minecraft/block/BlockState;intermediary field_14471Lnet/minecraft/class_3366$class_3384;field_14471:Lnet/minecraft/class_2680;official iLfey$r;i:Leln;
-
field_31607
protected static final boolean field_31607- See Also:
- Mappings:
Namespace Name Mixin selector named field_31607Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31607:Zintermediary field_31607Lnet/minecraft/class_3366$class_3384;field_31607:Zofficial jLfey$r;j:Z
-
WATER
- Mappings:
Namespace Name Mixin selector named WATERLnet/minecraft/structure/OceanMonumentGenerator$Piece;WATER:Lnet/minecraft/block/BlockState;intermediary field_14475Lnet/minecraft/class_3366$class_3384;field_14475:Lnet/minecraft/class_2680;official kLfey$r;k:Leln;
-
ICE_BLOCKS
- Mappings:
Namespace Name Mixin selector named ICE_BLOCKSLnet/minecraft/structure/OceanMonumentGenerator$Piece;ICE_BLOCKS:Ljava/util/Set;intermediary field_14472Lnet/minecraft/class_3366$class_3384;field_14472:Ljava/util/Set;official lLfey$r;l:Ljava/util/Set;
-
BASE_SIZE_X
protected static final int BASE_SIZE_X- See Also:
- Mappings:
Namespace Name Mixin selector named BASE_SIZE_XLnet/minecraft/structure/OceanMonumentGenerator$Piece;BASE_SIZE_X:Iintermediary field_31608Lnet/minecraft/class_3366$class_3384;field_31608:Iofficial mLfey$r;m:I
-
BASE_SIZE_Z
protected static final int BASE_SIZE_Z- See Also:
- Mappings:
Namespace Name Mixin selector named BASE_SIZE_ZLnet/minecraft/structure/OceanMonumentGenerator$Piece;BASE_SIZE_Z:Iintermediary field_31609Lnet/minecraft/class_3366$class_3384;field_31609:Iofficial nLfey$r;n:I
-
BASE_SIZE_Y
protected static final int BASE_SIZE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named BASE_SIZE_YLnet/minecraft/structure/OceanMonumentGenerator$Piece;BASE_SIZE_Y:Iintermediary field_31610Lnet/minecraft/class_3366$class_3384;field_31610:Iofficial oLfey$r;o:I
-
PIECE_GRID_SIZE_X
protected static final int PIECE_GRID_SIZE_X- See Also:
- Mappings:
Namespace Name Mixin selector named PIECE_GRID_SIZE_XLnet/minecraft/structure/OceanMonumentGenerator$Piece;PIECE_GRID_SIZE_X:Iintermediary field_31611Lnet/minecraft/class_3366$class_3384;field_31611:Iofficial pLfey$r;p:I
-
PIECE_GRID_SIZE_Z
protected static final int PIECE_GRID_SIZE_Z- See Also:
- Mappings:
Namespace Name Mixin selector named PIECE_GRID_SIZE_ZLnet/minecraft/structure/OceanMonumentGenerator$Piece;PIECE_GRID_SIZE_Z:Iintermediary field_31612Lnet/minecraft/class_3366$class_3384;field_31612:Iofficial qLfey$r;q:I
-
PIECE_GRID_SIZE_Y
protected static final int PIECE_GRID_SIZE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named PIECE_GRID_SIZE_YLnet/minecraft/structure/OceanMonumentGenerator$Piece;PIECE_GRID_SIZE_Y:Iintermediary field_31613Lnet/minecraft/class_3366$class_3384;field_31613:Iofficial rLfey$r;r:I
-
LEVEL_TWO_INDEX_BOUND
protected static final int LEVEL_TWO_INDEX_BOUND- See Also:
- Mappings:
Namespace Name Mixin selector named LEVEL_TWO_INDEX_BOUNDLnet/minecraft/structure/OceanMonumentGenerator$Piece;LEVEL_TWO_INDEX_BOUND:Iintermediary field_31614Lnet/minecraft/class_3366$class_3384;field_31614:Iofficial sLfey$r;s:I
-
LEVEL_THREE_INDEX_BOUND
protected static final int LEVEL_THREE_INDEX_BOUND- See Also:
- Mappings:
Namespace Name Mixin selector named LEVEL_THREE_INDEX_BOUNDLnet/minecraft/structure/OceanMonumentGenerator$Piece;LEVEL_THREE_INDEX_BOUND:Iintermediary field_31615Lnet/minecraft/class_3366$class_3384;field_31615:Iofficial tLfey$r;t:I
-
TWO_ZERO_ZERO_INDEX
protected static final int TWO_ZERO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named TWO_ZERO_ZERO_INDEXLnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_ZERO_ZERO_INDEX:Iintermediary field_14469Lnet/minecraft/class_3366$class_3384;field_14469:Iofficial uLfey$r;u:I
-
TWO_TWO_ZERO_INDEX
protected static final int TWO_TWO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named TWO_TWO_ZERO_INDEXLnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_TWO_ZERO_INDEX:Iintermediary field_14468Lnet/minecraft/class_3366$class_3384;field_14468:Iofficial vLfey$r;v:I
-
ZERO_ONE_ZERO_INDEX
protected static final int ZERO_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named ZERO_ONE_ZERO_INDEXLnet/minecraft/structure/OceanMonumentGenerator$Piece;ZERO_ONE_ZERO_INDEX:Iintermediary field_14478Lnet/minecraft/class_3366$class_3384;field_14478:Iofficial wLfey$r;w:I
-
FOUR_ONE_ZERO_INDEX
protected static final int FOUR_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named FOUR_ONE_ZERO_INDEXLnet/minecraft/structure/OceanMonumentGenerator$Piece;FOUR_ONE_ZERO_INDEX:Iintermediary field_14477Lnet/minecraft/class_3366$class_3384;field_14477:Iofficial xLfey$r;x:I
-
WING_ROOM_A
protected static final int WING_ROOM_A- See Also:
- Mappings:
Namespace Name Mixin selector named WING_ROOM_ALnet/minecraft/structure/OceanMonumentGenerator$Piece;WING_ROOM_A:Iintermediary field_31616Lnet/minecraft/class_3366$class_3384;field_31616:Iofficial yLfey$r;y:I
-
WING_ROOM_B
protected static final int WING_ROOM_B- See Also:
- Mappings:
Namespace Name Mixin selector named WING_ROOM_BLnet/minecraft/structure/OceanMonumentGenerator$Piece;WING_ROOM_B:Iintermediary field_31617Lnet/minecraft/class_3366$class_3384;field_31617:Iofficial zLfey$r;z:I
-
CORE_ROOM
protected static final int CORE_ROOM- See Also:
- Mappings:
Namespace Name Mixin selector named CORE_ROOMLnet/minecraft/structure/OceanMonumentGenerator$Piece;CORE_ROOM:Iintermediary field_31618Lnet/minecraft/class_3366$class_3384;field_31618:Iofficial ALfey$r;A:I
-
setting
- Mappings:
Namespace Name Mixin selector named settingLnet/minecraft/structure/OceanMonumentGenerator$Piece;setting:Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;intermediary field_14479Lnet/minecraft/class_3366$class_3384;field_14479:Lnet/minecraft/class_3366$class_3388;official BLfey$r;B:Lfey$v;
-
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/OceanMonumentGenerator$Piece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/util/math/Direction;ILnet/minecraft/util/math/BlockBox;)Vintermediary <init>Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2350;ILnet/minecraft/class_3341;)Vofficial <init>Lfey$r;<init>(Lfdf;Ljf;ILfcg;)V
-
Piece
protected Piece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/OceanMonumentGenerator$Piece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/Direction;Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;III)Vintermediary <init>Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_2350;Lnet/minecraft/class_3366$class_3388;III)Vofficial <init>Lfey$r;<init>(Lfdf;ILjf;Lfey$v;III)V
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vofficial <init>Lfcs;<init>(Lfdf;Lve;)V
-
-
Method Details
-
getIndex
protected static int getIndex(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/structure/OceanMonumentGenerator$Piece;getIndex(III)Iintermediary method_14770Lnet/minecraft/class_3366$class_3384;method_14770(III)Iofficial cLfey$r;c(III)I
-
createBox
private static BlockBox createBox(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) - Mappings:
Namespace Name Mixin selector named createBoxLnet/minecraft/structure/OceanMonumentGenerator$Piece;createBox(Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;III)Lnet/minecraft/util/math/BlockBox;intermediary method_35445Lnet/minecraft/class_3366$class_3384;method_35445(Lnet/minecraft/class_2350;Lnet/minecraft/class_3366$class_3388;III)Lnet/minecraft/class_3341;official aLfey$r;a(Ljf;Lfey$v;III)Lfcg;
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial aLfcs;a(Lfde;Lve;)V
-
setAirAndWater
protected void setAirAndWater(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth) - Mappings:
Namespace Name Mixin selector named setAirAndWaterLnet/minecraft/structure/OceanMonumentGenerator$Piece;setAirAndWater(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)Vintermediary method_14773Lnet/minecraft/class_3366$class_3384;method_14773(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)Vofficial bLfey$r;b(Lduq;Lfcg;IIIIII)V
-
generateVerticalConnection
protected void generateVerticalConnection(StructureWorldAccess world, BlockBox box, int x, int z, boolean neighbor) - Mappings:
Namespace Name Mixin selector named generateVerticalConnectionLnet/minecraft/structure/OceanMonumentGenerator$Piece;generateVerticalConnection(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIZ)Vintermediary method_14774Lnet/minecraft/class_3366$class_3384;method_14774(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIZ)Vofficial aLfey$r;a(Lduq;Lfcg;IIZ)V
-
fillArea
protected void fillArea(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) - Mappings:
Namespace Name Mixin selector named fillAreaLnet/minecraft/structure/OceanMonumentGenerator$Piece;fillArea(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;)Vintermediary method_14771Lnet/minecraft/class_3366$class_3384;method_14771(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;)Vofficial aLfey$r;a(Lduq;Lfcg;IIIIIILeln;)V
-
boxIntersects
- Mappings:
Namespace Name Mixin selector named boxIntersectsLnet/minecraft/structure/OceanMonumentGenerator$Piece;boxIntersects(Lnet/minecraft/util/math/BlockBox;IIII)Zintermediary method_14775Lnet/minecraft/class_3366$class_3384;method_14775(Lnet/minecraft/class_3341;IIII)Zofficial aLfey$r;a(Lfcg;IIII)Z
-
spawnElderGuardian
- Mappings:
Namespace Name Mixin selector named spawnElderGuardianLnet/minecraft/structure/OceanMonumentGenerator$Piece;spawnElderGuardian(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)Vintermediary method_14772Lnet/minecraft/class_3366$class_3384;method_14772(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)Vofficial aLfey$r;a(Lduq;Lfcg;III)V
-