net.minecraft.entity.projectile

public class TridentEntity

extends PersistentProjectileEntity

All mapped superinterfaces:

DataTracked, DebugTrackable, Nameable, HeldItemContext, EntityLike, UniquelyIdentifiable, ScoreHolder, ComponentsAccess, Ownable

daw
net.minecraft.world.entity.projectile.ThrownTrident
net.minecraft.class_1685
net.minecraft.entity.projectile.TridentEntity
net.minecraft.unmapped.C_fdaeabmj
net.minecraft.entity.projectile.TridentEntity
net.minecraft.src.C_1179_

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
f
ID_LOYALTY
field_7647
LOYALTY
f_iiroymhq
LOYALTY
f_37558_
private static final TrackedData<Boolean>
g
ID_FOIL
field_21514
ENCHANTED
f_vqfmqabi
ENCHANTED
f_37554_
private static final float
h
WATER_INERTIA
field_55019
DRAG_IN_WATER
f_giedgevm
f_371550_
private static final boolean
i
DEFAULT_DEALT_DAMAGE
field_57745
DEFAULT_DEALT_DAMAGE
f_xnprzhlv
f_380913_
private boolean
j
dealtDamage
field_7648
dealtDamage
f_bdiezjfn
dealtDamage
f_37556_
public int
d
clientSideReturnTridentTickCount
field_7649
returnTimer
f_mndvrfka
returnTimer
f_37557_

Constructor summary

ModifierConstructor
public (EntityType<? extends TridentEntity> type, World world)
public (World world, LivingEntity owner, ItemStack stack)
public (World world, double x, double y, double z, ItemStack stack)

Method summary

Modifier and TypeMethod
protected void
a(alq$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
g()
tick()
method_5773()
tick()
m_arkgrfeb()
tick()
m_8119_()
private boolean
B()
isAcceptibleReturnOwner()
method_7493()
isOwnerAlive()
m_tlimoycr()
isOwnerAlive()
m_37594_()
public boolean
x()
isFoil()
method_23751()
isEnchanted()
m_fxqomwss()
isEnchanted()
m_37593_()
protected EntityHitResult
b(foh o, foh arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d arg0, Vec3d arg1)
m_kynuhxfa(C_vgpupfxx arg0, C_vgpupfxx arg1)
getEntityCollision(Vec3d arg0, Vec3d arg1)
m_6351_(C_3046_ p_37576_, C_3046_ arg1)
protected void
a(foe arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_nkpdbvpp(C_wokbhynj arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(awx o, fod o, dhp 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_heznywam(C_bdwnwhiu arg0, C_jdakttms arg1, C_sddaxwyk arg2)
hitBlockEnchantmentEffects(ServerWorld arg0, BlockHitResult arg1, ItemStack arg2)
m_339443_(C_12_ p_343898_, C_3041_ p_344547_, C_1391_ arg2)
public ItemStack
el()
getWeaponItem()
method_59958()
getWeaponStack()
m_ywnmbdjz()
getWeaponStack()
m_338776_()
protected boolean
a(czl arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
tryPickup(PlayerEntity arg0)
m_ovuszxpo(C_jzrpycqo arg0)
tryPickup(PlayerEntity arg0)
m_142470_(C_1141_ arg0)
protected ItemStack
n()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()
m_ijqsvqvi()
getDefaultItemStack()
m_321416_()
protected SoundEvent
i()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
m_vwewtmfb()
getHitSound()
m_7239_()
public void
a_(czl arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_ghqcprlw(C_jzrpycqo arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected void
a(fip arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_obkzfysl(C_djkzhngg arg0)
readCustomData(DataReader arg0)
m_7378_(C_398549_ arg0)
protected void
a(fir arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_xuwbpohg(C_kespdwpv arg0)
writeCustomData(DataWriter arg0)
m_7380_(C_398537_ arg0)
private byte
b(dhp arg0)
getLoyaltyFromItem(ItemStack arg0)
method_59960(class_1799 arg0)
getLoyalty(ItemStack stack)
m_npjzerbc(C_sddaxwyk arg0)
getLoyalty(ItemStack stack)
m_340499_(C_1391_ arg0)
public void
f()
tickDespawn()
method_7446()
age()
m_sepatgdc()
age()
m_6901_()
protected float
u()
getWaterInertia()
method_7436()
getDragInWater()
m_wrkmrnze()
getDragInWater()
m_6882_()
public boolean
j(double o, 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_ryjpmajv(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
m_6000_(double p_37589_, double arg1, double arg2)