Package net.minecraft.structure
Class StrongholdPieces.FlexibleCorridor
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StrongholdPieces.AbstractPiece
net.minecraft.structure.StrongholdPieces.FlexibleCorridor
- Enclosing class:
- StrongholdPieces
- Mappings:
Namespace Name official bbt$bintermediary net/minecraft/class_11$class_16named net/minecraft/structure/StrongholdPieces$FlexibleCorridor
-
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
FieldsFields inherited from class net.minecraft.structure.StrongholdPieces.AbstractPiece
entryDoorFields inherited from class net.minecraft.structure.StructurePiece
boundingBox, chainLength -
Constructor Summary
ConstructorsConstructorDescriptionFlexibleCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockBoxcreate(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) booleanprotected voidmethod_5530(NbtCompound nbtCompound, class_2763 class_2763) protected 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, fillOpenings, fillRandomized, fillWithOutline, fromNbt, getBlockAt, getBoundingBox, getChainLength, getOverlappingPiece, isTouchingLiquid, method_11851, method_11852, method_11853, method_11854, method_13377, method_13378, method_13775, method_6569, setAir, setBlockState, toNbt, translate
-
Field Details
-
length
private int length- Mappings:
Namespace Name Mixin selector official aLbbt$b;a:Iintermediary field_30Lnet/minecraft/class_11$class_16;field_30:Inamed lengthLnet/minecraft/structure/StrongholdPieces$FlexibleCorridor;length:I
-
-
Constructor Details
-
FlexibleCorridor
public FlexibleCorridor() -
FlexibleCorridor
public FlexibleCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) - Mappings:
Namespace Name Mixin selector official <init>Lbbt$b;<init>(ILjava/util/Random;Lbbg;Lfa;)Vintermediary <init>Lnet/minecraft/class_11$class_16;<init>(ILjava/util/Random;Lnet/minecraft/class_1251;Lnet/minecraft/class_1354;)Vnamed <init>Lnet/minecraft/structure/StrongholdPieces$FlexibleCorridor;<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 aLbbx;a(Lfy;)Vintermediary method_5528Lnet/minecraft/class_34;method_5528(Lnet/minecraft/class_322;)Vnamed serializeLnet/minecraft/structure/StructurePiece;serialize(Lnet/minecraft/nbt/NbtCompound;)V
-
method_5530
- Overrides:
method_5530in classStrongholdPieces.AbstractPiece- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lfy;Lbcg;)Vintermediary method_5530Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;Lnet/minecraft/class_2763;)Vnamed method_5530Lnet/minecraft/structure/StructurePiece;method_5530(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/class_2763;)V
-
create
public static BlockBox create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) - Mappings:
Namespace Name Mixin selector official aLbbt$b;a(Ljava/util/List;Ljava/util/Random;IIILfa;)Lbbg;intermediary method_26Lnet/minecraft/class_11$class_16;method_26(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_1354;)Lnet/minecraft/class_1251;named createLnet/minecraft/structure/StrongholdPieces$FlexibleCorridor;create(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockBox;
-
generate
- Specified by:
generatein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lamu;Ljava/util/Random;Lbbg;)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
-