Class DecoratorContext

java.lang.Object
net.minecraft.world.gen.HeightContext
net.minecraft.world.gen.decorator.DecoratorContext

public class DecoratorContext extends HeightContext
Mappings:
Namespace Name
official ddx
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 Lddx;a:Lcav;
      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 Lddx;b:Lcpz;
      intermediary field_35734 Lnet/minecraft/class_5444;field_35734:Lnet/minecraft/class_2794;
      named generator Lnet/minecraft/world/gen/decorator/DecoratorContext;generator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
    • placedFeature

      private final Optional<PlacedFeature> placedFeature
      Mappings:
      Namespace Name Mixin selector
      official c Lddx;c:Ljava/util/Optional;
      intermediary field_35735 Lnet/minecraft/class_5444;field_35735:Ljava/util/Optional;
      named placedFeature Lnet/minecraft/world/gen/decorator/DecoratorContext;placedFeature:Ljava/util/Optional;
  • Constructor Details

    • DecoratorContext

      public DecoratorContext(StructureWorldAccess world, ChunkGenerator generator, Optional<PlacedFeature> placedFeature)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddx;<init>(Lcav;Lcpz;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_5444;<init>(Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/world/gen/decorator/DecoratorContext;<init>(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Optional;)V
  • Method Details

    • getTopY

      public int getTopY(Heightmap.Type heightmap, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lddx;a(Lctc$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
    • getOrCreateCarvingMask

      public CarvingMask getOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep.Carver carver)
      Mappings:
      Namespace Name Mixin selector
      official a Lddx;a(Lbzk;Lcsy$a;)Lcpx;
      intermediary method_30459 Lnet/minecraft/class_5444;method_30459(Lnet/minecraft/class_1923;Lnet/minecraft/class_2893$class_2894;)Lnet/minecraft/class_6643;
      named getOrCreateCarvingMask Lnet/minecraft/world/gen/decorator/DecoratorContext;getOrCreateCarvingMask(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/GenerationStep$Carver;)Lnet/minecraft/world/gen/carver/CarvingMask;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lddx;a(Lgh;)Lcoc;
      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 Lddx;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 Lddx;d()Lcav;
      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;
    • getPlacedFeature

      public Optional<PlacedFeature> getPlacedFeature()
      Mappings:
      Namespace Name Mixin selector
      official e Lddx;e()Ljava/util/Optional;
      intermediary method_39652 Lnet/minecraft/class_5444;method_39652()Ljava/util/Optional;
      named getPlacedFeature Lnet/minecraft/world/gen/decorator/DecoratorContext;getPlacedFeature()Ljava/util/Optional;
    • getChunkGenerator

      public ChunkGenerator getChunkGenerator()
      Mappings:
      Namespace Name Mixin selector
      official f Lddx;f()Lcpz;
      intermediary method_39653 Lnet/minecraft/class_5444;method_39653()Lnet/minecraft/class_2794;
      named getChunkGenerator Lnet/minecraft/world/gen/decorator/DecoratorContext;getChunkGenerator()Lnet/minecraft/world/gen/chunk/ChunkGenerator;