Class DecoratorContext
java.lang.Object
net.minecraft.world.gen.decorator.DecoratorContext
- All Implemented Interfaces:
class_5868
public class DecoratorContext extends Object implements class_5868
- Mappings:
Namespace Name official cwnintermediary net/minecraft/class_5444named net/minecraft/world/gen/decorator/DecoratorContext
-
Field Summary
Fields Modifier and Type Field Description private ChunkGeneratorgeneratorprivate StructureWorldAccessworld -
Constructor Summary
Constructors Constructor Description DecoratorContext(StructureWorldAccess world, ChunkGenerator generator) -
Method Summary
Modifier and Type Method Description BlockStategetBlockState(BlockPos pos)intgetMaxY()intgetMinY()BitSetgetOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)intgetTopY(Heightmap.Type heightmap, int x, int z)intmethod_33868()
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official aLcwn;a:Lbvj;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
- Mappings:
Namespace Name Mixin selector official bLcwn;b:Lckh;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;
-
-
Constructor Details
-
DecoratorContext
- Mappings:
Namespace Name Mixin selector official <init>Lcwn;<init>(Lbvj;Lckh;)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
-
-
Method Details
-
getTopY
- Mappings:
Namespace Name Mixin selector official aLcwn;a(Lcnk$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()- Specified by:
getMinYin interfaceclass_5868- Mappings:
Namespace Name Mixin selector official aLcny;a()Iintermediary method_30462Lnet/minecraft/class_5868;method_30462()Inamed getMinYLnet/minecraft/class_5868;getMinY()I
-
getMaxY
public int getMaxY()- Specified by:
getMaxYin interfaceclass_5868- Mappings:
Namespace Name Mixin selector official bLcny;b()Iintermediary method_30458Lnet/minecraft/class_5868;method_30458()Inamed getMaxYLnet/minecraft/class_5868;getMaxY()I
-
getOrCreateCarvingMask
- Mappings:
Namespace Name Mixin selector official aLcwn;a(Lbtt;Lcng$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
- Mappings:
Namespace Name Mixin selector official aLcwn;a(Lfx;)Lcim;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;
-
method_33868
public int method_33868()- Mappings:
Namespace Name Mixin selector official cLcwn;c()Iintermediary method_33868Lnet/minecraft/class_5444;method_33868()Inamed method_33868Lnet/minecraft/world/gen/decorator/DecoratorContext;method_33868()I
-