Package net.minecraft.client.color.block
Interface BlockColorProvider
- Mappings:
Namespace Name official ewkintermediary net/minecraft/class_322named net/minecraft/client/color/block/BlockColorProvider
-
Method Summary
Modifier and TypeMethodDescriptionintgetColor(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 getColorLewk;getColor(Ldjh;Lcss;Lhx;I)Iintermediary getColorLnet/minecraft/class_322;getColor(Lnet/minecraft/class_2680;Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;I)Inamed getColorLnet/minecraft/client/color/block/BlockColorProvider;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;I)I
-