net.minecraft.world.item

public class DyeItem

extends Item implements SignApplicator

All mapped superinterfaces:

FeatureElement, ItemLike, SignApplicator

cwn
net.minecraft.world.item.DyeItem
net.minecraft.class_1769
net.minecraft.item.DyeItem
net.minecraft.world.item.ItemDye

Field summary

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

Constructor summary

ModifierConstructor
public (DyeColor color, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cxp arg0, cpx arg1, bwg arg2, bti 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)
public DyeColor
b()
getDyeColor()
method_7802()
getColor()
public static DyeItem
a(cwm arg0)
byColor(DyeColor arg0)
method_7803(class_1767 arg0)
byColor(DyeColor color)
public boolean
a(dhi arg0, dwk arg1, boolean arg2, cpx arg3)
tryApplyToSign(Level arg0, SignBlockEntity arg1, boolean arg2, Player arg3)
method_49798(class_1937 arg0, class_2625 arg1, boolean arg2, class_1657 arg3)
useOnSign(World arg0, SignBlockEntity arg1, boolean arg2, PlayerEntity arg3)