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 cwn
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 Lcwn;a:Lbvj;
      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 Lcwn;b:Lckh;
      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> Lcwn;<init>(Lbvj;Lckh;)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 Lcwn;a(Lcnk$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 class_5868
      Mappings:
      Namespace Name Mixin selector
      official a Lcny;a()I
      intermediary method_30462 Lnet/minecraft/class_5868;method_30462()I
      named getMinY Lnet/minecraft/class_5868;getMinY()I
    • getMaxY

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

      public BitSet getOrCreateCarvingMask​(ChunkPos chunkPos, GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwn;a(Lbtt;Lcng$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 Lcwn;a(Lfx;)Lcim;
      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;
    • method_33868

      public int method_33868()
      Mappings:
      Namespace Name Mixin selector
      official c Lcwn;c()I
      intermediary method_33868 Lnet/minecraft/class_5444;method_33868()I
      named method_33868 Lnet/minecraft/world/gen/decorator/DecoratorContext;method_33868()I