Class DecoratorContext

java.lang.Object
net.minecraft.world.gen.decorator.DecoratorContext
All Implemented Interfaces:
HeightLimitView

public class DecoratorContext
extends Object
implements HeightLimitView
Mappings:
Namespace Name
official cup
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 Lcup;a:Lbup;
      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 Lcup;b:Lciz;
      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> Lcup;<init>(Lbup;Lciz;)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 Lcup;a(Lclx$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
    • getMaxY

      public int getMaxY()
      Mappings:
      Namespace Name Mixin selector
      official a Lcup;a()I
      intermediary method_30458 Lnet/minecraft/class_5444;method_30458()I
      named getMaxY Lnet/minecraft/world/gen/decorator/DecoratorContext;getMaxY()I
    • getSeaLevel

      public int getSeaLevel()
      Mappings:
      Namespace Name Mixin selector
      official b Lcup;b()I
      intermediary method_30462 Lnet/minecraft/class_5444;method_30462()I
      named getSeaLevel Lnet/minecraft/world/gen/decorator/DecoratorContext;getSeaLevel()I
    • getOrCreateCarvingMask

      public BitSet getOrCreateCarvingMask​(ChunkPos chunkPos, GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official a Lcup;a(Lbsz;Lclt$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 Lcup;a(Lfx;)Lchg;
      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;
    • getBottomSectionLimit

      public int getBottomSectionLimit()
      Specified by:
      getBottomSectionLimit in interface HeightLimitView
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbtw;w_()I
      intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
      named getBottomSectionLimit Lnet/minecraft/world/HeightLimitView;getBottomSectionLimit()I
    • getSectionCount

      public int getSectionCount()
      Specified by:
      getSectionCount in interface HeightLimitView
      Mappings:
      Namespace Name Mixin selector
      official o Lbtw;o()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      named getSectionCount Lnet/minecraft/world/HeightLimitView;getSectionCount()I