net.minecraft.entity

public class EyeOfEnderEntity

extends Entity implements FlyingItemEntity

All mapped superinterfaces:

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

net.minecraft.world.entity.projectile.EyeOfEnder
net.minecraft.class_1672
net.minecraft.entity.EyeOfEnderEntity

Field summary

Modifier and TypeField
private static final float
MIN_CAMERA_DISTANCE_SQUARED
field_52507
field_52507
private static final float
TOO_FAR_SIGNAL_HEIGHT
field_60555
field_60555
private static final float
TOO_FAR_DISTANCE
field_60556
field_60556
private static final TrackedData<ItemStack>
DATA_ITEM_STACK
field_17080
ITEM
private Vec3d
target
field_60557
targetPos
private int
life
field_7620
lifespan
private boolean
surviveAfterDeath
field_7621
dropsItem

Constructor summary

ModifierConstructor
public (EntityType<? extends EyeOfEnderEntity> type, World level)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public void
setItem(ItemStack source)
method_16933(class_1799 arg0)
setItem(ItemStack stack)
public ItemStack
getItem()
method_7495()
getStack()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
shouldRenderAtSqrDistance(double distance)
method_5640(double arg0)
shouldRender(double arg0)
public void
signalTo(Vec3 target)
method_7478(class_243 arg0)
initTargetPos(Vec3d pos)
public void
tick()
method_5773()
tick()
private void
spawnParticles(Vec3 origin, Vec3 movement)
method_71622(class_243 arg0, class_243 arg1)
addParticles(Vec3d pos, Vec3d velocity)
private static Vec3d
updateDeltaMovement(Vec3 oldMovement, Vec3 position, Vec3 target)
method_71621(class_243 arg0, class_243 arg1, class_243 arg2)
updateVelocity(Vec3d velocity, Vec3d currentPos, Vec3d targetPos)
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_56684()
getItem()
public float
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
public boolean
isAttackable()
method_5732()
isAttackable()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)