net.minecraft.world.entity.projectile

public class ThrownEgg

extends ThrowableItemProjectile

All mapped superinterfaces:

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

cuc
net.minecraft.world.entity.projectile.ThrownEgg
net.minecraft.class_1681

Field summary

Modifier and TypeField
private static final EntityDimensions
a
ZERO_SIZED_DIMENSIONS
field_51894

Constructor summary

ModifierConstructor
public (EntityType<? extends ThrownEgg> arg0, Level arg1)
public (Level arg0, LivingEntity arg1, ItemStack arg2)
public (Level arg0, double arg1, double arg2, double arg3, ItemStack arg4)

Method summary

Modifier and TypeMethod
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
protected void
a(fgu arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
protected void
a(fgv arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
protected Item
f()
getDefaultItem()
method_16942()