net.minecraft.entity.projectile

public abstract class AbstractFireballEntity

extends ExplosiveProjectileEntity implements FlyingItemEntity

All mapped superinterfaces:

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

net.minecraft.world.entity.projectile.hurtingprojectile.Fireball
net.minecraft.class_3855
net.minecraft.entity.projectile.AbstractFireballEntity

Field summary

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

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractFireballEntity> type, World level)
public (EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, Vec3d direction, World level)
public (EntityType<? extends AbstractFireballEntity> type, LivingEntity mob, Vec3d direction, World level)

Method summary

Modifier and TypeMethod
public void
setItem(ItemStack source)
method_16936(class_1799 arg0)
setItem(ItemStack stack)
protected void
playEntityOnFireExtinguishedSound()
method_36975()
playExtinguishSound()
public ItemStack
getItem()
method_7495()
getStack()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
private ItemStack
getDefaultItem()
method_56685()
getItem()
public StackReference
getSlot(int slot)
method_32318(int arg0)
getStackReference(int arg0)
public boolean
shouldRenderAtSqrDistance(double distance)
method_5640(double arg0)
shouldRender(double arg0)