net.minecraft.world.entity.projectile

public class ThrownTrident

extends AbstractArrow

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cqe
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>
e
ID_LOYALTY
field_7647
LOYALTY
private static final EntityDataAccessor<Boolean>
f
ID_FOIL
field_21514
ENCHANTED
private static final float
g
WATER_INERTIA
field_55019
field_55019
private boolean
h
dealtDamage
field_7648
dealtDamage
public int
d
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(akc$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(fbb arg0, fbb arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d arg0, Vec3d arg1)
protected void
a(fay arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
protected void
a(ard arg0, fax arg1, cwq 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
dZ()
getWeaponItem()
method_59958()
getWeaponStack()
protected boolean
a(coy 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_(coy arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
private byte
b(cwq 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)