net.minecraft.world.level

public interface BlockGetter

extends LevelHeightAccessor

dgn
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_(jh arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos pos)
default <T extends BlockEntity> Optional<T>
a(jh arg0, duz<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_(jh arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos pos)
FluidState
b_(jh arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos pos)
default int
i(jh arg0)
getLightEmission(BlockPos arg0)
method_8317(class_2338 arg0)
getLuminance(BlockPos pos)
default Stream<BlockState>
a(fbt arg0)
getBlockStates(AABB arg0)
method_29546(class_238 arg0)
getStatesInBox(Box box)
default BlockHitResult
a(dgp arg0)
isBlockInLine(ClipBlockStateContext arg0)
method_32880(class_5702 arg0)
raycast(BlockStateRaycastContext context)
default BlockHitResult
a(dgq arg0)
clip(ClipContext arg0)
method_17742(class_3959 arg0)
raycast(RaycastContext context)
default BlockHitResult
a(fby arg0, fby arg1, jh arg2, fcs arg3, dxv 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(fcs arg0, Supplier<fcs> 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(jh arg0)
getBlockFloorHeight(BlockPos arg0)
method_30347(class_2338 arg0)
getDismountHeight(BlockPos pos)
static <T, C> T
a(fby arg0, fby arg1, C arg2, BiFunction<C, jh, 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(fby arg0, fby arg1, fbt 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<jh> arg0, fby arg1, fby arg2, fbt 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)