Package net.minecraft.client.color.block
Interface BlockColorProvider
- Mappings:
Namespace Name official egt
intermediary net/minecraft/class_322
named net/minecraft/client/color/block/BlockColorProvider
-
Method Summary
Modifier and TypeMethodDescriptionint
getColor
(BlockState state, @Nullable BlockRenderView world, @Nullable BlockPos pos, int tintIndex) Returns the color of the block state for the specified tint index, or -1 if not tinted.
-
Method Details
-
getColor
int getColor(BlockState state, @Nullable @Nullable BlockRenderView world, @Nullable @Nullable BlockPos pos, int tintIndex) Returns the color of the block state for the specified tint index, or -1 if not tinted.- Returns:
- the color of the block state for the specified tint index, or -1 if not tinted
- Mappings:
Namespace Name Mixin selector official getColor
Legt;getColor(Lcvo;Lcga;Lgt;I)I
intermediary getColor
Lnet/minecraft/class_322;getColor(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;I)I
named getColor
Lnet/minecraft/client/color/block/BlockColorProvider;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;I)I
-