Interface BlockSource

All Known Implementing Classes:
DeepslateBlockSource, DefaultBlockSource, NoiseChunkGenerator.OreVeinSource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

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

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

    • get

      default BlockState get(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpg;a(Lgg;)Lcks;
      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 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;