net.minecraft.world.level

public interface BlockGetter

extends LevelHeightAccessor

dfo
net.minecraft.world.level.BlockGetter
net.minecraft.class_1922
net.minecraft.world.BlockView
net.minecraft.world.level.IBlockAccess

Field summary

Modifier and TypeField
int
g
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
field_54147
field_54147

Method summary

Modifier and TypeMethod
BlockEntity
c_(ji arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos pos)
default <T extends BlockEntity> Optional<T>
a(ji arg0, duc<T> arg1)
getBlockEntity(BlockPos arg0, BlockEntityType<T> arg1)
method_35230(class_2338 arg0, class_2591<T> arg1)
getBlockEntity(BlockPos pos, BlockEntityType<T> type)
BlockState
a_(ji arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos pos)
FluidState
b_(ji arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos pos)
default int
i(ji arg0)
getLightEmission(BlockPos arg0)
method_8317(class_2338 arg0)
getLuminance(BlockPos pos)
default Stream<BlockState>
a(faw arg0)
getBlockStates(AABB arg0)
method_29546(class_238 arg0)
getStatesInBox(Box box)
default BlockHitResult
a(dfq arg0)
isBlockInLine(ClipBlockStateContext arg0)
method_32880(class_5702 arg0)
raycast(BlockStateRaycastContext context)
default BlockHitResult
a(dfr arg0)
clip(ClipContext arg0)
method_17742(class_3959 arg0)
raycast(RaycastContext context)
default BlockHitResult
a(fbb arg0, fbb arg1, ji arg2, fbv arg3, dwy 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)
default double
a(fbv arg0, Supplier<fbv> arg1)
getBlockFloorHeight(VoxelShape arg0, Supplier<VoxelShape> arg1)
method_30346(class_265 arg0, Supplier<class_265> arg1)
getDismountHeight(VoxelShape blockCollisionShape, Supplier<VoxelShape> belowBlockCollisionShapeGetter)
default double
j(ji arg0)
getBlockFloorHeight(BlockPos arg0)
method_30347(class_2338 arg0)
getDismountHeight(BlockPos pos)
static <T, C> T
a(fbb arg0, fbb arg1, C arg2, BiFunction<C, ji, 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)
static Iterable<BlockPos>
a(fbb arg0, fbb arg1, faw arg2)
boxTraverseBlocks(Vec3 arg0, Vec3 arg1, AABB arg2)
method_61714(class_243 arg0, class_243 arg1, class_238 arg2)
collectCollisionsBetween(Vec3d oldPos, Vec3d newPos, Box boundingBox)
private static void
a(Set<ji> arg0, fbb arg1, fbb arg2, faw arg3)
addCollisionsAlongTravel(Set<BlockPos> arg0, Vec3 arg1, Vec3 arg2, AABB arg3)
method_61715(Set<class_2338> arg0, class_243 arg1, class_243 arg2, class_238 arg3)
collectCollisionsBetween(Set<BlockPos> result, Vec3d oldPos, Vec3d newPos, Box boundingBox)