net.minecraft.world.entity.projectile

public class ThrownTrident

extends AbstractArrow

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

buj
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>
ao
ID_LOYALTY
field_7647
LOYALTY
f_37558_
private static final EntityDataAccessor<Boolean>
ap
ID_FOIL
field_21514
ENCHANTED
f_37554_
private ItemStack
aq
tridentItem
field_7650
tridentStack
f_37555_
private boolean
ar
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)

Method summary

Modifier and TypeMethod
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
private boolean
C()
isAcceptibleReturnOwner()
method_7493()
isOwnerAlive()
m_37594_()
protected ItemStack
l()
getPickupItem()
method_7445()
asItemStack()
m_7941_()
public boolean
w()
isFoil()
method_23751()
isEnchanted()
m_37593_()
protected EntityHitResult
a(dvt arg0, dvt 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(dvq arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
public boolean
A()
isChanneling()
method_31551()
hasChanneling()
m_150194_()
protected boolean
a(btf arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
tryPickup(PlayerEntity arg0)
m_142470_(C_1141_ arg0)
protected SoundEvent
i()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
m_7239_()
public void
b_(btf arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
h()
tickDespawn()
method_7446()
age()
m_6901_()
protected float
t()
getWaterInertia()
method_7436()
getDragInWater()
m_6882_()
public boolean
j(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)