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$rintermediary net/minecraft/class_3366$class_3384named 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 BlockStateALSO_PRISMARINE_BRICKSprotected static BlockStateDARK_PRISMARINEprotected static intFOUR_ONE_ZERO_INDEXprotected static Set<Block>ICE_BLOCKSprotected static BlockStatePRISMARINEprotected static BlockStatePRISMARINE_BRICKSprotected static BlockStateSEA_LANTERNprotected OceanMonumentGenerator.PieceSettingsettingprotected static intTWO_TWO_ZERO_INDEXprotected static intTWO_ZERO_ZERO_INDEXprotected static BlockStateWATERprotected static intZERO_ONE_ZERO_INDEXFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors Modifier Constructor Description Piece(StructurePieceType type, int length)protectedPiece(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 intgetIndex(int x, int y, int z)protected voidmethod_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState)protected voidmethod_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool)protected booleanmethod_14775(BlockBox blockBox, int int2, int int3, int int4, int int5)protected voidsetAirAndWater(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth)protected booleanspawnElderGuardian(StructureWorldAccess world, BlockBox box, int int2, int int3, int int4)protected voidtoNbt(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 aLcwy$r;a:Lcht;intermediary field_14473Lnet/minecraft/class_3366$class_3384;field_14473:Lnet/minecraft/class_2680;named PRISMARINELnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE:Lnet/minecraft/block/BlockState;
-
PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector official bLcwy$r;b:Lcht;intermediary field_14476Lnet/minecraft/class_3366$class_3384;field_14476:Lnet/minecraft/class_2680;named PRISMARINE_BRICKSLnet/minecraft/structure/OceanMonumentGenerator$Piece;PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
-
DARK_PRISMARINE
- Mappings:
Namespace Name Mixin selector official cLcwy$r;c:Lcht;intermediary field_14474Lnet/minecraft/class_3366$class_3384;field_14474:Lnet/minecraft/class_2680;named DARK_PRISMARINELnet/minecraft/structure/OceanMonumentGenerator$Piece;DARK_PRISMARINE:Lnet/minecraft/block/BlockState;
-
ALSO_PRISMARINE_BRICKS
- Mappings:
Namespace Name Mixin selector official dLcwy$r;d:Lcht;intermediary field_14470Lnet/minecraft/class_3366$class_3384;field_14470:Lnet/minecraft/class_2680;named ALSO_PRISMARINE_BRICKSLnet/minecraft/structure/OceanMonumentGenerator$Piece;ALSO_PRISMARINE_BRICKS:Lnet/minecraft/block/BlockState;
-
SEA_LANTERN
- Mappings:
Namespace Name Mixin selector official eLcwy$r;e:Lcht;intermediary field_14471Lnet/minecraft/class_3366$class_3384;field_14471:Lnet/minecraft/class_2680;named SEA_LANTERNLnet/minecraft/structure/OceanMonumentGenerator$Piece;SEA_LANTERN:Lnet/minecraft/block/BlockState;
-
WATER
- Mappings:
Namespace Name Mixin selector official fLcwy$r;f:Lcht;intermediary field_14475Lnet/minecraft/class_3366$class_3384;field_14475:Lnet/minecraft/class_2680;named WATERLnet/minecraft/structure/OceanMonumentGenerator$Piece;WATER:Lnet/minecraft/block/BlockState;
-
ICE_BLOCKS
- Mappings:
Namespace Name Mixin selector official gLcwy$r;g:Ljava/util/Set;intermediary field_14472Lnet/minecraft/class_3366$class_3384;field_14472:Ljava/util/Set;named ICE_BLOCKSLnet/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 hLcwy$r;h:Iintermediary field_14469Lnet/minecraft/class_3366$class_3384;field_14469:Inamed TWO_ZERO_ZERO_INDEXLnet/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 iLcwy$r;i:Iintermediary field_14468Lnet/minecraft/class_3366$class_3384;field_14468:Inamed TWO_TWO_ZERO_INDEXLnet/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 jLcwy$r;j:Iintermediary field_14478Lnet/minecraft/class_3366$class_3384;field_14478:Inamed ZERO_ONE_ZERO_INDEXLnet/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 kLcwy$r;k:Iintermediary field_14477Lnet/minecraft/class_3366$class_3384;field_14477:Inamed FOUR_ONE_ZERO_INDEXLnet/minecraft/structure/OceanMonumentGenerator$Piece;FOUR_ONE_ZERO_INDEX:I
-
setting
- Mappings:
Namespace Name Mixin selector official lLcwy$r;l:Lcwy$v;intermediary field_14479Lnet/minecraft/class_3366$class_3384;field_14479:Lnet/minecraft/class_3366$class_3388;named settingLnet/minecraft/structure/OceanMonumentGenerator$Piece;setting:Lnet/minecraft/structure/OceanMonumentGenerator$PieceSetting;
-
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>Lcxh;<init>(Lcqk;I)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;I)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2350;Lnet/minecraft/class_3341;)Vnamed <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)Vintermediary <init>Lnet/minecraft/class_3366$class_3384;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_2350;Lnet/minecraft/class_3366$class_3388;III)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vnamed <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 bLcwy$r;b(III)Iintermediary method_14770Lnet/minecraft/class_3366$class_3384;method_14770(III)Inamed getIndexLnet/minecraft/structure/OceanMonumentGenerator$Piece;getIndex(III)I
-
toNbt
- Specified by:
toNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector official aLcxh;a(Lmq;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)Vnamed toNbtLnet/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 aLcwy$r;a(Lbuq;Lcwn;IIIIII)Vintermediary method_14773Lnet/minecraft/class_3366$class_3384;method_14773(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)Vnamed setAirAndWaterLnet/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 aLcwy$r;a(Lbuq;Lcwn;IIZ)Vintermediary method_14774Lnet/minecraft/class_3366$class_3384;method_14774(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIZ)Vnamed method_14774Lnet/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 aLcwy$r;a(Lbuq;Lcwn;IIIIIILcht;)Vintermediary method_14771Lnet/minecraft/class_3366$class_3384;method_14771(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;)Vnamed method_14771Lnet/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 aLcwy$r;a(Lcwn;IIII)Zintermediary method_14775Lnet/minecraft/class_3366$class_3384;method_14775(Lnet/minecraft/class_3341;IIII)Znamed method_14775Lnet/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 aLcwy$r;a(Lbuq;Lcwn;III)Zintermediary method_14772Lnet/minecraft/class_3366$class_3384;method_14772(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)Znamed spawnElderGuardianLnet/minecraft/structure/OceanMonumentGenerator$Piece;spawnElderGuardian(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;III)Z
-