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$Piece
intermediary net/minecraft/class_3366$class_3384
official eku$r
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final BlockState
protected static final BlockState
protected static final boolean
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final BlockState
protected static final BlockState
protected static final BlockState
protected OceanMonumentGenerator.PieceSetting
protected static final int
protected static final int
protected static final BlockState
protected static final int
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
ModifierConstructorDescriptionprotected
Piece
(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4) Piece
(StructurePieceType type, NbtCompound nbt) Piece
(StructurePieceType type, Direction orientation, int length, BlockBox box) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boxIntersects
(BlockBox box, int x1, int z1, int x2, int z2) private static BlockBox
createBox
(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4) protected void
fillArea
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) protected static int
getIndex
(int x, int y, int z) protected void
method_14774
(StructureWorldAccess world, BlockBox box, int x, int z, boolean bool) protected void
setAirAndWater
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth) protected void
spawnElderGuardian
(StructureWorldAccess world, BlockBox box, int x, int y, int z) protected void
writeNbt
(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 PRISMARINE
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE:Lnet/minecraft/block/BlockState;
intermediary field_14473
Lnet/minecraft/class_3366$class_3384;field_14473:Lnet/minecraft/class_2680;
official b
Leku$r;b:Ldsd;
-
PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector named PRISMARINE_BRICKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
intermediary field_14476
Lnet/minecraft/class_3366$class_3384;field_14476:Lnet/minecraft/class_2680;
official c
Leku$r;c:Ldsd;
-
DARK_PRISMARINE
- Mappings:
Namespace Name Mixin selector named DARK_PRISMARINE
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;DARK_PRISMARINE:Lnet/minecraft/block/BlockState;
intermediary field_14474
Lnet/minecraft/class_3366$class_3384;field_14474:Lnet/minecraft/class_2680;
official d
Leku$r;d:Ldsd;
-
ALSO_PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector named ALSO_PRISMARINE_BRICKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ALSO_PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
intermediary field_14470
Lnet/minecraft/class_3366$class_3384;field_14470:Lnet/minecraft/class_2680;
official h
Leku$r;h:Ldsd;
-
SEA_LANTERN
- Mappings:
Namespace Name Mixin selector named SEA_LANTERN
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;SEA_LANTERN:Lnet/minecraft/block/BlockState;
intermediary field_14471
Lnet/minecraft/class_3366$class_3384;field_14471:Lnet/minecraft/class_2680;
official i
Leku$r;i:Ldsd;
-
field_31607
protected static final boolean field_31607- See Also:
- Mappings:
Namespace Name Mixin selector named field_31607
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31607:Z
intermediary field_31607
Lnet/minecraft/class_3366$class_3384;field_31607:Z
official j
Leku$r;j:Z
-
WATER
- Mappings:
Namespace Name Mixin selector named WATER
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;WATER:Lnet/minecraft/block/BlockState;
intermediary field_14475
Lnet/minecraft/class_3366$class_3384;field_14475:Lnet/minecraft/class_2680;
official k
Leku$r;k:Ldsd;
-
ICE_BLOCKS
- Mappings:
Namespace Name Mixin selector named ICE_BLOCKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ICE_BLOCKS:Ljava/util/Set;
intermediary field_14472
Lnet/minecraft/class_3366$class_3384;field_14472:Ljava/util/Set;
official l
Leku$r;l:Ljava/util/Set;
-
field_31608
protected static final int field_31608- See Also:
- Mappings:
Namespace Name Mixin selector named field_31608
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31608:I
intermediary field_31608
Lnet/minecraft/class_3366$class_3384;field_31608:I
official m
Leku$r;m:I
-
field_31609
protected static final int field_31609- See Also:
- Mappings:
Namespace Name Mixin selector named field_31609
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31609:I
intermediary field_31609
Lnet/minecraft/class_3366$class_3384;field_31609:I
official n
Leku$r;n:I
-
field_31610
protected static final int field_31610- See Also:
- Mappings:
Namespace Name Mixin selector named field_31610
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31610:I
intermediary field_31610
Lnet/minecraft/class_3366$class_3384;field_31610:I
official o
Leku$r;o:I
-
field_31611
protected static final int field_31611- See Also:
- Mappings:
Namespace Name Mixin selector named field_31611
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31611:I
intermediary field_31611
Lnet/minecraft/class_3366$class_3384;field_31611:I
official p
Leku$r;p:I
-
field_31612
protected static final int field_31612- See Also:
- Mappings:
Namespace Name Mixin selector named field_31612
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31612:I
intermediary field_31612
Lnet/minecraft/class_3366$class_3384;field_31612:I
official q
Leku$r;q:I
-
field_31613
protected static final int field_31613- See Also:
- Mappings:
Namespace Name Mixin selector named field_31613
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31613:I
intermediary field_31613
Lnet/minecraft/class_3366$class_3384;field_31613:I
official r
Leku$r;r:I
-
field_31614
protected static final int field_31614- See Also:
- Mappings:
Namespace Name Mixin selector named field_31614
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31614:I
intermediary field_31614
Lnet/minecraft/class_3366$class_3384;field_31614:I
official s
Leku$r;s:I
-
field_31615
protected static final int field_31615- See Also:
- Mappings:
Namespace Name Mixin selector named field_31615
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31615:I
intermediary field_31615
Lnet/minecraft/class_3366$class_3384;field_31615:I
official t
Leku$r;t:I
-
TWO_ZERO_ZERO_INDEX
protected static final int TWO_ZERO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named TWO_ZERO_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_ZERO_ZERO_INDEX:I
intermediary field_14469
Lnet/minecraft/class_3366$class_3384;field_14469:I
official u
Leku$r;u:I
-
TWO_TWO_ZERO_INDEX
protected static final int TWO_TWO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named TWO_TWO_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_TWO_ZERO_INDEX:I
intermediary field_14468
Lnet/minecraft/class_3366$class_3384;field_14468:I
official v
Leku$r;v:I
-
ZERO_ONE_ZERO_INDEX
protected static final int ZERO_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named ZERO_ONE_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ZERO_ONE_ZERO_INDEX:I
intermediary field_14478
Lnet/minecraft/class_3366$class_3384;field_14478:I
official w
Leku$r;w:I
-
FOUR_ONE_ZERO_INDEX
protected static final int FOUR_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector named FOUR_ONE_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;FOUR_ONE_ZERO_INDEX:I
intermediary field_14477
Lnet/minecraft/class_3366$class_3384;field_14477:I
official x
Leku$r;x:I
-
field_31616
protected static final int field_31616- See Also:
- Mappings:
Namespace Name Mixin selector named field_31616
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31616:I
intermediary field_31616
Lnet/minecraft/class_3366$class_3384;field_31616:I
official y
Leku$r;y:I
-
field_31617
protected static final int field_31617- See Also:
- Mappings:
Namespace Name Mixin selector named field_31617
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31617:I
intermediary field_31617
Lnet/minecraft/class_3366$class_3384;field_31617:I
official z
Leku$r;z:I
-
field_31618
protected static final int field_31618- See Also:
- Mappings:
Namespace Name Mixin selector named field_31618
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31618:I
intermediary field_31618
Lnet/minecraft/class_3366$class_3384;field_31618:I
official A
Leku$r;A:I
-
setting
- Mappings:
Namespace Name Mixin selector named setting
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;setting:Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;
intermediary field_14479
Lnet/minecraft/class_3366$class_3384;field_14479:Lnet/minecraft/class_3366$class_3388;
official B
Leku$r;B:Leku$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;)V
intermediary <init>
Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2350;ILnet/minecraft/class_3341;)V
official <init>
Leku$r;<init>(Lejc;Lje;ILeid;)V
-
Piece
protected Piece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4) - 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)V
intermediary <init>
Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_2350;Lnet/minecraft/class_3366$class_3388;III)V
official <init>
Leku$r;<init>(Lejc;ILje;Leku$v;III)V
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
official <init>
Leip;<init>(Lejc;Lus;)V
-
-
Method Details
-
getIndex
protected static int getIndex(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;getIndex(III)I
intermediary method_14770
Lnet/minecraft/class_3366$class_3384;method_14770(III)I
official c
Leku$r;c(III)I
-
createBox
private static BlockBox createBox(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector named createBox
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;createBox(Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;III)Lnet/minecraft/util/math/BlockBox;
intermediary method_35445
Lnet/minecraft/class_3366$class_3384;method_35445(Lnet/minecraft/class_2350;Lnet/minecraft/class_3366$class_3388;III)Lnet/minecraft/class_3341;
official a
Leku$r;a(Lje;Leku$v;III)Leid;
-
writeNbt
- Specified by:
writeNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
official a
Leip;a(Lejb;Lus;)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 setAirAndWater
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;setAirAndWater(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)V
intermediary method_14773
Lnet/minecraft/class_3366$class_3384;method_14773(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)V
official b
Leku$r;b(Ldcu;Leid;IIIIII)V
-
method_14774
- Mappings:
Namespace Name Mixin selector named method_14774
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;method_14774(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIZ)V
intermediary method_14774
Lnet/minecraft/class_3366$class_3384;method_14774(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIZ)V
official a
Leku$r;a(Ldcu;Leid;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 fillArea
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;fillArea(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;)V
intermediary method_14771
Lnet/minecraft/class_3366$class_3384;method_14771(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;)V
official a
Leku$r;a(Ldcu;Leid;IIIIIILdsd;)V
-
boxIntersects
- Mappings:
Namespace Name Mixin selector named boxIntersects
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;boxIntersects(Lnet/minecraft/util/math/BlockBox;IIII)Z
intermediary method_14775
Lnet/minecraft/class_3366$class_3384;method_14775(Lnet/minecraft/class_3341;IIII)Z
official a
Leku$r;a(Leid;IIII)Z
-
spawnElderGuardian
- Mappings:
Namespace Name Mixin selector named spawnElderGuardian
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;spawnElderGuardian(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)V
intermediary method_14772
Lnet/minecraft/class_3366$class_3384;method_14772(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)V
official a
Leku$r;a(Ldcu;Leid;III)V
-