Uses of Interface
net.minecraft.world.level.BlockAndTintGetter
Package
Description
-
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 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 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_)
boolean
BlockRenderDispatcher.renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_)
Deprecated.boolean
BlockRenderDispatcher.renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_, IModelData modelData)
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_, IModelData modelData)
boolean
BlockRenderDispatcher.renderLiquid(BlockPos p_110933_, BlockAndTintGetter p_110934_, VertexConsumer p_110935_, FluidState p_110936_)
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_110949_, BlockPos p_110950_, FluidState p_110951_, BlockState p_110952_, Direction p_110953_)
boolean
LiquidBlockRenderer.tesselate(BlockAndTintGetter p_110955_, BlockPos p_110956_, VertexConsumer p_110957_, FluidState p_110958_)
boolean
ModelBlockRenderer.tesselateBlock(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, Random p_111055_, long p_111056_, int p_111057_)
Deprecated.boolean
ModelBlockRenderer.tesselateBlock(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, Random p_111055_, long p_111056_, int p_111057_, IModelData modelData)
boolean
ModelBlockRenderer.tesselateWithAO(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, Random p_111086_, long p_111087_, int p_111088_)
Deprecated.boolean
ModelBlockRenderer.tesselateWithAO(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, Random p_111086_, long p_111087_, int p_111088_, IModelData modelData)
boolean
ModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, Random p_111098_, long p_111099_, int p_111100_)
Deprecated.boolean
ModelBlockRenderer.tesselateWithoutAO(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, Random p_111098_, long p_111099_, int p_111100_, IModelData modelData)
-
Uses of BlockAndTintGetter in net.minecraft.client.renderer.chunk
-
Uses of BlockAndTintGetter in net.minecraft.client.resources.model
Modifier and TypeMethodDescriptionMultiPartBakedModel.getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
-
Uses of BlockAndTintGetter in net.minecraft.server.level
-
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 TextureAtlasSprite[]
ForgeHooksClient.getFluidSprites(BlockAndTintGetter world, BlockPos pos, FluidState fluidStateIn)
-
Uses of BlockAndTintGetter in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
-
Uses of BlockAndTintGetter in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionBakedModelWrapper.getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
CompositeModel.getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
-
Uses of BlockAndTintGetter in net.minecraftforge.client.model.data
Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,BakedModel>> selectors, BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
-
Uses of BlockAndTintGetter in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionstatic boolean
ForgeBlockModelRenderer.render(VertexLighterFlat lighter, BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData)
void
BlockInfo.setWorld(BlockAndTintGetter world)
void
VertexLighterFlat.setWorld(BlockAndTintGetter world)
boolean
ForgeBlockModelRenderer.tesselateWithAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
boolean
ForgeBlockModelRenderer.tesselateWithoutAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
-
Uses of BlockAndTintGetter in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.shouldDisplayFluidOverlay(BlockState state, BlockAndTintGetter world, 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 world, 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 TypeMethodDescriptionboolean
FluidAttributes.canBePlacedInWorld(BlockAndTintGetter reader, BlockPos pos, FluidState state)
boolean
FluidAttributes.canBePlacedInWorld(BlockAndTintGetter reader, BlockPos pos, FluidStack state)
boolean
FluidAttributes.doesVaporize(BlockAndTintGetter reader, BlockPos pos, FluidStack fluidStack)
Determines if this fluid should vaporize in dimensions where water vaporizes when placed.FluidAttributes.getBlock(BlockAndTintGetter reader, BlockPos pos, FluidState state)
int
FluidAttributes.getColor(BlockAndTintGetter world, BlockPos pos)
int
FluidAttributes.Water.getColor(BlockAndTintGetter world, BlockPos pos)
int
FluidAttributes.getDensity(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getEmptySound(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getFillSound(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getFlowingTexture(BlockAndTintGetter world, BlockPos pos)
int
FluidAttributes.getLuminosity(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getRarity(BlockAndTintGetter world, BlockPos pos)
FluidAttributes.getStateForPlacement(BlockAndTintGetter reader, BlockPos pos, FluidStack state)
FluidAttributes.getStillTexture(BlockAndTintGetter world, BlockPos pos)
int
FluidAttributes.getTemperature(BlockAndTintGetter world, BlockPos pos)
int
FluidAttributes.getViscosity(BlockAndTintGetter world, BlockPos pos)
boolean
FluidAttributes.isGaseous(BlockAndTintGetter world, BlockPos pos)