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.unmapped.C_fdaeabmj
net.minecraft.entity.projectile.TridentEntity
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
f_iiroymhq
LOYALTY
LOYALTY
f_37558_
private static final EntityDataAccessor<Boolean>
h
ID_FOIL
field_21514
f_vqfmqabi
ENCHANTED
ENCHANTED
f_37554_
private boolean
i
dealtDamage
field_7648
f_bdiezjfn
dealtDamage
dealtDamage
f_37556_
public int
f
clientSideReturnTridentTickCount
field_7649
f_mndvrfka
returnTimer
returnTimer
f_37557_

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownTrident> p_37562_, Level world)
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)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
l()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
private boolean
J()
isAcceptibleReturnOwner()
method_7493()
m_tlimoycr()
isOwnerAlive()
isOwnerAlive()
m_37594_()
public boolean
F()
isFoil()
method_23751()
m_fxqomwss()
isEnchanted()
isEnchanted()
m_37593_()
protected EntityHitResult
a(exc arg0, exc arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
m_kynuhxfa(C_vgpupfxx arg0, C_vgpupfxx arg1)
getEntityCollision(Vec3d arg0, Vec3d 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)
m_nkpdbvpp(C_wokbhynj arg0)
onEntityHit(EntityHitResult 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)
m_heznywam(C_bdwnwhiu arg0, C_jdakttms arg1, C_sddaxwyk arg2)
onBlockHitEnchantmentEffects(ServerWorld arg0, BlockHitResult arg1, ItemStack arg2)
hitBlockEnchantmentEffects(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()
m_ywnmbdjz()
getWeaponStack()
getWeaponStack()
m_338776_()
protected boolean
a(cmx arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
m_ovuszxpo(C_jzrpycqo arg0)
tryPickup(PlayerEntity arg0)
tryPickup(PlayerEntity arg0)
m_142470_(C_1141_ arg0)
protected ItemStack
x()
getDefaultPickupItem()
method_57314()
m_ijqsvqvi()
getDefaultItemStack()
getDefaultItemStack()
m_321416_()
protected SoundEvent
t()
getDefaultHitGroundSoundEvent()
method_7440()
m_vwewtmfb()
getHitSound()
getHitSound()
m_7239_()
public void
b_(cmx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
m_ghqcprlw(C_jzrpycqo arg0)
onPlayerCollision(PlayerEntity arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
private byte
c(cuq arg0)
getLoyaltyFromItem(ItemStack arg0)
method_59960(class_1799 arg0)
m_npjzerbc(C_sddaxwyk arg0)
getLoyalty(ItemStack stack)
getLoyalty(ItemStack stack)
m_340499_(C_1391_ arg0)
public void
p()
tickDespawn()
method_7446()
m_sepatgdc()
age()
age()
m_6901_()
protected float
D()
getWaterInertia()
method_7436()
m_wrkmrnze()
getDragInWater()
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)
m_ryjpmajv(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
m_6000_(double p_37589_, double arg1, double arg2)