net.minecraft.world.level

public interface BlockGetter

extends LevelHeightAccessor

diq
net.minecraft.world.level.BlockGetter
net.minecraft.class_1922
net.minecraft.world.BlockView

Field summary

Modifier and TypeField
int
g
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
field_54147
field_54147

Method summary

Modifier and TypeMethod
BlockEntity
c_(iv arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos pos)
default <T extends BlockEntity> Optional<T>
a(iv arg0, dxt<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_(iv arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos pos)
FluidState
b_(iv arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos pos)
default int
i(iv arg0)
getLightEmission(BlockPos arg0)
method_8317(class_2338 arg0)
getLuminance(BlockPos pos)
default Stream<BlockState>
a(fex arg0)
getBlockStates(AABB arg0)
method_29546(class_238 arg0)
getStatesInBox(Box box)
default BlockHitResult
a(dis arg0)
isBlockInLine(ClipBlockStateContext arg0)
method_32880(class_5702 arg0)
raycast(BlockStateRaycastContext context)
default BlockHitResult
a(dit arg0)
clip(ClipContext arg0)
method_17742(class_3959 arg0)
raycast(RaycastContext context)
default BlockHitResult
a(ffc arg0, ffc arg1, iv arg2, ffw arg3, eat 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(ffw arg0, Supplier<ffw> 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(iv arg0)
getBlockFloorHeight(BlockPos arg0)
method_30347(class_2338 arg0)
getDismountHeight(BlockPos pos)
static <T, C> T
a(ffc arg0, ffc arg1, C arg2, BiFunction<C, iv, 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 void
a(ffc arg0, ffc arg1, fex arg2, diq$a arg3)
forEachBlockIntersectedBetween(Vec3 arg0, Vec3 arg1, AABB arg2, BlockGetter$BlockStepVisitor arg3)
method_67677(class_243 arg0, class_243 arg1, class_238 arg2, class_1922$class_10781 arg3)
collectCollisionsBetween(Vec3d from, Vec3d to, Box box, BlockView$CollisionVisitor visitor)
private static int
a(it.unimi.dsi.fastutil.longs.LongSet arg0, ffc arg1, ffc arg2, fex arg3, diq$a arg4)
addCollisionsAlongTravel(it.unimi.dsi.fastutil.longs.LongSet arg0, Vec3 arg1, Vec3 arg2, AABB arg3, BlockGetter$BlockStepVisitor arg4)
method_61715(it.unimi.dsi.fastutil.longs.LongSet arg0, class_243 arg1, class_243 arg2, class_238 arg3, class_1922$class_10781 arg4)
collectCollisionsBetween(it.unimi.dsi.fastutil.longs.LongSet visited, Vec3d oldPos, Vec3d newPos, Box boundingBox, BlockView$CollisionVisitor visitor)