net.minecraft.world.entity.projectile

public class ThrownTrident

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

coc
net.minecraft.world.entity.projectile.ThrownTrident
net.minecraft.class_1685
net.minecraft.entity.projectile.TridentEntity
net.minecraft.src.C_1179_
net.minecraft.world.entity.projectile.EntityThrownTrident

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
g
ID_LOYALTY
field_7647
LOYALTY
f_37558_
private static final EntityDataAccessor<Boolean>
h
ID_FOIL
field_21514
ENCHANTED
f_37554_
private boolean
i
dealtDamage
field_7648
dealtDamage
f_37556_
public int
f
clientSideReturnTridentTickCount
field_7649
returnTimer
f_37557_

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownTrident> p_37562_, Level arg1)
public (Level world, LivingEntity owner, ItemStack stack)
public (Level world, double x, double y, double z, ItemStack stack)

Method summary

Modifier and TypeMethod
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
private boolean
J()
isAcceptibleReturnOwner()
method_7493()
isOwnerAlive()
m_37594_()
public boolean
F()
isFoil()
method_23751()
isEnchanted()
m_37593_()
protected EntityHitResult
a(exc arg0, exc arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d arg0, Vec3d arg1)
m_6351_(C_3046_ p_37576_, C_3046_ arg1)
protected void
a(ewz arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(aqu arg0, ewy arg1, cuq arg2)
hitBlockEnchantmentEffects(ServerLevel arg0, BlockHitResult arg1, ItemStack arg2)
method_59956(class_3218 arg0, class_3965 arg1, class_1799 arg2)
onBlockHitEnchantmentEffects(ServerWorld arg0, BlockHitResult arg1, ItemStack arg2)
m_339443_(C_12_ p_343898_, C_3041_ p_344547_, C_1391_ arg2)
public ItemStack
dS()
getWeaponItem()
method_59958()
getWeaponStack()
m_338776_()
protected boolean
a(cmx arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
tryPickup(PlayerEntity arg0)
m_142470_(C_1141_ arg0)
protected ItemStack
x()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()
m_321416_()
protected SoundEvent
t()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
m_7239_()
public void
b_(cmx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
private byte
c(cuq arg0)
getLoyaltyFromItem(ItemStack arg0)
method_59960(class_1799 arg0)
getLoyalty(ItemStack stack)
m_340499_(C_1391_ arg0)
public void
p()
tickDespawn()
method_7446()
age()
m_6901_()
protected float
D()
getWaterInertia()
method_7436()
getDragInWater()
m_6882_()
public boolean
k(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
method_5727(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
m_6000_(double p_37589_, double arg1, double arg2)