类 DecoratorContext
- java.lang.Object
-
- net.minecraft.world.gen.decorator.DecoratorContext
-
- 所有已实现的接口:
HeightContext
public class DecoratorContext extends Object implements HeightContext
- Mappings:
Namespace Name official cyrintermediary net/minecraft/class_5444named net/minecraft/world/gen/decorator/DecoratorContext
-
-
字段概要
字段 修饰符和类型 字段 说明 private ChunkGeneratorgeneratorprivate StructureWorldAccessworld
-
构造器概要
构造器 构造器 说明 DecoratorContext(StructureWorldAccess world, ChunkGenerator generator)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BlockStategetBlockState(BlockPos pos)intgetBottomY()intgetMaxY()intgetMinY()BitSetgetOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)intgetTopY(Heightmap.Type heightmap, int x, int z)StructureWorldAccessgetWorld()
-
-
-
字段详细资料
-
world
private final StructureWorldAccess world
- Mappings:
Namespace Name Mixin selector official aLcyr;a:Lbwm;intermediary field_25857Lnet/minecraft/class_5444;field_25857:Lnet/minecraft/class_5281;named worldLnet/minecraft/world/gen/decorator/DecoratorContext;world:Lnet/minecraft/world/StructureWorldAccess;
-
generator
private final ChunkGenerator generator
- Mappings:
Namespace Name Mixin selector official bLcyr;b:Lclm;intermediary field_25858Lnet/minecraft/class_5444;field_25858:Lnet/minecraft/class_2794;named generatorLnet/minecraft/world/gen/decorator/DecoratorContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
-
构造器详细资料
-
DecoratorContext
public DecoratorContext(StructureWorldAccess world, ChunkGenerator generator)
- Mappings:
Namespace Name Mixin selector official <init>Lcyr;<init>(Lbwm;Lclm;)Vintermediary <init>Lnet/minecraft/class_5444;<init>(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;)Vnamed <init>Lnet/minecraft/world/gen/decorator/DecoratorContext;<init>(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)V
-
-
方法详细资料
-
getTopY
public int getTopY(Heightmap.Type heightmap, int x, int z)
- Mappings:
Namespace Name Mixin selector official aLcyr;a(Lcor$a;II)Iintermediary method_30460Lnet/minecraft/class_5444;method_30460(Lnet/minecraft/class_2902$class_2903;II)Inamed getTopYLnet/minecraft/world/gen/decorator/DecoratorContext;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
-
getMinY
public int getMinY()
- 指定者:
getMinY在接口中HeightContext- Mappings:
Namespace Name Mixin selector official aLcpg;a()Iintermediary method_30462Lnet/minecraft/class_5868;method_30462()Inamed getMinYLnet/minecraft/world/gen/HeightContext;getMinY()I
-
getMaxY
public int getMaxY()
- 指定者:
getMaxY在接口中HeightContext- Mappings:
Namespace Name Mixin selector official bLcpg;b()Iintermediary method_30458Lnet/minecraft/class_5868;method_30458()Inamed getMaxYLnet/minecraft/world/gen/HeightContext;getMaxY()I
-
getOrCreateCarvingMask
public BitSet getOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)
- Mappings:
Namespace Name Mixin selector official aLcyr;a(Lbuw;Lcom$a;)Ljava/util/BitSet;intermediary method_30459Lnet/minecraft/class_5444;method_30459(Lnet/minecraft/class_1923;Lnet/minecraft/class_2893$class_2894;)Ljava/util/BitSet;named getOrCreateCarvingMaskLnet/minecraft/world/gen/decorator/DecoratorContext;getOrCreateCarvingMask(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/GenerationStep$Carver;)Ljava/util/BitSet;
-
getBlockState
public BlockState getBlockState(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLcyr;a(Lgb;)Lcjr;intermediary method_30461Lnet/minecraft/class_5444;method_30461(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/gen/decorator/DecoratorContext;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getBottomY
public int getBottomY()
- Mappings:
Namespace Name Mixin selector official cLcyr;c()Iintermediary method_33868Lnet/minecraft/class_5444;method_33868()Inamed getBottomYLnet/minecraft/world/gen/decorator/DecoratorContext;getBottomY()I
-
getWorld
public StructureWorldAccess getWorld()
- Mappings:
Namespace Name Mixin selector official dLcyr;d()Lbwm;intermediary method_34383Lnet/minecraft/class_5444;method_34383()Lnet/minecraft/class_5281;named getWorldLnet/minecraft/world/gen/decorator/DecoratorContext;getWorld()Lnet/minecraft/world/StructureWorldAccess;
-
-