Class DecoratorContext
java.lang.Object
net.minecraft.world.gen.decorator.DecoratorContext
- All Implemented Interfaces:
HeightContext
public class DecoratorContext extends Object implements HeightContext
- Mappings:
Namespace Name official cyrintermediary 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)intgetBottomY()intgetMaxY()intgetMinY()BitSetgetOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)intgetTopY(Heightmap.Type heightmap, int x, int z)StructureWorldAccessgetWorld()
-
Field Details
-
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
- 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;
-
-
Constructor Details
-
DecoratorContext
- 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
-
-
Method Details
-
getTopY
- 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()- Specified by:
getMinYin interfaceHeightContext- 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()- Specified by:
getMaxYin interfaceHeightContext- 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
- 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
- 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
- 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;
-