Uses of Interface
net.minecraft.world.level.BlockAndTintGetter
Package
Description
Extension interfaces for
client
-only classes.-
Uses of BlockAndTintGetter in net.minecraft.client.color.block
Modifier and TypeMethodDescriptionint
BlockColor.getColor
(BlockState p_92567_, BlockAndTintGetter p_92568_, BlockPos p_92569_, int p_92570_) int
BlockColors.getColor
(BlockState p_92578_, BlockAndTintGetter p_92579_, BlockPos p_92580_, int p_92581_) -
Uses of BlockAndTintGetter in net.minecraft.client.multiplayer
-
Uses of BlockAndTintGetter in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate static int
BiomeColors.getAverageColor
(BlockAndTintGetter p_108797_, BlockPos p_108798_, ColorResolver p_108799_) static int
BiomeColors.getAverageFoliageColor
(BlockAndTintGetter p_108805_, BlockPos p_108806_) static int
BiomeColors.getAverageGrassColor
(BlockAndTintGetter p_108794_, BlockPos p_108795_) static int
BiomeColors.getAverageWaterColor
(BlockAndTintGetter p_108812_, BlockPos p_108813_) static int
LevelRenderer.getLightColor
(BlockAndTintGetter p_109542_, BlockPos p_109543_) static int
LevelRenderer.getLightColor
(BlockAndTintGetter p_109538_, BlockState p_109539_, BlockPos p_109540_) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionFace.calculate
(BlockAndTintGetter p_111168_, BlockState p_111169_, BlockPos p_111170_, Direction p_111171_, float[] p_111172_, BitSet p_111173_, boolean p_111174_) private float
LiquidBlockRenderer.calculateAverageHeight
(BlockAndTintGetter p_203150_, Fluid p_203151_, float p_203152_, float p_203153_, float p_203154_, BlockPos p_203155_) private void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter p_111040_, BlockState p_111041_, BlockPos p_111042_, int[] p_111043_, Direction p_111044_, float[] p_111045_, BitSet p_111046_) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter p_203157_, Fluid p_203158_, BlockPos p_203159_) private float
LiquidBlockRenderer.getHeight
(BlockAndTintGetter p_203161_, Fluid p_203162_, BlockPos p_203163_, BlockState p_203164_, FluidState p_203165_) private int
LiquidBlockRenderer.getLightColor
(BlockAndTintGetter p_110946_, BlockPos p_110947_) int
ModelBlockRenderer.Cache.getLightColor
(BlockState p_111222_, BlockAndTintGetter p_111223_, BlockPos p_111224_) float
ModelBlockRenderer.Cache.getShadeBrightness
(BlockState p_111227_, BlockAndTintGetter p_111228_, BlockPos p_111229_) private void
ModelBlockRenderer.putQuadData
(BlockAndTintGetter p_111024_, BlockState p_111025_, BlockPos p_111026_, VertexConsumer p_111027_, PoseStack.Pose p_111028_, BakedQuad p_111029_, float p_111030_, float p_111031_, float p_111032_, float p_111033_, int p_111034_, int p_111035_, int p_111036_, int p_111037_, int p_111038_) void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_) Deprecated.void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_, ModelData modelData, RenderType renderType) void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_, ModelData modelData, RenderType renderType, boolean queryModelSpecificData) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_) Deprecated.void
BlockRenderDispatcher.renderBreakingTexture
(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_, ModelData modelData) void
BlockRenderDispatcher.renderLiquid
(BlockPos p_234364_, BlockAndTintGetter p_234365_, VertexConsumer p_234366_, BlockState p_234367_, FluidState p_234368_) private void
ModelBlockRenderer.renderModelFaceAO
(BlockAndTintGetter p_111013_, BlockState p_111014_, BlockPos p_111015_, PoseStack p_111016_, VertexConsumer p_111017_, List<BakedQuad> p_111018_, float[] p_111019_, BitSet p_111020_, ModelBlockRenderer.AmbientOcclusionFace p_111021_, int p_111022_) private void
ModelBlockRenderer.renderModelFaceFlat
(BlockAndTintGetter p_111002_, BlockState p_111003_, BlockPos p_111004_, int p_111005_, int p_111006_, boolean p_111007_, PoseStack p_111008_, VertexConsumer p_111009_, List<BakedQuad> p_111010_, BitSet p_111011_) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_203167_, BlockPos p_203168_, FluidState p_203169_, BlockState p_203170_, Direction p_203171_, FluidState p_203172_) void
LiquidBlockRenderer.tesselate
(BlockAndTintGetter p_234370_, BlockPos p_234371_, VertexConsumer p_234372_, BlockState p_234373_, FluidState p_234374_) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_234380_, BakedModel p_234381_, BlockState p_234382_, BlockPos p_234383_, PoseStack p_234384_, VertexConsumer p_234385_, boolean p_234386_, RandomSource p_234387_, long p_234388_, int p_234389_) Deprecated.void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, RandomSource p_111055_, long p_111056_, int p_111057_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, RandomSource p_111055_, long p_111056_, int p_111057_, ModelData modelData, RenderType renderType, boolean queryModelSpecificData) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_234391_, BakedModel p_234392_, BlockState p_234393_, BlockPos p_234394_, PoseStack p_234395_, VertexConsumer p_234396_, boolean p_234397_, RandomSource p_234398_, long p_234399_, int p_234400_) Deprecated.void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, RandomSource p_111086_, long p_111087_, int p_111088_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_234402_, BakedModel p_234403_, BlockState p_234404_, BlockPos p_234405_, PoseStack p_234406_, VertexConsumer p_234407_, boolean p_234408_, RandomSource p_234409_, long p_234410_, int p_234411_) Deprecated.void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, RandomSource p_111098_, long p_111099_, int p_111100_, ModelData modelData, RenderType renderType) -
Uses of BlockAndTintGetter in net.minecraft.client.renderer.chunk
-
Uses of BlockAndTintGetter in net.minecraft.server.level
-
Uses of BlockAndTintGetter in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionprotected static boolean
Animal.isBrightEnoughToSpawn
(BlockAndTintGetter p_186210_, BlockPos p_186211_) -
Uses of BlockAndTintGetter in net.minecraft.world.level
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
interface
-
Uses of BlockAndTintGetter in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooksClient.calculateFaceWithoutAO
(BlockAndTintGetter getter, BlockState state, BlockPos pos, BakedQuad quad, boolean isFaceCubic, float[] brightness, int[] lightmap) static TextureAtlasSprite[]
ForgeHooksClient.getFluidSprites
(BlockAndTintGetter level, BlockPos pos, FluidState fluidStateIn) -
Uses of BlockAndTintGetter in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault @NotNull ModelData
IForgeBakedModel.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) -
Uses of BlockAndTintGetter in net.minecraftforge.client.extensions.common
Modifier and TypeMethodDescriptiondefault ResourceLocation
IClientFluidTypeExtensions.getFlowingTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a flowing fluid.default ResourceLocation
IClientFluidTypeExtensions.getOverlayTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.default ResourceLocation
IClientFluidTypeExtensions.getStillTexture
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the reference of the texture to apply to a source fluid.default int
IClientFluidTypeExtensions.getTintColor
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the tint applied to the fluid's textures. -
Uses of BlockAndTintGetter in net.minecraftforge.client.model
Modifier and TypeMethodDescription@NotNull ModelData
BakedModelWrapper.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) @NotNull ModelData
CompositeModel.Baked.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) -
Uses of BlockAndTintGetter in net.minecraftforge.client.model.lighting
Modifier and TypeMethodDescriptionprotected void
FlatQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected abstract void
QuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos pos, BlockState state) protected void
SmoothQuadLighter.computeLightingAt
(BlockAndTintGetter level, BlockPos origin, BlockState state) static boolean
ForgeModelBlockRenderer.render
(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) final void
QuadLighter.setup
(BlockAndTintGetter level, BlockPos pos, BlockState state) void
ForgeModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ForgeModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of BlockAndTintGetter in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault BlockState
IForgeBlock.getAppearance
(BlockState state, BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this block reports to look like on the given side, for querying by other mods.default BlockState
IForgeBlockState.getAppearance
(BlockAndTintGetter level, BlockPos pos, Direction side, @Nullable BlockState queryState, @Nullable BlockPos queryPos) Returns theBlockState
that this state reports to look like on the given side for querying by other mods.default boolean
IForgeBlock.shouldDisplayFluidOverlay
(BlockState state, BlockAndTintGetter 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 boolean
IForgeBlockState.shouldDisplayFluidOverlay
(BlockAndTintGetter 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 BlockAndTintGetter in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionfinal boolean
FluidType.canBePlacedInLevel
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns whether the fluid can be placed in the level.final boolean
FluidType.canBePlacedInLevel
(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns whether the fluid can be placed in the level.FluidType.getBlockForFluidState
(BlockAndTintGetter getter, BlockPos pos, FluidState state) Returns the associatedBlockState
for aFluidState
.int
FluidType.getDensity
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the density of the fluid.int
FluidType.getLightLevel
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the light level emitted by the fluid.FluidType.getStateForPlacement
(BlockAndTintGetter getter, BlockPos pos, FluidStack stack) Returns theFluidState
when aFluidStack
is trying to place it.int
FluidType.getTemperature
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the temperature of the fluid.int
FluidType.getViscosity
(FluidState state, BlockAndTintGetter getter, BlockPos pos) Returns the viscosity, or thickness, of the fluid.