net.minecraft.world.entity.projectile

public abstract class Fireball

extends AbstractHurtingProjectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity, ItemSupplier

cpl
net.minecraft.world.entity.projectile.Fireball
net.minecraft.class_3855
net.minecraft.entity.projectile.AbstractFireballEntity
net.minecraft.world.entity.projectile.EntityFireballFireball

Field summary

Modifier and TypeField
private static final float
d
MIN_CAMERA_DISTANCE_SQUARED
field_52508
MAX_RENDER_DISTANCE_WHEN_NEWLY_SPAWNED
private static final EntityDataAccessor<ItemStack>
e
DATA_ITEM_STACK
field_17081
ITEM

Constructor summary

ModifierConstructor
public (EntityType<? extends Fireball> arg0, Level arg1)
public (EntityType<? extends Fireball> arg0, double arg1, double arg2, double arg3, Vec3 arg4, Level arg5)
public (EntityType<? extends Fireball> arg0, LivingEntity arg1, Vec3 arg2, Level arg3)

Method summary

Modifier and TypeMethod
public void
a(cwq arg0)
setItem(ItemStack arg0)
method_16936(class_1799 arg0)
setItem(ItemStack stack)
protected void
aM()
playEntityOnFireExtinguishedSound()
method_36975()
playExtinguishSound()
public ItemStack
l()
getItem()
method_7495()
getStack()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
private ItemStack
v()
getDefaultItem()
method_56685()
getItem()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
getStackReference(int arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)