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 cyr
intermediary net/minecraft/class_5444
named net/minecraft/world/gen/decorator/DecoratorContext
  • Field Details

    • world

      private final StructureWorldAccess world
      Mappings:
      Namespace Name Mixin selector
      official a Lcyr;a:Lbwm;
      intermediary field_25857 Lnet/minecraft/class_5444;field_25857:Lnet/minecraft/class_5281;
      named world Lnet/minecraft/world/gen/decorator/DecoratorContext;world:Lnet/minecraft/world/StructureWorldAccess;
    • generator

      private final ChunkGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official b Lcyr;b:Lclm;
      intermediary field_25858 Lnet/minecraft/class_5444;field_25858:Lnet/minecraft/class_2794;
      named generator Lnet/minecraft/world/gen/decorator/DecoratorContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
  • Constructor Details

    • DecoratorContext

      public DecoratorContext(StructureWorldAccess world, ChunkGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcyr;<init>(Lbwm;Lclm;)V
      intermediary <init> Lnet/minecraft/class_5444;<init>(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;)V
      named <init> Lnet/minecraft/world/gen/decorator/DecoratorContext;<init>(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;)V
  • Method Details

    • getTopY

      public int getTopY(Heightmap.Type heightmap, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyr;a(Lcor$a;II)I
      intermediary method_30460 Lnet/minecraft/class_5444;method_30460(Lnet/minecraft/class_2902$class_2903;II)I
      named getTopY Lnet/minecraft/world/gen/decorator/DecoratorContext;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
    • getMinY

      public int getMinY()
      Specified by:
      getMinY in interface HeightContext
      Mappings:
      Namespace Name Mixin selector
      official a Lcpg;a()I
      intermediary method_30462 Lnet/minecraft/class_5868;method_30462()I
      named getMinY Lnet/minecraft/world/gen/HeightContext;getMinY()I
    • getMaxY

      public int getMaxY()
      Specified by:
      getMaxY in interface HeightContext
      Mappings:
      Namespace Name Mixin selector
      official b Lcpg;b()I
      intermediary method_30458 Lnet/minecraft/class_5868;method_30458()I
      named getMaxY Lnet/minecraft/world/gen/HeightContext;getMaxY()I
    • getOrCreateCarvingMask

      public BitSet getOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official a Lcyr;a(Lbuw;Lcom$a;)Ljava/util/BitSet;
      intermediary method_30459 Lnet/minecraft/class_5444;method_30459(Lnet/minecraft/class_1923;Lnet/minecraft/class_2893$class_2894;)Ljava/util/BitSet;
      named getOrCreateCarvingMask Lnet/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 a Lcyr;a(Lgb;)Lcjr;
      intermediary method_30461 Lnet/minecraft/class_5444;method_30461(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/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 c Lcyr;c()I
      intermediary method_33868 Lnet/minecraft/class_5444;method_33868()I
      named getBottomY Lnet/minecraft/world/gen/decorator/DecoratorContext;getBottomY()I
    • getWorld

      public StructureWorldAccess getWorld()
      Mappings:
      Namespace Name Mixin selector
      official d Lcyr;d()Lbwm;
      intermediary method_34383 Lnet/minecraft/class_5444;method_34383()Lnet/minecraft/class_5281;
      named getWorld Lnet/minecraft/world/gen/decorator/DecoratorContext;getWorld()Lnet/minecraft/world/StructureWorldAccess;