net.minecraft.world.entity.projectile

public class ThrownTrident

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

coe
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(ako$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
M()
isAcceptibleReturnOwner()
method_7493()
isOwnerAlive()
m_37594_()
public boolean
H()
isFoil()
method_23751()
isEnchanted()
m_37593_()
protected EntityHitResult
a(evt arg0, evt 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(evq arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
public boolean
K()
isChanneling()
method_31551()
hasChanneling()
m_150194_()
protected boolean
a(cmz 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
u()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
m_7239_()
public void
b_(cmz arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
p()
tickDespawn()
method_7446()
age()
m_6901_()
protected float
E()
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)