Package net.minecraft.entity.thrown
Class EyeOfEnderEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.EyeOfEnderEntity
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official ahkintermediary net/minecraft/class_991named net/minecraft/entity/thrown/EyeOfEnderEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate doubleprivate doubleprivate doubleFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionEyeOfEnderEntity(World world) EyeOfEnderEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetBrightnessAtEyes(float float2) intgetLightmapCoordinates(float float2) protected voidvoidinitTargetPos(BlockPos pos) Sets where the eye will fly towards.booleanvoidvoidsetVelocityClient(double x, double y, double z) booleanshouldRender(double distance) voidtick()voidMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, collides, copyPortalInfo, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, kill, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setWorld, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
targetX
private double targetX- Mappings:
Namespace Name Mixin selector official aLahk;a:Dintermediary field_4035Lnet/minecraft/class_991;field_4035:Dnamed targetXLnet/minecraft/entity/thrown/EyeOfEnderEntity;targetX:D
-
targetY
private double targetY- Mappings:
Namespace Name Mixin selector official bLahk;b:Dintermediary field_4036Lnet/minecraft/class_991;field_4036:Dnamed targetYLnet/minecraft/entity/thrown/EyeOfEnderEntity;targetY:D
-
targetZ
private double targetZ- Mappings:
Namespace Name Mixin selector official cLahk;c:Dintermediary field_4037Lnet/minecraft/class_991;field_4037:Dnamed targetZLnet/minecraft/entity/thrown/EyeOfEnderEntity;targetZ:D
-
lifespan
private int lifespan- Mappings:
Namespace Name Mixin selector official dLahk;d:Iintermediary field_4038Lnet/minecraft/class_991;field_4038:Inamed lifespanLnet/minecraft/entity/thrown/EyeOfEnderEntity;lifespan:I
-
dropsItem
private boolean dropsItem- Mappings:
Namespace Name Mixin selector official eLahk;e:Zintermediary field_4039Lnet/minecraft/class_991;field_4039:Znamed dropsItemLnet/minecraft/entity/thrown/EyeOfEnderEntity;dropsItem:Z
-
-
Constructor Details
-
EyeOfEnderEntity
- Mappings:
Namespace Name Mixin selector official <init>Lwv;<init>(Laqu;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
EyeOfEnderEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahk;<init>(Laqu;DDD)Vintermediary <init>Lnet/minecraft/class_991;<init>(Lnet/minecraft/class_1150;DDD)Vnamed <init>Lnet/minecraft/entity/thrown/EyeOfEnderEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLwv;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
- Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(D)Zintermediary method_2486Lnet/minecraft/class_864;method_2486(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
initTargetPos
Sets where the eye will fly towards. If close enough, it will fly directly towards it, otherwise, it will fly upwards, in the direction of the BlockPos.- Parameters:
pos- the block the eye of ender is drawn towards- Mappings:
Namespace Name Mixin selector official aLahk;a(Ldt;)Vintermediary method_11254Lnet/minecraft/class_991;method_11254(Lnet/minecraft/class_2552;)Vnamed initTargetPosLnet/minecraft/entity/thrown/EyeOfEnderEntity;initTargetPos(Lnet/minecraft/util/math/BlockPos;)V
-
setVelocityClient
- Overrides:
setVelocityClientin classEntity- Mappings:
Namespace Name Mixin selector official iLwv;i(DDD)Vintermediary method_2556Lnet/minecraft/class_864;method_2556(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick() -
writeCustomDataToNbt
- Specified by:
writeCustomDataToNbtin classEntity- Mappings:
Namespace Name Mixin selector official bLwv;b(Lfn;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Specified by:
readCustomDataFromNbtin classEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(Lfn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getBrightnessAtEyes
public float getBrightnessAtEyes(float float2) - Overrides:
getBrightnessAtEyesin classEntity- Mappings:
Namespace Name Mixin selector official cLwv;c(F)Fintermediary method_2533Lnet/minecraft/class_864;method_2533(F)Fnamed getBrightnessAtEyesLnet/minecraft/entity/Entity;getBrightnessAtEyes(F)F
-
getLightmapCoordinates
- Overrides:
getLightmapCoordinatesin classEntity- Mappings:
Namespace Name Mixin selector official bLwv;b(F)Iintermediary method_2524Lnet/minecraft/class_864;method_2524(F)Inamed getLightmapCoordinatesLnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
-
isAttackable
public boolean isAttackable()- Overrides:
isAttackablein classEntity- Mappings:
Namespace Name Mixin selector official aELwv;aE()Zintermediary method_2521Lnet/minecraft/class_864;method_2521()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-