类 StrongholdGenerator.Piece
- java.lang.Object
-
- net.minecraft.structure.StructurePiece
-
- net.minecraft.structure.StrongholdGenerator.Piece
-
- 直接已知子类:
StrongholdGenerator.ChestCorridor,StrongholdGenerator.Corridor,StrongholdGenerator.FiveWayCrossing,StrongholdGenerator.Library,StrongholdGenerator.PortalRoom,StrongholdGenerator.PrisonHall,StrongholdGenerator.SmallCorridor,StrongholdGenerator.SpiralStaircase,StrongholdGenerator.SquareRoom,StrongholdGenerator.Stairs,StrongholdGenerator.Turn
- 封闭类:
- StrongholdGenerator
abstract static class StrongholdGenerator.Piece extends StructurePiece
- Mappings:
Namespace Name official dak$pintermediary net/minecraft/class_3421$class_3437named net/minecraft/structure/StrongholdGenerator$Piece
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classStrongholdGenerator.Piece.EntranceType-
从类继承的嵌套类/接口 net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
-
字段概要
字段 修饰符和类型 字段 说明 protected StrongholdGenerator.Piece.EntranceTypeentryDoor-
从类继承的字段 net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
-
构造器概要
构造器 限定符 构造器 说明 protectedPiece(StructurePieceType type, int length, BlockBox blockBox)Piece(StructurePieceType type, CompoundTag nbt)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected @Nullable StructurePiecefillForwardOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int leftRightOffset, int heightOffset)protected @Nullable StructurePiecefillNWOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset)protected @Nullable StructurePiecefillSEOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset)protected voidgenerateEntrance(StructureWorldAccess world, Random random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z)protected StrongholdGenerator.Piece.EntranceTypegetRandomEntrance(Random random)protected static booleanisInBounds(BlockBox boundingBox)StructureWeightTypemethod_33882()protected voidwriteNbt(ServerWorld world, CompoundTag nbt)-
从类继承的方法 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, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
-
-
-
字段详细资料
-
entryDoor
protected StrongholdGenerator.Piece.EntranceType entryDoor
- Mappings:
Namespace Name Mixin selector official eLdak$p;e:Ldak$p$a;intermediary field_15287Lnet/minecraft/class_3421$class_3437;field_15287:Lnet/minecraft/class_3421$class_3437$class_3438;named entryDoorLnet/minecraft/structure/StrongholdGenerator$Piece;entryDoor:Lnet/minecraft/structure/StrongholdGenerator$Piece$EntranceType;
-
-
构造器详细资料
-
Piece
protected Piece(StructurePieceType type, int length, BlockBox blockBox)
- Mappings:
Namespace Name Mixin selector official <init>Ldam;<init>(Lcsy;ILczr;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
-
Piece
public Piece(StructurePieceType type, CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official <init>Ldam;<init>(Lcsy;Lmv;)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_33882
public StructureWeightType method_33882()
- 覆盖:
method_33882在类中StructurePiece- Mappings:
Namespace Name Mixin selector official method_33882Ldak$p;method_33882()Lcsb;intermediary method_33882Lnet/minecraft/class_3421$class_3437;method_33882()Lnet/minecraft/class_5847;named method_33882Lnet/minecraft/structure/StrongholdGenerator$Piece;method_33882()Lnet/minecraft/world/gen/StructureWeightType;
-
writeNbt
protected void writeNbt(ServerWorld world, CompoundTag nbt)
- 指定者:
writeNbt在类中StructurePiece- Mappings:
Namespace Name Mixin selector official aLdam;a(Labj;Lmv;)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/CompoundTag;)V
-
generateEntrance
protected void generateEntrance(StructureWorldAccess world, Random random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z)
- Mappings:
Namespace Name Mixin selector official aLdak$p;a(Lbwm;Ljava/util/Random;Lczr;Ldak$p$a;III)Vintermediary method_14872Lnet/minecraft/class_3421$class_3437;method_14872(Lnet/minecraft/class_5281;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_3421$class_3437$class_3438;III)Vnamed generateEntranceLnet/minecraft/structure/StrongholdGenerator$Piece;generateEntrance(Lnet/minecraft/world/StructureWorldAccess;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/structure/StrongholdGenerator$Piece$EntranceType;III)V
-
getRandomEntrance
protected StrongholdGenerator.Piece.EntranceType getRandomEntrance(Random random)
- Mappings:
Namespace Name Mixin selector official aLdak$p;a(Ljava/util/Random;)Ldak$p$a;intermediary method_14869Lnet/minecraft/class_3421$class_3437;method_14869(Ljava/util/Random;)Lnet/minecraft/class_3421$class_3437$class_3438;named getRandomEntranceLnet/minecraft/structure/StrongholdGenerator$Piece;getRandomEntrance(Ljava/util/Random;)Lnet/minecraft/structure/StrongholdGenerator$Piece$EntranceType;
-
fillForwardOpening
@Nullable protected @Nullable StructurePiece fillForwardOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int leftRightOffset, int heightOffset)
- Mappings:
Namespace Name Mixin selector official aLdak$p;a(Ldak$m;Ldan;Ljava/util/Random;II)Ldam;intermediary method_14874Lnet/minecraft/class_3421$class_3437;method_14874(Lnet/minecraft/class_3421$class_3434;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/class_3443;named fillForwardOpeningLnet/minecraft/structure/StrongholdGenerator$Piece;fillForwardOpening(Lnet/minecraft/structure/StrongholdGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/structure/StructurePiece;
-
fillNWOpening
@Nullable protected @Nullable StructurePiece fillNWOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset)
- Mappings:
Namespace Name Mixin selector official bLdak$p;b(Ldak$m;Ldan;Ljava/util/Random;II)Ldam;intermediary method_14870Lnet/minecraft/class_3421$class_3437;method_14870(Lnet/minecraft/class_3421$class_3434;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/class_3443;named fillNWOpeningLnet/minecraft/structure/StrongholdGenerator$Piece;fillNWOpening(Lnet/minecraft/structure/StrongholdGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/structure/StructurePiece;
-
fillSEOpening
@Nullable protected @Nullable StructurePiece fillSEOpening(StrongholdGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset)
- Mappings:
Namespace Name Mixin selector official cLdak$p;c(Ldak$m;Ldan;Ljava/util/Random;II)Ldam;intermediary method_14873Lnet/minecraft/class_3421$class_3437;method_14873(Lnet/minecraft/class_3421$class_3434;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/class_3443;named fillSEOpeningLnet/minecraft/structure/StrongholdGenerator$Piece;fillSEOpening(Lnet/minecraft/structure/StrongholdGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;II)Lnet/minecraft/structure/StructurePiece;
-
isInBounds
protected static boolean isInBounds(BlockBox boundingBox)
- Mappings:
Namespace Name Mixin selector official aLdak$p;a(Lczr;)Zintermediary method_14871Lnet/minecraft/class_3421$class_3437;method_14871(Lnet/minecraft/class_3341;)Znamed isInBoundsLnet/minecraft/structure/StrongholdGenerator$Piece;isInBounds(Lnet/minecraft/util/math/BlockBox;)Z
-
-