Interface BlockSource

All Known Implementing Classes:
DeepslateBlockSource, DefaultBlockSource

public interface BlockSource
Mappings:
Namespace Name
official cok
intermediary net/minecraft/class_5840
named net/minecraft/world/gen/BlockSource
  • Method Summary

    Modifier and Type
    Method
    Description
    default BlockState
    get​(BlockPos pos)
     
    sample​(int x, int y, int z)
     
  • Method Details

    • get

      default BlockState get(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcok;a(Lgb;)Lcjx;
      intermediary method_36295 Lnet/minecraft/class_5840;method_36295(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named get Lnet/minecraft/world/gen/BlockSource;get(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • sample

      BlockState sample(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcok;a(III)Lcjx;
      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;