net.minecraft.client.color.item

public record Potion

implements ItemTintSource

fmx
net.minecraft.client.color.item.Potion
net.minecraft.class_10404
net.minecraft.unmapped.C_bjbggtcy
net.minecraft.client.render.item.tint.PotionTintSource
net.minecraft.unmapped.C_bjbggtcy
net.minecraft.src.C_370391_

Field summary

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

Constructor summary

ModifierConstructor
public ()
public (int defaultColor)

Method summary

Modifier and TypeMethod
public int
a(cwq arg0, gga arg1, bvi arg2)
calculate(ItemStack arg0, ClientLevel arg1, LivingEntity arg2)
method_65389(class_1799 arg0, class_638 arg1, class_1309 arg2)
m_ktygvtzp(C_sddaxwyk arg0, C_ghdnlrrw arg1, C_usxaxydn arg2)
getTint(ItemStack arg0, ClientWorld arg1, LivingEntity arg2)
m_ktygvtzp(ItemStack arg0, ClientWorld arg1, LivingEntity arg2)
m_372762_(C_1391_ p_375615_, C_3899_ p_376005_, C_524_ arg2)
public com.mojang.serialization.MapCodec<Potion>
a()
type()
method_65387()
m_eevfuphq()
getCodec()
m_372060_()
public int
b()
defaultColor()
comp_3366()
m_acdffuds()
defaultColor()
defaultColor()
f_371288_()