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 czv
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 Lczv;a:Lbxk;
      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 Lczv;b:Lcmn;
      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> Lczv;<init>(Lbxk;Lcmn;)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 Lczv;a(Lcps$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 Lcql;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 Lcql;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 Lczv;a(Lbvu;Lcpo$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 Lczv;a(Lgg;)Lcks;
      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 Lczv;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 Lczv;d()Lbxk;
      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;