net.minecraft.world.item

public class TridentItem

extends Item implements ProjectileItem

All mapped superinterfaces:

FeatureElement, ItemLike, ProjectileItem

cwn
net.minecraft.world.item.TridentItem
net.minecraft.class_1835
net.minecraft.item.TridentItem
net.minecraft.src.C_1433_
net.minecraft.world.item.ItemTrident

Field summary

Modifier and TypeField
public static final int
a
THROW_THRESHOLD_TIME
field_30926
MIN_DRAW_DURATION
f_151230_
public static final float
b
BASE_DAMAGE
field_30927
ATTACK_DAMAGE
f_151231_
public static final float
c
SHOOT_POWER
field_30928
THROW_SPEED
f_151232_

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
h()
createAttributes()
method_57395()
createAttributeModifiers()
m_322687_()
public static Tool
k()
createToolProperties()
method_58420()
createToolComponent()
m_324932_()
public boolean
a(dtc arg0, dcw arg1, jd arg2, cmx arg3)
canAttackBlock(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_7885(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
canMine(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
m_6777_(C_2064_ p_43410_, C_1596_ p_43411_, C_4675_ p_43412_, C_1141_ arg3)
public UseAnim
b(cuq arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
m_6164_(C_1391_ arg0)
public int
a(cuq arg0, btn arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
m_8105_(C_1391_ p_344216_, C_524_ arg1)
public void
a(cuq arg0, dcw arg1, btn arg2, int arg3)
releaseUsing(ItemStack arg0, Level arg1, LivingEntity arg2, int arg3)
method_7840(class_1799 arg0, class_1937 arg1, class_1309 arg2, int arg3)
onStoppedUsing(ItemStack arg0, World arg1, LivingEntity arg2, int arg3)
m_5551_(C_1391_ p_43395_, C_1596_ p_43396_, C_524_ p_43397_, int arg3)
public InteractionResultHolder<ItemStack>
a(dcw arg0, cmx arg1, bqq 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_43406_, C_1141_ p_43407_, C_470_ arg2)
private static boolean
i(cuq arg0)
isTooDamagedToUse(ItemStack arg0)
method_61168(class_1799 arg0)
isAboutToBreak(ItemStack stack)
m_340005_(C_1391_ p_344861_)
public boolean
a(cuq arg0, btn arg1, btn arg2)
hurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_7873(class_1799 arg0, class_1309 arg1, class_1309 arg2)
postHit(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_7579_(C_1391_ p_43391_, C_524_ p_43392_, C_524_ arg2)
public void
b(cuq arg0, btn arg1, btn arg2)
postHurtEnemy(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
method_59978(class_1799 arg0, class_1309 arg1, class_1309 arg2)
postDamageEntity(ItemStack arg0, LivingEntity arg1, LivingEntity arg2)
m_338515_(C_1391_ p_344554_, C_524_ p_343755_, C_524_ arg2)
public int
g()
getEnchantmentValue()
method_7837()
getEnchantability()
m_6473_()
public Projectile
a(dcw arg0, jw arg1, cuq arg2, ji arg3)
asProjectile(Level arg0, Position arg1, ItemStack arg2, Direction arg3)
method_58648(class_1937 arg0, class_2374 arg1, class_1799 arg2, class_2350 arg3)
createEntity(World arg0, Position arg1, ItemStack arg2, Direction arg3)
m_319847_(C_1596_ p_333679_, C_4703_ p_332911_, C_1391_ p_333212_, C_4687_ arg3)