net.minecraft.world.entity.projectile

public abstract class Fireball

extends AbstractHurtingProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity, ItemSupplier

cnj
net.minecraft.world.entity.projectile.Fireball
net.minecraft.class_3855
net.minecraft.entity.projectile.AbstractFireballEntity
net.minecraft.src.C_1158_
net.minecraft.world.entity.projectile.EntityFireballFireball

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
e
DATA_ITEM_STACK
field_17081
ITEM
f_36987_

Constructor summary

ModifierConstructor
public (EntityType<? extends Fireball> p_37007_, Level arg1)
public (EntityType<? extends Fireball> p_36991_, double p_36992_, double p_342452_, double arg3, Vec3 arg4, Level arg5)
public (EntityType<? extends Fireball> p_37000_, LivingEntity p_342508_, Vec3 p_37004_, Level arg3)

Method summary

Modifier and TypeMethod
public void
a(cuq arg0)
setItem(ItemStack arg0)
method_16936(class_1799 arg0)
setItem(ItemStack stack)
m_37010_(C_1391_ arg0)
public ItemStack
p()
getItem()
method_7495()
getStack()
m_7846_()
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
private ItemStack
y()
getDefaultItem()
method_56685()
getItem()
m_319273_()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
m_141942_(int arg0)
public boolean
a(brk arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_344923_, float arg1)