net.minecraft.client.color.item

public record Potion

implements ItemTintSource

foq
net.minecraft.client.color.item.Potion
net.minecraft.class_10404
net.minecraft.client.render.item.tint.PotionTintSource

Field summary

Modifier and TypeField
private final int
b
defaultColor
comp_3366
defaultColor
public static final com.mojang.serialization.MapCodec<Potion>
a
MAP_CODEC
field_55237
CODEC

Constructor summary

ModifierConstructor
public ()
public (int arg0)

Method summary

Modifier and TypeMethod
public int
a(cxy arg0, ghz arg1, bwr arg2)
calculate(ItemStack arg0, ClientLevel arg1, LivingEntity arg2)
method_65389(class_1799 arg0, class_638 arg1, class_1309 arg2)
getTint(ItemStack arg0, ClientWorld arg1, LivingEntity arg2)
public com.mojang.serialization.MapCodec<Potion>
a()
type()
method_65387()
getCodec()
public int
b()
defaultColor()
comp_3366()
defaultColor()