Class HeightContext

java.lang.Object
net.minecraft.world.gen.HeightContext
Direct Known Subclasses:
CarverContext, FeaturePlacementContext

public class HeightContext extends Object
Mappings:
Namespace Name
official dhw
intermediary net/minecraft/class_5868
named net/minecraft/world/gen/HeightContext
  • Field Details

    • minY

      private final int minY
      Mappings:
      Namespace Name Mixin selector
      official a Ldhw;a:I
      intermediary field_34030 Lnet/minecraft/class_5868;field_34030:I
      named minY Lnet/minecraft/world/gen/HeightContext;minY:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official b Ldhw;b:I
      intermediary field_34031 Lnet/minecraft/class_5868;field_34031:I
      named height Lnet/minecraft/world/gen/HeightContext;height:I
  • Constructor Details

    • HeightContext

      public HeightContext(ChunkGenerator generator, HeightLimitView world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldhw;<init>(Lddo;Lcmk;)V
      intermediary <init> Lnet/minecraft/class_5868;<init>(Lnet/minecraft/class_2794;Lnet/minecraft/class_5539;)V
      named <init> Lnet/minecraft/world/gen/HeightContext;<init>(Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/HeightLimitView;)V
  • Method Details

    • getMinY

      public int getMinY()
      Mappings:
      Namespace Name Mixin selector
      official a Ldhw;a()I
      intermediary method_30462 Lnet/minecraft/class_5868;method_30462()I
      named getMinY Lnet/minecraft/world/gen/HeightContext;getMinY()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official b Ldhw;b()I
      intermediary method_30458 Lnet/minecraft/class_5868;method_30458()I
      named getHeight Lnet/minecraft/world/gen/HeightContext;getHeight()I