net.minecraft.world.item

public class TridentItem

extends Item implements ProjectileItem

All mapped superinterfaces:

FeatureElement, ItemLike, ProjectileItem

czi
net.minecraft.world.item.TridentItem
net.minecraft.class_1835
net.minecraft.item.TridentItem
net.minecraft.world.item.ItemTrident

Field summary

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

Constructor summary

ModifierConstructor
public (Item$Properties arg0)

Method summary

Modifier and TypeMethod
public static ItemAttributeModifiers
c()
createAttributes()
method_57395()
createAttributeModifiers()
public static Tool
d()
createToolProperties()
method_58420()
createToolComponent()
public boolean
a(dxv arg0, dhi arg1, jh arg2, cpx 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)
public ItemUseAnimation
b(cxp arg0)
getUseAnimation(ItemStack arg0)
method_7853(class_1799 arg0)
getUseAction(ItemStack arg0)
public int
a(cxp arg0, bwg arg1)
getUseDuration(ItemStack arg0, LivingEntity arg1)
method_7881(class_1799 arg0, class_1309 arg1)
getMaxUseTime(ItemStack arg0, LivingEntity arg1)
public boolean
a(cxp arg0, dhi arg1, bwg 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)
public InteractionResult
a(dhi arg0, cpx arg1, bti 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)
public boolean
a(cxp arg0, bwg arg1, bwg 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)
public void
b(cxp arg0, bwg arg1, bwg 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)
public Projectile
a(dhi arg0, ka arg1, cxp arg2, jm 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)