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 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_) 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_203144_, BlockAndTintGetter p_203145_, VertexConsumer p_203146_, BlockState p_203147_, FluidState p_203148_) 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_) boolean
LiquidBlockRenderer.tesselate
(BlockAndTintGetter p_203174_, BlockPos p_203175_, VertexConsumer p_203176_, BlockState p_203177_, FluidState p_203178_) 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.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 TextureAtlasSprite[]
ForgeHooksClient.getFluidSprites
(BlockAndTintGetter level, BlockPos pos, FluidState fluidStateIn) -
Uses of BlockAndTintGetter in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) -
Uses of BlockAndTintGetter in net.minecraftforge.client.model
Modifier and TypeMethodDescriptionBakedModelWrapper.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) CompositeModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) -
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 level, BlockPos pos, BlockState state, IModelData tileData) -
Uses of BlockAndTintGetter in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionstatic boolean
ForgeBlockModelRenderer.render
(VertexLighterFlat lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, Random rand, long seed, IModelData modelData) void
BlockInfo.setLevel
(BlockAndTintGetter level) void
VertexLighterFlat.setWorld
(BlockAndTintGetter level) boolean
ForgeBlockModelRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) boolean
ForgeBlockModelRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) -
Uses of BlockAndTintGetter in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault 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
FluidAttributes.canBePlacedInWorld
(BlockAndTintGetter reader, BlockPos pos, FluidState state) final 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 level, BlockPos pos) int
FluidAttributes.Water.getColor
(BlockAndTintGetter level, BlockPos pos) int
FluidAttributes.getDensity
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getEmptySound
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getFillSound
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getFlowingTexture
(BlockAndTintGetter level, BlockPos pos) int
FluidAttributes.getLuminosity
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getRarity
(BlockAndTintGetter level, BlockPos pos) FluidAttributes.getStateForPlacement
(BlockAndTintGetter reader, BlockPos pos, FluidStack state) FluidAttributes.getStillTexture
(BlockAndTintGetter level, BlockPos pos) int
FluidAttributes.getTemperature
(BlockAndTintGetter level, BlockPos pos) int
FluidAttributes.getViscosity
(BlockAndTintGetter level, BlockPos pos) boolean
FluidAttributes.isGaseous
(BlockAndTintGetter level, BlockPos pos)