net.minecraft.world.item

public class ShieldItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxs
net.minecraft.world.item.ShieldItem
net.minecraft.class_1819
net.minecraft.item.ShieldItem
net.minecraft.world.item.ItemShield

Field summary

Modifier and TypeField
public static final int
a
EFFECTIVE_BLOCK_DELAY
field_30918
field_30918
public static final float
b
MINIMUM_DURABILITY_DAMAGE
field_30919
MIN_DAMAGE_AMOUNT_TO_BREAK

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public Component
a(cwq arg0)
getName(ItemStack arg0)
method_7864(class_1799 arg0)
getName(ItemStack arg0)
public void
a(cwq arg0, cwm$b arg1, List<wp> arg2, cyi arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_7851(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
public ItemUseAnimation
b(cwq arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
public int
a(cwq arg0, bvi arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
public InteractionResult
a(dgj arg0, coy arg1, bsk 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)