net.minecraft.world.item

public class TridentItem

extends Item implements ProjectileItem

All mapped superinterfaces:

FeatureElement, ItemLike, ProjectileItem

cyj
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
PROJECTILE_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(dwy arg0, dgj arg1, ji arg2, coy 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(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 boolean
a(cwq arg0, dgj arg1, bvi 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(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)
public boolean
a(cwq arg0, bvi arg1, bvi 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(cwq arg0, bvi arg1, bvi 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(dgj arg0, kb arg1, cwq arg2, jn 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)