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 czb$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, NbtCompound 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 voidwriteNbt(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, getOverlappingPiece, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, offsetPos, orientateChest, setOrientation, toNbt, translate
-
Field Details
-
PRISMARINE
- Mappings:
Namespace Name Mixin selector official aLczb$r;a:Lciz;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 bLczb$r;b:Lciz;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 cLczb$r;c:Lciz;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 dLczb$r;d:Lciz;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 eLczb$r;e:Lciz;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 fLczb$r;f:Lciz;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 gLczb$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 hLczb$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 iLczb$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 jLczb$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 kLczb$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 lLczb$r;l:Lczb$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>Lczk;<init>(Lcsc;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>Lczb$r;<init>(Lcsc;Lgc;Lcyp;)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>Lczb$r;<init>(Lcsc;ILgc;Lczb$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>Lczk;<init>(Lcsc;Lmr;)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/NbtCompound;)V
-
-
Method Details
-
getIndex
protected static int getIndex(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official bLczb$r;b(III)Iintermediary method_14770Lnet/minecraft/class_3366$class_3384;method_14770(III)Inamed getIndexLnet/minecraft/structure/OceanMonumentGenerator$Piece;getIndex(III)I
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector official aLczk;a(Labf;Lmr;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/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 aLczb$r;a(Lbvv;Lcyp;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 aLczb$r;a(Lbvv;Lcyp;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 aLczb$r;a(Lbvv;Lcyp;IIIIIILciz;)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 aLczb$r;a(Lcyp;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 aLczb$r;a(Lbvv;Lcyp;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
-