Class DefaultBlockSource

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

public class DefaultBlockSource extends Object implements BlockSource
Mappings:
Namespace Name
official cqh
intermediary net/minecraft/class_6341
named net/minecraft/world/gen/DefaultBlockSource
  • Field Details

    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      official a Lcqh;a:Lcks;
      intermediary field_33514 Lnet/minecraft/class_6341;field_33514:Lnet/minecraft/class_2680;
      named state Lnet/minecraft/world/gen/DefaultBlockSource;state:Lnet/minecraft/block/BlockState;
  • Constructor Details

    • DefaultBlockSource

      public DefaultBlockSource(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcqh;<init>(Lcks;)V
      intermediary <init> Lnet/minecraft/class_6341;<init>(Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/world/gen/DefaultBlockSource;<init>(Lnet/minecraft/block/BlockState;)V
  • Method Details

    • sample

      public BlockState sample(int x, int y, int z)
      Specified by:
      sample in interface BlockSource
      Mappings:
      Namespace Name Mixin selector
      official getBaseBlock Lcpg;getBaseBlock(III)Lcks;
      intermediary method_33831 Lnet/minecraft/class_5840;method_33831(III)Lnet/minecraft/class_2680;
      named sample Lnet/minecraft/world/gen/BlockSource;sample(III)Lnet/minecraft/block/BlockState;