net.minecraft.world.entity.projectile

public class ThrownEgg

extends ThrowableItemProjectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, TraceableEntity, ItemSupplier

crv
net.minecraft.world.entity.projectile.ThrownEgg
net.minecraft.class_1681
net.minecraft.entity.projectile.thrown.EggEntity

Field summary

Modifier and TypeField
private static final EntityDimensions
a
ZERO_SIZED_DIMENSIONS
field_51894
EMPTY_DIMENSIONS

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownEgg> 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
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
protected void
a(fdt arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
protected void
a(fdu arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult arg0)
protected Item
f()
getDefaultItem()
method_16942()
getDefaultItem()