Interface TintSource
- All Known Implementing Classes:
ConstantTintSource,CustomModelDataTintSource,DyeTintSource,FireworkTintSource,GrassTintSource,MapColorTintSource,PotionTintSource,TeamTintSource
@Environment(CLIENT)
public interface TintSource
- Mappings:
Namespace Name named net/minecraft/client/render/item/tint/TintSourceintermediary net/minecraft/class_10401official gfg
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends TintSource> getCodec()intgetTint(ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity user)
-
Method Details
-
getTint
- Mappings:
Namespace Name Mixin selector named getTintLnet/minecraft/client/render/item/tint/TintSource;getTint(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;)Iintermediary method_65389Lnet/minecraft/class_10401;method_65389(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;)Iofficial aLgfg;a(Ldkg;Lhdr;Lchc;)I
-
getCodec
com.mojang.serialization.MapCodec<? extends TintSource> getCodec()- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/client/render/item/tint/TintSource;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_65387Lnet/minecraft/class_10401;method_65387()Lcom/mojang/serialization/MapCodec;official aLgfg;a()Lcom/mojang/serialization/MapCodec;
-