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 official dbc$r
intermediary net/minecraft/class_3366$class_3384
named net/minecraft/structure/OceanMonumentGenerator$Piece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static BlockState
protected static BlockState
protected static boolean
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static BlockState
protected static BlockState
protected static BlockState
protected OceanMonumentGenerator.PieceSetting
protected static int
protected static int
protected static BlockState
protected static 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 int2, BlockBox blockBox)
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 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)
private static BlockBox
method_35445(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int2, int int3, int int4)
protected void
setAirAndWater(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth)
protected boolean
spawnElderGuardian(StructureWorldAccess world, BlockBox box, int int2, int int3, int int4)
protected void
writeNbt(ServerWorld world, NbtCompound nbt)
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, canAddBlock, canReplace, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
Field Details
-
PRISMARINE
- Mappings:
Namespace Name Mixin selector official b
Ldbc$r;b:Lcks;
intermediary field_14473
Lnet/minecraft/class_3366$class_3384;field_14473:Lnet/minecraft/class_2680;
named PRISMARINE
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE:Lnet/minecraft/block/BlockState;
-
PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector official c
Ldbc$r;c:Lcks;
intermediary field_14476
Lnet/minecraft/class_3366$class_3384;field_14476:Lnet/minecraft/class_2680;
named PRISMARINE_BRICKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
-
DARK_PRISMARINE
- Mappings:
Namespace Name Mixin selector official d
Ldbc$r;d:Lcks;
intermediary field_14474
Lnet/minecraft/class_3366$class_3384;field_14474:Lnet/minecraft/class_2680;
named DARK_PRISMARINE
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;DARK_PRISMARINE:Lnet/minecraft/block/BlockState;
-
ALSO_PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector official e
Ldbc$r;e:Lcks;
intermediary field_14470
Lnet/minecraft/class_3366$class_3384;field_14470:Lnet/minecraft/class_2680;
named ALSO_PRISMARINE_BRICKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ALSO_PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
-
SEA_LANTERN
- Mappings:
Namespace Name Mixin selector official f
Ldbc$r;f:Lcks;
intermediary field_14471
Lnet/minecraft/class_3366$class_3384;field_14471:Lnet/minecraft/class_2680;
named SEA_LANTERN
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;SEA_LANTERN:Lnet/minecraft/block/BlockState;
-
field_31607
protected static final boolean field_31607- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official g
Ldbc$r;g:Z
intermediary field_31607
Lnet/minecraft/class_3366$class_3384;field_31607:Z
named field_31607
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31607:Z
-
WATER
- Mappings:
Namespace Name Mixin selector official h
Ldbc$r;h:Lcks;
intermediary field_14475
Lnet/minecraft/class_3366$class_3384;field_14475:Lnet/minecraft/class_2680;
named WATER
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;WATER:Lnet/minecraft/block/BlockState;
-
ICE_BLOCKS
- Mappings:
Namespace Name Mixin selector official i
Ldbc$r;i:Ljava/util/Set;
intermediary field_14472
Lnet/minecraft/class_3366$class_3384;field_14472:Ljava/util/Set;
named ICE_BLOCKS
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ICE_BLOCKS:Ljava/util/Set;
-
field_31608
protected static final int field_31608- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official j
Ldbc$r;j:I
intermediary field_31608
Lnet/minecraft/class_3366$class_3384;field_31608:I
named field_31608
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31608:I
-
field_31609
protected static final int field_31609- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official k
Ldbc$r;k:I
intermediary field_31609
Lnet/minecraft/class_3366$class_3384;field_31609:I
named field_31609
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31609:I
-
field_31610
protected static final int field_31610- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official l
Ldbc$r;l:I
intermediary field_31610
Lnet/minecraft/class_3366$class_3384;field_31610:I
named field_31610
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31610:I
-
field_31611
protected static final int field_31611- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official m
Ldbc$r;m:I
intermediary field_31611
Lnet/minecraft/class_3366$class_3384;field_31611:I
named field_31611
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31611:I
-
field_31612
protected static final int field_31612- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official n
Ldbc$r;n:I
intermediary field_31612
Lnet/minecraft/class_3366$class_3384;field_31612:I
named field_31612
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31612:I
-
field_31613
protected static final int field_31613- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official o
Ldbc$r;o:I
intermediary field_31613
Lnet/minecraft/class_3366$class_3384;field_31613:I
named field_31613
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31613:I
-
field_31614
protected static final int field_31614- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official p
Ldbc$r;p:I
intermediary field_31614
Lnet/minecraft/class_3366$class_3384;field_31614:I
named field_31614
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31614:I
-
field_31615
protected static final int field_31615- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official q
Ldbc$r;q:I
intermediary field_31615
Lnet/minecraft/class_3366$class_3384;field_31615:I
named field_31615
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31615:I
-
TWO_ZERO_ZERO_INDEX
protected static final int TWO_ZERO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector official r
Ldbc$r;r:I
intermediary field_14469
Lnet/minecraft/class_3366$class_3384;field_14469:I
named TWO_ZERO_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_ZERO_ZERO_INDEX:I
-
TWO_TWO_ZERO_INDEX
protected static final int TWO_TWO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector official s
Ldbc$r;s:I
intermediary field_14468
Lnet/minecraft/class_3366$class_3384;field_14468:I
named TWO_TWO_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;TWO_TWO_ZERO_INDEX:I
-
ZERO_ONE_ZERO_INDEX
protected static final int ZERO_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector official t
Ldbc$r;t:I
intermediary field_14478
Lnet/minecraft/class_3366$class_3384;field_14478:I
named ZERO_ONE_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;ZERO_ONE_ZERO_INDEX:I
-
FOUR_ONE_ZERO_INDEX
protected static final int FOUR_ONE_ZERO_INDEX- Mappings:
Namespace Name Mixin selector official u
Ldbc$r;u:I
intermediary field_14477
Lnet/minecraft/class_3366$class_3384;field_14477:I
named FOUR_ONE_ZERO_INDEX
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;FOUR_ONE_ZERO_INDEX:I
-
field_31616
protected static final int field_31616- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official v
Ldbc$r;v:I
intermediary field_31616
Lnet/minecraft/class_3366$class_3384;field_31616:I
named field_31616
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31616:I
-
field_31617
protected static final int field_31617- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official w
Ldbc$r;w:I
intermediary field_31617
Lnet/minecraft/class_3366$class_3384;field_31617:I
named field_31617
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31617:I
-
field_31618
protected static final int field_31618- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official x
Ldbc$r;x:I
intermediary field_31618
Lnet/minecraft/class_3366$class_3384;field_31618:I
named field_31618
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;field_31618:I
-
setting
- Mappings:
Namespace Name Mixin selector official y
Ldbc$r;y:Ldbc$v;
intermediary field_14479
Lnet/minecraft/class_3366$class_3384;field_14479:Lnet/minecraft/class_3366$class_3388;
named setting
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;setting:Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;
-
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Ldbc$r;<init>(Lcud;Lgl;ILdaq;)V
intermediary <init>
Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2350;ILnet/minecraft/class_3341;)V
named <init>
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/util/math/Direction;ILnet/minecraft/util/math/BlockBox;)V
-
Piece
protected Piece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official <init>
Ldbc$r;<init>(Lcud;ILgl;Ldbc$v;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
named <init>
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/Direction;Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;III)V
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Ldbl;<init>(Lcud;Lna;)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
getIndex
protected static int getIndex(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official b
Ldbc$r;b(III)I
intermediary method_14770
Lnet/minecraft/class_3366$class_3384;method_14770(III)I
named getIndex
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;getIndex(III)I
-
method_35445
private static BlockBox method_35445(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official a
Ldbc$r;a(Lgl;Ldbc$v;III)Ldaq;
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;
named method_35445
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;method_35445(Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;III)Lnet/minecraft/util/math/BlockBox;
-
writeNbt
- Specified by:
writeNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldbl;a(Labr;Lna;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)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 official a
Ldbc$r;a(Lbxk;Ldaq;IIIIII)V
intermediary method_14773
Lnet/minecraft/class_3366$class_3384;method_14773(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)V
named setAirAndWater
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;setAirAndWater(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)V
-
method_14774
protected void method_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool)- Mappings:
Namespace Name Mixin selector official a
Ldbc$r;a(Lbxk;Ldaq;IIZ)V
intermediary method_14774
Lnet/minecraft/class_3366$class_3384;method_14774(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIZ)V
named method_14774
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;method_14774(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIZ)V
-
method_14771
protected void method_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState)- Mappings:
Namespace Name Mixin selector official a
Ldbc$r;a(Lbxk;Ldaq;IIIIIILcks;)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
named method_14771
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;method_14771(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;)V
-
method_14775
- Mappings:
Namespace Name Mixin selector official a
Ldbc$r;a(Ldaq;IIII)Z
intermediary method_14775
Lnet/minecraft/class_3366$class_3384;method_14775(Lnet/minecraft/class_3341;IIII)Z
named method_14775
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;method_14775(Lnet/minecraft/util/math/BlockBox;IIII)Z
-
spawnElderGuardian
protected boolean spawnElderGuardian(StructureWorldAccess world, BlockBox box, int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official a
Ldbc$r;a(Lbxk;Ldaq;III)Z
intermediary method_14772
Lnet/minecraft/class_3366$class_3384;method_14772(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)Z
named spawnElderGuardian
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;spawnElderGuardian(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)Z
-