类 PoolStructurePiece
- java.lang.Object
-
- net.minecraft.structure.StructurePiece
-
- net.minecraft.structure.PoolStructurePiece
-
public class PoolStructurePiece extends StructurePiece
- Mappings:
Namespace Name official dagintermediary net/minecraft/class_3790named net/minecraft/structure/PoolStructurePiece
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
-
字段概要
字段 修饰符和类型 字段 说明 private intgroundLevelDeltaprivate List<JigsawJunction>junctionsprivate static LoggerLOGGERprotected StructurePoolElementpoolElementprotected BlockPosposprotected BlockRotationrotationprivate StructureManagerstructureManager-
从类继承的字段 net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
-
构造器概要
构造器 构造器 说明 PoolStructurePiece(ServerWorld world, CompoundTag nbt)PoolStructurePiece(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddJunction(JigsawJunction junction)booleangenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)booleangenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)intgetGroundLevelDelta()List<JigsawJunction>getJunctions()StructurePoolElementgetPoolElement()BlockPosgetPos()BlockRotationgetRotation()StringtoString()voidtranslate(int x, int y, int z)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, getBlockAt, getBoundingBox, getChainLength, getFacing, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official dLdag;d:Lorg/apache/logging/log4j/Logger;intermediary field_24991Lnet/minecraft/class_3790;field_24991:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/structure/PoolStructurePiece;LOGGER:Lorg/apache/logging/log4j/Logger;
-
poolElement
protected final StructurePoolElement poolElement
- Mappings:
Namespace Name Mixin selector official aLdag;a:Lcwv;intermediary field_16693Lnet/minecraft/class_3790;field_16693:Lnet/minecraft/class_3784;named poolElementLnet/minecraft/structure/PoolStructurePiece;poolElement:Lnet/minecraft/structure/pool/StructurePoolElement;
-
pos
protected BlockPos pos
- Mappings:
Namespace Name Mixin selector official bLdag;b:Lgb;intermediary field_16695Lnet/minecraft/class_3790;field_16695:Lnet/minecraft/class_2338;named posLnet/minecraft/structure/PoolStructurePiece;pos:Lnet/minecraft/util/math/BlockPos;
-
groundLevelDelta
private final int groundLevelDelta
- Mappings:
Namespace Name Mixin selector official eLdag;e:Iintermediary field_16692Lnet/minecraft/class_3790;field_16692:Inamed groundLevelDeltaLnet/minecraft/structure/PoolStructurePiece;groundLevelDelta:I
-
rotation
protected final BlockRotation rotation
- Mappings:
Namespace Name Mixin selector official cLdag;c:Lcek;intermediary field_16694Lnet/minecraft/class_3790;field_16694:Lnet/minecraft/class_2470;named rotationLnet/minecraft/structure/PoolStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;
-
junctions
private final List<JigsawJunction> junctions
- Mappings:
Namespace Name Mixin selector official fLdag;f:Ljava/util/List;intermediary field_16696Lnet/minecraft/class_3790;field_16696:Ljava/util/List;named junctionsLnet/minecraft/structure/PoolStructurePiece;junctions:Ljava/util/List;
-
structureManager
private final StructureManager structureManager
- Mappings:
Namespace Name Mixin selector official gLdag;g:Ldbp;intermediary field_17660Lnet/minecraft/class_3790;field_17660:Lnet/minecraft/class_3485;named structureManagerLnet/minecraft/structure/PoolStructurePiece;structureManager:Lnet/minecraft/structure/StructureManager;
-
-
构造器详细资料
-
PoolStructurePiece
public PoolStructurePiece(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox)
- Mappings:
Namespace Name Mixin selector official <init>Ldag;<init>(Ldbp;Lcwv;Lgb;ILcek;Lczr;)Vintermediary <init>Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_3784;Lnet/minecraft/class_2338;ILnet/minecraft/class_2470;Lnet/minecraft/class_3341;)Vnamed <init>Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/structure/pool/StructurePoolElement;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;)V
-
PoolStructurePiece
public PoolStructurePiece(ServerWorld world, CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official <init>Ldag;<init>(Labj;Lmv;)Vintermediary <init>Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;)V
-
-
方法详细资料
-
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
-
generate
public boolean generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
- 指定者:
generate在类中StructurePiece- Mappings:
Namespace Name Mixin selector official aLdam;a(Lbwm;Lbwi;Lclm;Ljava/util/Random;Lczr;Lbuw;Lgb;)Zintermediary method_14931Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)Znamed generateLnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)Z
-
generate
public boolean generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
- Mappings:
Namespace Name Mixin selector official aLdag;a(Lbwm;Lbwi;Lclm;Ljava/util/Random;Lczr;Lgb;Z)Zintermediary method_27236Lnet/minecraft/class_3790;method_27236(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;Z)Znamed generateLnet/minecraft/structure/PoolStructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;Z)Z
-
translate
public void translate(int x, int y, int z)- 覆盖:
translate在类中StructurePiece- Mappings:
Namespace Name Mixin selector official aLdam;a(III)Vintermediary method_14922Lnet/minecraft/class_3443;method_14922(III)Vnamed translateLnet/minecraft/structure/StructurePiece;translate(III)V
-
getRotation
public BlockRotation getRotation()
- 覆盖:
getRotation在类中StructurePiece- Mappings:
Namespace Name Mixin selector official aLdam;a()Lcek;intermediary method_16888Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;named getRotationLnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;
-
toString
public String toString()
-
getPoolElement
public StructurePoolElement getPoolElement()
- Mappings:
Namespace Name Mixin selector official bLdag;b()Lcwv;intermediary method_16644Lnet/minecraft/class_3790;method_16644()Lnet/minecraft/class_3784;named getPoolElementLnet/minecraft/structure/PoolStructurePiece;getPoolElement()Lnet/minecraft/structure/pool/StructurePoolElement;
-
getPos
public BlockPos getPos()
- Mappings:
Namespace Name Mixin selector official au_Ldag;au_()Lgb;intermediary method_16648Lnet/minecraft/class_3790;method_16648()Lnet/minecraft/class_2338;named getPosLnet/minecraft/structure/PoolStructurePiece;getPos()Lnet/minecraft/util/math/BlockPos;
-
getGroundLevelDelta
public int getGroundLevelDelta()
- Mappings:
Namespace Name Mixin selector official dLdag;d()Iintermediary method_16646Lnet/minecraft/class_3790;method_16646()Inamed getGroundLevelDeltaLnet/minecraft/structure/PoolStructurePiece;getGroundLevelDelta()I
-
addJunction
public void addJunction(JigsawJunction junction)
- Mappings:
Namespace Name Mixin selector official aLdag;a(Lcwq;)Vintermediary method_16647Lnet/minecraft/class_3790;method_16647(Lnet/minecraft/class_3780;)Vnamed addJunctionLnet/minecraft/structure/PoolStructurePiece;addJunction(Lnet/minecraft/structure/JigsawJunction;)V
-
getJunctions
public List<JigsawJunction> getJunctions()
- Mappings:
Namespace Name Mixin selector official eLdag;e()Ljava/util/List;intermediary method_16645Lnet/minecraft/class_3790;method_16645()Ljava/util/List;named getJunctionsLnet/minecraft/structure/PoolStructurePiece;getJunctions()Ljava/util/List;
-
-