类 SwampHutGenerator
- java.lang.Object
-
- net.minecraft.structure.StructurePiece
-
- net.minecraft.structure.StructurePieceWithDimensions
-
- net.minecraft.structure.SwampHutGenerator
-
public class SwampHutGenerator extends StructurePieceWithDimensions
- Mappings:
Namespace Name official dapintermediary net/minecraft/class_3447named net/minecraft/structure/SwampHutGenerator
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanhasCatprivate booleanhasWitch-
从类继承的字段 net.minecraft.structure.StructurePieceWithDimensions
depth, height, hPos, width
-
从类继承的字段 net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
-
构造器概要
构造器 构造器 说明 SwampHutGenerator(Random random, int int2, int int3)SwampHutGenerator(ServerWorld serverWorld, CompoundTag nbt)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleangenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)private voidspawnCat(ServerWorldAccess world, BlockBox box)protected voidwriteNbt(ServerWorld world, CompoundTag nbt)-
从类继承的方法 net.minecraft.structure.StructurePieceWithDimensions
method_14839
-
从类继承的方法 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, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
-
-
-
字段详细资料
-
hasWitch
private boolean hasWitch
- Mappings:
Namespace Name Mixin selector official eLdap;e:Zintermediary field_15322Lnet/minecraft/class_3447;field_15322:Znamed hasWitchLnet/minecraft/structure/SwampHutGenerator;hasWitch:Z
-
hasCat
private boolean hasCat
- Mappings:
Namespace Name Mixin selector official fLdap;f:Zintermediary field_16445Lnet/minecraft/class_3447;field_16445:Znamed hasCatLnet/minecraft/structure/SwampHutGenerator;hasCat:Z
-
-
构造器详细资料
-
SwampHutGenerator
public SwampHutGenerator(Random random, int int2, int int3)
- Mappings:
Namespace Name Mixin selector official <init>Ldap;<init>(Ljava/util/Random;II)Vintermediary <init>Lnet/minecraft/class_3447;<init>(Ljava/util/Random;II)Vnamed <init>Lnet/minecraft/structure/SwampHutGenerator;<init>(Ljava/util/Random;II)V
-
SwampHutGenerator
public SwampHutGenerator(ServerWorld serverWorld, CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official <init>Ldap;<init>(Labj;Lmv;)Vintermediary <init>Lnet/minecraft/class_3447;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/structure/SwampHutGenerator;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;)V
-
-
方法详细资料
-
writeNbt
protected void writeNbt(ServerWorld world, CompoundTag nbt)
- 覆盖:
writeNbt在类中StructurePieceWithDimensions- 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
-
spawnCat
private void spawnCat(ServerWorldAccess world, BlockBox box)
- Mappings:
Namespace Name Mixin selector official aLdap;a(Lbwf;Lczr;)Vintermediary method_16181Lnet/minecraft/class_3447;method_16181(Lnet/minecraft/class_5425;Lnet/minecraft/class_3341;)Vnamed spawnCatLnet/minecraft/structure/SwampHutGenerator;spawnCat(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockBox;)V
-
-