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
- Mappings:
Namespace Name official cwy$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
Fields Modifier and Type Field Description protected static BlockState
ALSO_PRISMARINE_BRICKS
protected static BlockState
DARK_PRISMARINE
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 type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4)
Piece(StructurePieceType type, CompoundTag tag)
Piece(StructurePieceType type, Direction orientation, BlockBox boundingBox)
-
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 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 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
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
- Mappings:
Namespace Name Mixin selector official a
Lcwy$r;a:Lcht;
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 b
Lcwy$r;b:Lcht;
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 c
Lcwy$r;c:Lcht;
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 d
Lcwy$r;d:Lcht;
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 e
Lcwy$r;e:Lcht;
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;
-
WATER
- Mappings:
Namespace Name Mixin selector official f
Lcwy$r;f:Lcht;
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 g
Lcwy$r;g: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;
-
TWO_ZERO_ZERO_INDEX
protected static final int TWO_ZERO_ZERO_INDEX- Mappings:
Namespace Name Mixin selector official h
Lcwy$r;h: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 i
Lcwy$r;i: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 j
Lcwy$r;j: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 k
Lcwy$r;k: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
-
setting
- Mappings:
Namespace Name Mixin selector official l
Lcwy$r;l:Lcwy$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>
Lcxh;<init>(Lcqk;I)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;I)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;I)V
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Lcwy$r;<init>(Lcqk;Lgc;Lcwn;)V
intermediary <init>
Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2350;Lnet/minecraft/class_3341;)V
named <init>
Lnet/minecraft/structure/OceanMonumentGenerator$Piece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/util/math/Direction;Lnet/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>
Lcwy$r;<init>(Lcqk;ILgc;Lcwy$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>
Lcxh;<init>(Lcqk;Lmq;)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/CompoundTag;)V
-
-
Method Details
-
getIndex
protected static int getIndex(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official b
Lcwy$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
-
toNbt
- Specified by:
toNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a(Lmq;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)V
named toNbt
Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/nbt/CompoundTag;)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
Lcwy$r;a(Lbuq;Lcwn;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
Lcwy$r;a(Lbuq;Lcwn;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
Lcwy$r;a(Lbuq;Lcwn;IIIIIILcht;)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
Lcwy$r;a(Lcwn;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
Lcwy$r;a(Lbuq;Lcwn;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
-