Interface BlockView

All Known Implementing Classes:
ChunkCache, ClientWorld, DemoServerWorld, MultiServerWorld, ServerWorld, World

public interface BlockView
Mappings:
Namespace Name
official ajw
intermediary net/minecraft/class_1158
named net/minecraft/world/BlockView
  • Method Details

    • getBlockEntity

      @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official r Lajw;r(Lco;)Lasc;
      intermediary method_8581 Lnet/minecraft/class_1158;method_8581(Lnet/minecraft/class_2552;)Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • getLight

      @Environment(CLIENT) int getLight(BlockPos pos, int minBlockLight)
      Mappings:
      Namespace Name Mixin selector
      official b Lajw;b(Lco;I)I
      intermediary method_8578 Lnet/minecraft/class_1158;method_8578(Lnet/minecraft/class_2552;I)I
      named getLight Lnet/minecraft/world/BlockView;getLight(Lnet/minecraft/util/math/BlockPos;I)I
    • getBlockState

      BlockState getBlockState(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official o Lajw;o(Lco;)Latl;
      intermediary method_8580 Lnet/minecraft/class_1158;method_8580(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • isAir

      boolean isAir(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d Lajw;d(Lco;)Z
      intermediary method_8579 Lnet/minecraft/class_1158;method_8579(Lnet/minecraft/class_2552;)Z
      named isAir Lnet/minecraft/world/BlockView;isAir(Lnet/minecraft/util/math/BlockPos;)Z
    • getBiome

      Mappings:
      Namespace Name Mixin selector
      official b Lajw;b(Lco;)Lakf;
      intermediary method_8577 Lnet/minecraft/class_1158;method_8577(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1170;
      named getBiome Lnet/minecraft/world/BlockView;getBiome(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/biome/Biome;
    • getStrongRedstonePower

      int getStrongRedstonePower(BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lajw;a(Lco;Lcv;)I
      intermediary method_8576 Lnet/minecraft/class_1158;method_8576(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named getStrongRedstonePower Lnet/minecraft/world/BlockView;getStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getGeneratorType

      Mappings:
      Namespace Name Mixin selector
      official L Lajw;L()Lajx;
      intermediary method_8575 Lnet/minecraft/class_1158;method_8575()Lnet/minecraft/class_1160;
      named getGeneratorType Lnet/minecraft/world/BlockView;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;