Uses of Interface
net.minecraft.client.renderer.block.BlockAndTintGetter
Packages that use BlockAndTintGetter
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client-only classes.-
Uses of BlockAndTintGetter in net.minecraft.client.color.block
Methods in net.minecraft.client.color.block with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptiondefault intBlockTintSource.colorAsTerrainParticle(BlockState state, BlockAndTintGetter level, BlockPos pos) default intBlockTintSource.colorInWorld(BlockState state, BlockAndTintGetter level, BlockPos pos) -
Uses of BlockAndTintGetter in net.minecraft.client.multiplayer
Classes in net.minecraft.client.multiplayer that implement BlockAndTintGetter -
Uses of BlockAndTintGetter in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionprivate static intBiomeColors.getAverageColor(BlockAndTintGetter level, BlockPos pos, ColorResolver colorResolver) static intBiomeColors.getAverageDryFoliageColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageFoliageColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageGrassColor(BlockAndTintGetter level, BlockPos pos) static intBiomeColors.getAverageWaterColor(BlockAndTintGetter level, BlockPos pos) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.block
Classes in net.minecraft.client.renderer.block that implement BlockAndTintGetterFields in net.minecraft.client.renderer.block declared as BlockAndTintGetterMethods in net.minecraft.client.renderer.block with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionprivate floatFluidRenderer.calculateAverageHeight(BlockAndTintGetter level, Fluid type, float heightSelf, float height2, float height1, BlockPos cornerPos) private intModelBlockRenderer.computeTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex) private floatFluidRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos) private floatFluidRenderer.getHeight(BlockAndTintGetter level, Fluid fluidType, BlockPos pos, BlockState state, FluidState fluidState) intBlockModelLighter.Cache.getLightCoords(BlockState state, BlockAndTintGetter level, BlockPos pos) intBlockModelLighter.getLightCoords(BlockState state, BlockAndTintGetter level, BlockPos relativePos) private intFluidRenderer.getLightCoords(BlockAndTintGetter level, BlockPos pos) BlockStateModelSet.getParticleMaterial(BlockState blockState, BlockAndTintGetter level, BlockPos pos) floatBlockModelLighter.Cache.getShadeBrightness(BlockState state, BlockAndTintGetter level, BlockPos pos) private intModelBlockRenderer.getTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex) voidBlockModelLighter.prepareQuadAmbientOcclusion(BlockAndTintGetter level, BlockState state, BlockPos centerPosition, BakedQuad quad, QuadInstance outputInstance) voidBlockModelLighter.prepareQuadFlat(BlockAndTintGetter level, BlockState state, BlockPos pos, int lightCoords, BakedQuad quad, QuadInstance outputInstance) protected voidBlockModelLighter.prepareQuadShape(BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad, boolean ambientOcclusion) private voidModelBlockRenderer.putQuadWithTint(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad) private booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockPos pos, BlockState state, Direction direction, BlockPos neighborPos) private booleanModelBlockRenderer.shouldRenderFace(BlockAndTintGetter level, BlockState state, Direction direction, BlockPos neighborPos) Deprecated.voidFluidRenderer.tesselate(BlockAndTintGetter level, BlockPos pos, FluidRenderer.Output output, BlockState blockState, FluidState fluidState) private voidModelBlockRenderer.tesselateAmbientOcclusion(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos) voidModelBlockRenderer.tesselateBlock(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockPos pos, BlockState blockState, BlockStateModel model, long seed) private voidModelBlockRenderer.tesselateFlat(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.block.dispatch
Methods in net.minecraft.client.renderer.block.dispatch with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionvoidWeightedVariants.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> output) SingleVariant.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) @Nullable ObjectWeightedVariants.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) intWeightedVariants.materialFlags(BlockAndTintGetter level, BlockPos pos, BlockState state) WeightedVariants.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.block.dispatch.multipart
Methods in net.minecraft.client.renderer.block.dispatch.multipart with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionvoidMultiPartModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> output) @Nullable ObjectMultiPartModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) intMultiPartModel.materialFlags(BlockAndTintGetter level, BlockPos pos, BlockState state) MultiPartModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.chunk
Classes in net.minecraft.client.renderer.chunk that implement BlockAndTintGetter -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as BlockAndTintGetterModifier and TypeFieldDescriptionprivate final BlockAndTintGetterAddSectionGeometryEvent.SectionRenderingContext.regionMethods in net.neoforged.neoforge.client.event that return BlockAndTintGetterConstructors in net.neoforged.neoforge.client.event with parameters of type BlockAndTintGetterModifierConstructorDescriptionSectionRenderingContext(Function<ChunkSectionLayer, VertexConsumer> getOrCreateLayer, BlockAndTintGetter region, ModelBlockRenderer blockRenderer, BlockPos sectionOrigin) -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptiondefault voidBlockStateModelExtension.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> parts) Collects the parts of the model that should be rendered.default @Nullable ObjectBlockStateModelExtension.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) Collects all the data used by the model to produce renderable geometry.default booleanBlockStateModelExtension.hasMaterialFlag(BlockAndTintGetter level, BlockPos pos, BlockState state, int flag) Returns whether this model has the provided material flag.default intBlockStateModelExtension.materialFlags(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the material flags of this model.default Material.BakedBlockStateModelExtension.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) Returns the particle icon. -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptiondefault voidIClientBlockExtensions.collectDynamicTintValues(BlockState state, BlockAndTintGetter level, BlockPos pos, it.unimi.dsi.fastutil.ints.IntList tintValues) Collect tint values for blocks with a dynamic tint layer count. -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.fluid
Methods in net.neoforged.neoforge.client.fluid with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptiondefault intFluidTintSource.colorInWorld(BlockState state, BlockAndTintGetter level, BlockPos pos) default intFluidTintSource.colorInWorld(FluidState fluidState, BlockState blockState, BlockAndTintGetter level, BlockPos pos) booleanCustomFluidRenderer.renderFluid(FluidRenderer fluidRenderer, FluidState fluidState, BlockAndTintGetter getter, BlockPos pos, FluidRenderer.Output output, BlockState blockState) Called to allow rendering custom quads for a fluid during chunk meshing. -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.model
Methods in net.neoforged.neoforge.client.model with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionvoidDelegateBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> parts) voidDynamicBlockStateModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> parts) intDelegateBlockStateModel.materialFlags(BlockAndTintGetter level, BlockPos pos, BlockState state) DelegateBlockStateModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state) -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.model.ao
Methods in net.neoforged.neoforge.client.model.ao with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionprivate voidEnhancedBlockModelLighter.calculateAxisAligned(BlockAndTintGetter level, BlockState state, BlockPos pos, Direction direction, BakedQuad quad, QuadInstance outputInstance) Computes AO for an axis-aligned quad.(package private) AoCalculatedFaceFullFaceCalculator.calculateFace(BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) private voidFullFaceCalculator.calculateFaceUncached(AoCalculatedFace out, BlockAndTintGetter level, BlockState renderedState, BlockPos renderedPos, Direction direction, boolean shade, boolean sampleOutside) Computes the AO for a full face.private voidEnhancedBlockModelLighter.calculateIrregular(BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad, QuadInstance outputInstance) Computes AO for a general quad.voidEnhancedBlockModelLighter.prepareQuadAmbientOcclusion(BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad, QuadInstance outputInstance) voidEnhancedBlockModelLighter.prepareQuadFlat(BlockAndTintGetter level, BlockState state, BlockPos pos, int lightCoords, BakedQuad quad, QuadInstance outputInstance) -
Uses of BlockAndTintGetter in net.neoforged.neoforge.client.model.block
Methods in net.neoforged.neoforge.client.model.block with parameters of type BlockAndTintGetterModifier and TypeMethodDescriptionvoidCompositeBlockModel.collectParts(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random, List<BlockStateModelPart> parts) @Nullable ObjectCompositeBlockModel.createGeometryKey(BlockAndTintGetter level, BlockPos pos, BlockState state, RandomSource random) intCompositeBlockModel.materialFlags(BlockAndTintGetter level, BlockPos pos, BlockState state) CompositeBlockModel.particleMaterial(BlockAndTintGetter level, BlockPos pos, BlockState state)
ModelBlockRenderer.shouldRenderFace(BlockAndTintGetter, BlockPos, BlockState, Direction, BlockPos)instead