net.minecraft.world.item.component

public record DyedItemColor

implements TooltipProvider

cxj
net.minecraft.world.item.component.DyedItemColor
net.minecraft.class_9282
net.minecraft.unmapped.C_jlijuwug
net.minecraft.component.type.DyedColorComponent
net.minecraft.component.type.DyedColorComponent
net.minecraft.src.C_313801_
net.minecraft.world.item.component.DyedItemColor

Field summary

Modifier and TypeField
private final int
d
rgb
comp_2384
f_hrnvjzgb
rgb
rgb
f_314370_
private final boolean
e
showInTooltip
comp_2385
f_czxqdgtd
showInTooltip
shownInTooltip
f_314022_
private static final com.mojang.serialization.Codec<DyedItemColor>
f
FULL_CODEC
field_49750
f_suoghyoa
BASE_CODEC
FULL_CODEC
f_315345_
public static final com.mojang.serialization.Codec<DyedItemColor>
a
CODEC
field_49312
f_uvniimzo
CODEC
CODEC
f_316765_
public static final StreamCodec<io.netty.buffer.ByteBuf, DyedItemColor>
b
STREAM_CODEC
field_49313
f_bhhtbnsu
PACKET_CODEC
PACKET_CODEC
f_314233_
public static final int
c
LEATHER_COLOR
field_49314
f_haohpgud
DEFAULT_COLOR
DEFAULT_COLOR
f_315887_

Constructor summary

ModifierConstructor
public (int rgb, boolean shownInTooltip)

Method summary

Modifier and TypeMethod
public static int
a(cur arg0, int arg1)
getOrDefault(ItemStack arg0, int arg1)
method_57470(class_1799 arg0, int arg1)
m_xkqzbejo(C_sddaxwyk arg0, int arg1)
getColor(ItemStack stack, int defaultColor)
getColorOrDefault(ItemStack stack, int defaultColor)
m_322889_(C_1391_ p_327803_, int p_334743_)
public static ItemStack
a(cur arg0, List<ctl> arg1)
applyDyes(ItemStack arg0, List<DyeItem> arg1)
method_57471(class_1799 arg0, List<class_1769> arg1)
m_kqxwsjew(C_sddaxwyk arg0, List<C_rzoeobkx> arg1)
setColor(ItemStack stack, List<DyeItem> dyes)
setColor(ItemStack stack, List<DyeItem> dyes)
m_323436_(C_1391_ p_333863_, List<C_1354_> p_329585_)
public void
a(cum$b arg0, Consumer<xp> arg1, cwk arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig arg2)
m_319025_(C_1381_$C_313602_ p_332053_, Consumer<C_4996_> p_329372_, C_1431_ arg2)
public DyedItemColor
a(boolean arg0)
withTooltip(boolean arg0)
method_58422(boolean arg0)
m_qbwxvbvz(boolean arg0)
withShowInTooltip(boolean showInTooltip)
withShownInTooltip(boolean shownInTooltip)
m_320147_(boolean arg0)
public int
a()
rgb()
comp_2384()
m_wofmhwua()
rgb()
rgb()
f_314370_()
public boolean
b()
showInTooltip()
comp_2385()
m_utxciiny()
showInTooltip()
shownInTooltip()
f_314022_()