Class LayerTransitionBlockSource

java.lang.Object
net.minecraft.world.gen.LayerTransitionBlockSource
All Implemented Interfaces:
BlockSource

public class LayerTransitionBlockSource extends Object implements BlockSource
Mappings:
Namespace Name
official csz
intermediary net/minecraft/class_5842
named net/minecraft/world/gen/LayerTransitionBlockSource
  • Field Details

    • randomDeriver

      private final RandomDeriver randomDeriver
      Mappings:
      Namespace Name Mixin selector
      official a Lcsz;a:Lcsq;
      intermediary field_34587 Lnet/minecraft/class_5842;field_34587:Lnet/minecraft/class_6574;
      named randomDeriver Lnet/minecraft/world/gen/LayerTransitionBlockSource;randomDeriver:Lnet/minecraft/world/gen/random/RandomDeriver;
    • belowState

      @Nullable private final @Nullable BlockState belowState
      Mappings:
      Namespace Name Mixin selector
      official b Lcsz;b:Lcnd;
      intermediary field_35137 Lnet/minecraft/class_5842;field_35137:Lnet/minecraft/class_2680;
      named belowState Lnet/minecraft/world/gen/LayerTransitionBlockSource;belowState:Lnet/minecraft/block/BlockState;
    • aboveState

      @Nullable private final @Nullable BlockState aboveState
      Mappings:
      Namespace Name Mixin selector
      official c Lcsz;c:Lcnd;
      intermediary field_35138 Lnet/minecraft/class_5842;field_35138:Lnet/minecraft/class_2680;
      named aboveState Lnet/minecraft/world/gen/LayerTransitionBlockSource;aboveState:Lnet/minecraft/block/BlockState;
    • minY

      private final int minY
      Mappings:
      Namespace Name Mixin selector
      official d Lcsz;d:I
      intermediary field_35139 Lnet/minecraft/class_5842;field_35139:I
      named minY Lnet/minecraft/world/gen/LayerTransitionBlockSource;minY:I
    • maxY

      private final int maxY
      Mappings:
      Namespace Name Mixin selector
      official e Lcsz;e:I
      intermediary field_35140 Lnet/minecraft/class_5842;field_35140:I
      named maxY Lnet/minecraft/world/gen/LayerTransitionBlockSource;maxY:I
  • Constructor Details

    • LayerTransitionBlockSource

      public LayerTransitionBlockSource(RandomDeriver randomDeriver, @Nullable @Nullable BlockState belowState, @Nullable @Nullable BlockState aboveState, int minY, int maxY)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsz;<init>(Lcsq;Lcnd;Lcnd;II)V
      intermediary <init> Lnet/minecraft/class_5842;<init>(Lnet/minecraft/class_6574;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;II)V
      named <init> Lnet/minecraft/world/gen/LayerTransitionBlockSource;<init>(Lnet/minecraft/world/gen/random/RandomDeriver;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;II)V
  • Method Details

    • apply

      @Nullable public @Nullable BlockState apply(ChunkNoiseSampler sampler, int x, int y, int z)
      Specified by:
      apply in interface BlockSource
      Mappings:
      Namespace Name Mixin selector
      official apply Ldce;apply(Lcsh;III)Lcnd;
      intermediary apply Lnet/minecraft/class_6583;apply(Lnet/minecraft/class_6568;III)Lnet/minecraft/class_2680;
      named apply Lnet/minecraft/world/gen/BlockSource;apply(Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;III)Lnet/minecraft/block/BlockState;