net.minecraft.world.item

public class ShieldItem

extends Item implements Equipable

All mapped superinterfaces:

FeatureElement, ItemLike, Equipable, Vanishable

cnv
net.minecraft.world.item.ShieldItem
net.minecraft.class_1819
net.minecraft.item.ShieldItem
net.minecraft.src.C_1413_
net.minecraft.world.item.ItemShield

Field summary

Modifier and TypeField
public static final int
a
EFFECTIVE_BLOCK_DELAY
field_30918
field_30918
f_151182_
public static final float
b
MINIMUM_DURABILITY_DAMAGE
field_30919
MIN_DAMAGE_AMOUNT_TO_BREAK
f_151183_
public static final String
c
TAG_BASE_COLOR
field_30920
BASE_KEY
f_151184_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public String
j(cmy arg0)
getDescriptionId(ItemStack arg0)
method_7866(class_1799 arg0)
getTranslationKey(ItemStack arg0)
m_5671_(C_1391_ arg0)
public void
a(cmy arg0, ctp arg1, List<vf> arg2, coq arg3)
appendHoverText(ItemStack arg0, Level arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1937 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, World arg1, List<Text> arg2, TooltipContext arg3)
m_7373_(C_1391_ p_43095_, C_1596_ p_43096_, List<C_4996_> p_43097_, C_1431_ arg3)
public UseAnim
c(cmy arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
b(cmy arg0)
getUseDuration(ItemStack arg0)
method_7881(class_1799 arg0)
getMaxUseTime(ItemStack arg0)
m_8105_(C_1391_ arg0)
public InteractionResultHolder<ItemStack>
a(ctp arg0, cfi arg1, bka arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_43100_, C_1141_ p_43101_, C_470_ arg2)
public boolean
a(cmy arg0, cmy arg1)
isValidRepairItem(ItemStack arg0, ItemStack arg1)
method_7878(class_1799 arg0, class_1799 arg1)
canRepair(ItemStack arg0, ItemStack arg1)
m_6832_(C_1391_ p_43092_, C_1391_ arg1)
public static DyeColor
d(cmy arg0)
getColor(ItemStack arg0)
method_8013(class_1799 arg0)
getColor(ItemStack stack)
m_43102_(C_1391_ p_43103_)
public EquipmentSlot
g()
getEquipmentSlot()
method_7685()
getSlotType()
m_40402_()