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 abeintermediary 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_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, 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
addPassenger, addScoreboardTag, addVelocity, afterSpawn, animateDamage, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, collides, copyPosition, damage, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interact, interactAt, isAlive, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setWorld, setYaw, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateTrackedPositionAndAngles, updateVelocity, updateWaterState
-
Field Details
-
targetX
private double targetX- Mappings:
Namespace Name Mixin selector official aLabe;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 bLabe;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 cLabe;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 dLabe;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 eLabe;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>Lsn;<init>(Lajs;)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>Labe;<init>(Lajs;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 iLsn;i()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 aLsn;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 aLabe;a(Lco;)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 hLsn;h(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 bLsn;b(Ldu;)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 aLsn;a(Ldu;)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 eLsn;e(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 dLsn;d(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 aVLsn;aV()Zintermediary method_2521Lnet/minecraft/class_864;method_2521()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-