net.minecraft.world.level

public interface BlockGetter

extends LevelHeightAccessor

bzj
net.minecraft.world.level.BlockGetter
net.minecraft.class_1922
net.minecraft.world.BlockView
net.minecraft.src.C_1559_
net.minecraft.world.level.IBlockAccess

Method summary

Modifier and TypeMethod
BlockEntity
c_(gh arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos pos)
m_7702_(C_4675_ arg0)
default <T extends BlockEntity> Optional<T>
a(gh arg0, cmb<T> arg1)
getBlockEntity(BlockPos arg0, BlockEntityType<T> arg1)
method_35230(class_2338 arg0, class_2591<T> arg1)
getBlockEntity(BlockPos pos, BlockEntityType<T> type)
m_141902_(C_4675_ p_151368_, C_1992_<T> arg1)
BlockState
a_(gh arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos pos)
m_8055_(C_4675_ arg0)
FluidState
b_(gh arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos pos)
m_6425_(C_4675_ arg0)
default int
g(gh arg0)
getLightEmission(BlockPos arg0)
method_8317(class_2338 arg0)
getLuminance(BlockPos pos)
m_7146_(C_4675_ arg0)
default int
O()
getMaxLightLevel()
method_8315()
getMaxLightLevel()
m_7469_()
default Stream<BlockState>
a(doh arg0)
getBlockStates(AABB arg0)
method_29546(class_238 arg0)
getStatesInBox(Box box)
m_45556_(C_3040_ arg0)
default BlockHitResult
a(bzl arg0)
isBlockInLine(ClipBlockStateContext arg0)
method_32880(class_5702 arg0)
raycast(BlockStateRaycastContext context)
m_151353_(C_141182_ arg0)
default BlockHitResult
a(bzm arg0)
clip(ClipContext arg0)
method_17742(class_3959 arg0)
raycast(RaycastContext context)
m_45547_(C_1565_ arg0)
default BlockHitResult
a(dom arg0, dom arg1, gh arg2, dpf arg3, coc arg4)
clipWithInteractionOverride(Vec3 arg0, Vec3 arg1, BlockPos arg2, VoxelShape arg3, BlockState arg4)
method_17745(class_243 arg0, class_243 arg1, class_2338 arg2, class_265 arg3, class_2680 arg4)
raycastBlock(Vec3d start, Vec3d end, BlockPos pos, VoxelShape shape, BlockState state)
m_45558_(C_3046_ p_45560_, C_3046_ p_45561_, C_4675_ p_45562_, C_3072_ p_45563_, C_2064_ arg4)
default double
a(dpf arg0, Supplier<dpf> arg1)
getBlockFloorHeight(VoxelShape arg0, Supplier<VoxelShape> arg1)
method_30346(class_265 arg0, Supplier<class_265> arg1)
getDismountHeight(VoxelShape blockCollisionShape, Supplier<VoxelShape> belowBlockCollisionShapeGetter)
m_45564_(C_3072_ p_45566_, Supplier<C_3072_> arg1)
default double
h(gh arg0)
getBlockFloorHeight(BlockPos arg0)
method_30347(class_2338 arg0)
getDismountHeight(BlockPos pos)
m_45573_(C_4675_ arg0)
static <T, C> T
a(dom arg0, dom arg1, C arg2, BiFunction<C, gh, T> arg3, Function<C, T> arg4)
traverseBlocks(Vec3 arg0, Vec3 arg1, C arg2, BiFunction<C, BlockPos, T> arg3, Function<C, T> arg4)
method_17744(class_243 arg0, class_243 arg1, C arg2, BiFunction<C, class_2338, T> arg3, Function<C, T> arg4)
raycast(Vec3d start, Vec3d end, C context, BiFunction<C, BlockPos, T> blockHitFactory, Function<C, T> missFactory)
m_151361_(C_3046_ p_151362_, C_3046_ p_151363_, C p_151364_, BiFunction<C, C_4675_, T> p_151365_, Function<C, T> p_151366_)