Uses of Interface
net.minecraft.world.level.BlockAndLightGetter
Packages that use BlockAndLightGetter
Package
Description
-
Uses of BlockAndLightGetter in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement BlockAndLightGetter -
Uses of BlockAndLightGetter in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type BlockAndLightGetterModifier and TypeMethodDescriptionstatic intLevelRenderer.getLightCoords(LevelRenderer.BrightnessGetter brightnessGetter, BlockAndLightGetter level, BlockState state, BlockPos pos) static intLevelRenderer.getLightCoords(BlockAndLightGetter level, BlockPos pos) intLevelRenderer.BrightnessGetter.packedBrightness(BlockAndLightGetter level, BlockPos pos) -
Uses of BlockAndLightGetter in net.minecraft.client.renderer.block
Subinterfaces of BlockAndLightGetter in net.minecraft.client.renderer.blockClasses in net.minecraft.client.renderer.block that implement BlockAndLightGetter -
Uses of BlockAndLightGetter in net.minecraft.client.renderer.chunk
Classes in net.minecraft.client.renderer.chunk that implement BlockAndLightGetter -
Uses of BlockAndLightGetter in net.minecraft.server.level
Classes in net.minecraft.server.level that implement BlockAndLightGetter -
Uses of BlockAndLightGetter in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type BlockAndLightGetterModifier and TypeMethodDescriptionprotected static booleanAnimal.isBrightEnoughToSpawn(BlockAndLightGetter level, BlockPos pos) -
Uses of BlockAndLightGetter in net.minecraft.world.level
Subinterfaces of BlockAndLightGetter in net.minecraft.world.levelModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceinterfaceinterfaceClasses in net.minecraft.world.level that implement BlockAndLightGetter -
Uses of BlockAndLightGetter in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type BlockAndLightGetterModifier and TypeMethodDescriptiondefault BlockStateIBlockExtension.getAppearance(BlockState state, BlockAndLightGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this block reports to look like on the given side, for querying by other mods.default BlockStateIBlockStateExtension.getAppearance(BlockAndLightGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockStatethat this state reports to look like on the given side for querying by other mods.default booleanIBlockExtension.shouldDisplayFluidOverlay(BlockState state, BlockAndLightGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.default booleanIBlockStateExtension.shouldDisplayFluidOverlay(BlockAndLightGetter level, BlockPos pos, FluidState fluidState) Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid. -
Uses of BlockAndLightGetter in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type BlockAndLightGetterModifier and TypeMethodDescriptionfinal booleanFluidType.canBePlacedInLevel(BlockAndLightGetter getter, BlockPos pos, FluidState state) Returns whether the fluid can be placed in the level.final booleanFluidType.canBePlacedInLevel(BlockAndLightGetter getter, BlockPos pos, FluidStack stack) Returns whether the fluid can be placed in the level.FluidType.getBlockForFluidState(BlockAndLightGetter getter, BlockPos pos, FluidState state) Returns the associatedBlockStatefor aFluidState.intFluidType.getDensity(FluidState state, BlockAndLightGetter getter, BlockPos pos) Returns the density of the fluid.intFluidType.getLightLevel(FluidState state, BlockAndLightGetter getter, BlockPos pos) Returns the light level emitted by the fluid.FluidType.getStateForPlacement(BlockAndLightGetter getter, BlockPos pos, FluidStack stack) Returns theFluidStatewhen aFluidStackis trying to place it.intFluidType.getTemperature(FluidState state, BlockAndLightGetter getter, BlockPos pos) Returns the temperature of the fluid.intFluidType.getViscosity(FluidState state, BlockAndLightGetter getter, BlockPos pos) Returns the viscosity, or thickness, of the fluid.