net.minecraft.world.entity.projectile

public class ThrownTrident

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

crd
net.minecraft.world.entity.projectile.ThrownTrident
net.minecraft.class_1685
net.minecraft.entity.projectile.TridentEntity
net.minecraft.world.entity.projectile.EntityThrownTrident

Field summary

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

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownTrident> arg0, 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(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
h()
tick()
method_5773()
tick()
private boolean
G()
isAcceptibleReturnOwner()
method_7493()
isOwnerAlive()
public boolean
D()
isFoil()
method_23751()
isEnchanted()
protected EntityHitResult
c(fby arg0, fby arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d arg0, Vec3d arg1)
protected void
a(fbv arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
protected void
a(ash arg0, fbu arg1, cxp 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)
public ItemStack
ea()
getWeaponItem()
method_59958()
getWeaponStack()
protected boolean
a(cpx arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
tryPickup(PlayerEntity arg0)
protected ItemStack
v()
getDefaultPickupItem()
method_57314()
getDefaultItemStack()
protected SoundEvent
s()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
public void
a_(cpx arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
private byte
b(cxp arg0)
getLoyaltyFromItem(ItemStack arg0)
method_59960(class_1799 arg0)
getLoyalty(ItemStack stack)
public void
m()
tickDespawn()
method_7446()
age()
protected float
A()
getWaterInertia()
method_7436()
getDragInWater()
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)