net.minecraft.world.item

public class DyeItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cem
net.minecraft.world.item.DyeItem
net.minecraft.class_1769
net.minecraft.item.DyeItem
net.minecraft.src.C_1354_
net.minecraft.world.item.ItemDye

Field summary

Modifier and TypeField
private static final Map<DyeColor, DyeItem>
a
ITEM_BY_COLOR
field_7968
DYES
f_41076_
private final DyeColor
b
dyeColor
field_7969
color
f_41077_

Constructor summary

ModifierConstructor
public (DyeColor color, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cfv arg0, bym arg1, bfx arg2, bdx arg3)
interactLivingEntity(ItemStack arg0, Player arg1, LivingEntity arg2, InteractionHand arg3)
method_7847(class_1799 arg0, class_1657 arg1, class_1309 arg2, class_1268 arg3)
useOnEntity(ItemStack arg0, PlayerEntity arg1, LivingEntity arg2, Hand arg3)
m_6880_(C_1391_ p_41086_, C_1141_ p_41087_, C_524_ p_41088_, C_470_ arg3)
public DyeColor
d()
getDyeColor()
method_7802()
getColor()
m_41089_()
public static DyeItem
a(cel arg0)
byColor(DyeColor arg0)
method_7803(class_1767 arg0)
byColor(DyeColor color)
m_41082_(C_1353_ p_41083_)