Package net.minecraft.structure
Class StrongholdPieces.SquareRoom
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StrongholdPieces.AbstractPiece
net.minecraft.structure.StrongholdPieces.SquareRoom
- Enclosing class:
- StrongholdPieces
- Mappings:
Namespace Name official aqp$jintermediary net/minecraft/class_11$class_24named net/minecraft/structure/StrongholdPieces$SquareRoom
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StrongholdPieces.AbstractPiece
StrongholdPieces.AbstractPiece.EntranceTypeNested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List<WeightedRandomChestContent>protected intFields inherited from class net.minecraft.structure.StrongholdPieces.AbstractPiece
entryDoorFields inherited from class net.minecraft.structure.StructurePiece
boundingBox, chainLength, facing -
Constructor Summary
ConstructorsConstructorDescriptionSquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) -
Method Summary
Modifier and TypeMethodDescriptionstatic StrongholdPieces.SquareRoomcreate(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) protected voiddeserialize(NbtCompound structureNbt) voidfillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random) booleanprotected voidserialize(NbtCompound structureNbt) Methods inherited from class net.minecraft.structure.StrongholdPieces.AbstractPiece
fillForwardOpening, fillNWOpening, fillSEOpening, generateEntrance, getEntranceType, isInboundsMethods inherited from class net.minecraft.structure.StructurePiece
addBlockWithRandomThreshold, applyXTransform, applyYTransform, applyZTransform, clearBlocksUpwards, fillAirAndLiquidsDownwards, fillHalfEllipsoid, fillRandomized, fillWithOutline, fillWithOutlineUnderSeaLevel, fromNbt, getBlockAt, getBoundingBox, getCenterBlockPos, getChainLength, getData, getOverlappingPiece, isTouchingLiquid, placeChest, placeDispenser, placeDoor, setAir, setBlockState, toNbt, translate
-
Field Details
-
POSSIBLE_CHEST_CONTENT
- Mappings:
Namespace Name Mixin selector official bLaqp$j;b:Ljava/util/List;intermediary field_10225Lnet/minecraft/class_11$class_24;field_10225:Ljava/util/List;named POSSIBLE_CHEST_CONTENTLnet/minecraft/structure/StrongholdPieces$SquareRoom;POSSIBLE_CHEST_CONTENT:Ljava/util/List;
-
roomType
protected int roomType- Mappings:
Namespace Name Mixin selector official aLaqp$j;a:Iintermediary field_47Lnet/minecraft/class_11$class_24;field_47:Inamed roomTypeLnet/minecraft/structure/StrongholdPieces$SquareRoom;roomType:I
-
-
Constructor Details
-
SquareRoom
public SquareRoom() -
SquareRoom
- Mappings:
Namespace Name Mixin selector official <init>Laqp$j;<init>(ILjava/util/Random;Laqe;Lcq;)Vintermediary <init>Lnet/minecraft/class_11$class_24;<init>(ILjava/util/Random;Lnet/minecraft/class_1251;Lnet/minecraft/class_1354;)Vnamed <init>Lnet/minecraft/structure/StrongholdPieces$SquareRoom;<init>(ILjava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Direction;)V
-
-
Method Details
-
serialize
- Overrides:
serializein classStrongholdPieces.AbstractPiece- Mappings:
Namespace Name Mixin selector official aLaqt;a(Ldn;)Vintermediary method_5528Lnet/minecraft/class_34;method_5528(Lnet/minecraft/class_322;)Vnamed serializeLnet/minecraft/structure/StructurePiece;serialize(Lnet/minecraft/nbt/NbtCompound;)V
-
deserialize
- Overrides:
deserializein classStrongholdPieces.AbstractPiece- Mappings:
Namespace Name Mixin selector official bLaqt;b(Ldn;)Vintermediary method_5530Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;)Vnamed deserializeLnet/minecraft/structure/StructurePiece;deserialize(Lnet/minecraft/nbt/NbtCompound;)V
-
fillOpenings
- Overrides:
fillOpeningsin classStructurePiece- Mappings:
Namespace Name Mixin selector official aLaqt;a(Laqt;Ljava/util/List;Ljava/util/Random;)Vintermediary method_54Lnet/minecraft/class_34;method_54(Lnet/minecraft/class_34;Ljava/util/List;Ljava/util/Random;)Vnamed fillOpeningsLnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Ljava/util/List;Ljava/util/Random;)V
-
create
public static StrongholdPieces.SquareRoom create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) - Mappings:
Namespace Name Mixin selector official aLaqp$j;a(Ljava/util/List;Ljava/util/Random;IIILcq;I)Laqp$j;intermediary method_34Lnet/minecraft/class_11$class_24;method_34(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_1354;I)Lnet/minecraft/class_11$class_24;named createLnet/minecraft/structure/StrongholdPieces$SquareRoom;create(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/StrongholdPieces$SquareRoom;
-
generate
- Specified by:
generatein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLaqt;a(Ladm;Ljava/util/Random;Laqe;)Zintermediary method_58Lnet/minecraft/class_34;method_58(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_1251;)Znamed generateLnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;)Z
-