类 EyeOfEnderEntity
- java.lang.Object
-
- net.minecraft.entity.Entity
-
- net.minecraft.entity.EyeOfEnderEntity
-
- 所有已实现的接口:
FlyingItemEntity,CommandOutput,Nameable,EntityLike
public class EyeOfEnderEntity extends Entity implements FlyingItemEntity
- Mappings:
Namespace Name official bjointermediary net/minecraft/class_1672named net/minecraft/entity/EyeOfEnderEntity
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleandropsItemprivate static TrackedData<ItemStack>ITEMprivate intlifespanprivate doubletargetXprivate doubletargetYprivate doubletargetZ-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
-
构造器概要
构造器 构造器 说明 EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world)EyeOfEnderEntity(World world, double x, double y, double z)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Packet<?>createSpawnPacket()floatgetBrightnessAtEyes()ItemStackgetStack()private ItemStackgetTrackedItem()protected voidinitDataTracker()voidinitTargetPos(BlockPos pos)Sets where the eye will fly towards.booleanisAttackable()voidreadCustomDataFromNbt(CompoundTag nbt)voidsetItem(ItemStack stack)voidsetVelocityClient(double x, double y, double z)booleanshouldRender(double distance)voidtick()voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collides, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandItemSlot, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playSound, playStepSound, playSwimSound, populateCrashReport, positionInPortal, pushAwayFrom, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
ITEM
private static final TrackedData<ItemStack> ITEM
- Mappings:
Namespace Name Mixin selector official bLbjo;b:Lvy;intermediary field_17080Lnet/minecraft/class_1672;field_17080:Lnet/minecraft/class_2940;named ITEMLnet/minecraft/entity/EyeOfEnderEntity;ITEM:Lnet/minecraft/entity/data/TrackedData;
-
targetX
private double targetX
- Mappings:
Namespace Name Mixin selector official cLbjo;c:Dintermediary field_7619Lnet/minecraft/class_1672;field_7619:Dnamed targetXLnet/minecraft/entity/EyeOfEnderEntity;targetX:D
-
targetY
private double targetY
- Mappings:
Namespace Name Mixin selector official dLbjo;d:Dintermediary field_7618Lnet/minecraft/class_1672;field_7618:Dnamed targetYLnet/minecraft/entity/EyeOfEnderEntity;targetY:D
-
targetZ
private double targetZ
- Mappings:
Namespace Name Mixin selector official eLbjo;e:Dintermediary field_7617Lnet/minecraft/class_1672;field_7617:Dnamed targetZLnet/minecraft/entity/EyeOfEnderEntity;targetZ:D
-
lifespan
private int lifespan
- Mappings:
Namespace Name Mixin selector official fLbjo;f:Iintermediary field_7620Lnet/minecraft/class_1672;field_7620:Inamed lifespanLnet/minecraft/entity/EyeOfEnderEntity;lifespan:I
-
dropsItem
private boolean dropsItem
- Mappings:
Namespace Name Mixin selector official arLbjo;ar:Zintermediary field_7621Lnet/minecraft/class_1672;field_7621:Znamed dropsItemLnet/minecraft/entity/EyeOfEnderEntity;dropsItem:Z
-
-
构造器详细资料
-
EyeOfEnderEntity
public EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
EyeOfEnderEntity
public EyeOfEnderEntity(World world, double x, double y, double z)
- Mappings:
Namespace Name Mixin selector official <init>Lbjo;<init>(Lbvr;DDD)Vintermediary <init>Lnet/minecraft/class_1672;<init>(Lnet/minecraft/class_1937;DDD)Vnamed <init>Lnet/minecraft/entity/EyeOfEnderEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
方法详细资料
-
setItem
public void setItem(ItemStack stack)
- Mappings:
Namespace Name Mixin selector official bLbjo;b(Lbpr;)Vintermediary method_16933Lnet/minecraft/class_1672;method_16933(Lnet/minecraft/class_1799;)Vnamed setItemLnet/minecraft/entity/EyeOfEnderEntity;setItem(Lnet/minecraft/item/ItemStack;)V
-
getTrackedItem
private ItemStack getTrackedItem()
- Mappings:
Namespace Name Mixin selector official hLbjo;h()Lbpr;intermediary method_16935Lnet/minecraft/class_1672;method_16935()Lnet/minecraft/class_1799;named getTrackedItemLnet/minecraft/entity/EyeOfEnderEntity;getTrackedItem()Lnet/minecraft/item/ItemStack;
-
getStack
public ItemStack getStack()
- 指定者:
getStack在接口中FlyingItemEntity- Mappings:
Namespace Name Mixin selector official gLbjs;g()Lbpr;intermediary method_7495Lnet/minecraft/class_3856;method_7495()Lnet/minecraft/class_1799;named getStackLnet/minecraft/entity/FlyingItemEntity;getStack()Lnet/minecraft/item/ItemStack;
-
initDataTracker
protected void initDataTracker()
- 指定者:
initDataTracker在类中Entity- Mappings:
Namespace Name Mixin selector official eLasl;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
shouldRender
public boolean shouldRender(double distance)
- 覆盖:
shouldRender在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
initTargetPos
public void initTargetPos(BlockPos pos)
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.- 参数:
pos- the block the eye of ender is drawn towards- Mappings:
Namespace Name Mixin selector official aLbjo;a(Lgb;)Vintermediary method_7478Lnet/minecraft/class_1672;method_7478(Lnet/minecraft/class_2338;)Vnamed initTargetPosLnet/minecraft/entity/EyeOfEnderEntity;initTargetPos(Lnet/minecraft/util/math/BlockPos;)V
-
setVelocityClient
public void setVelocityClient(double x, double y, double z)- 覆盖:
setVelocityClient在类中Entity- Mappings:
Namespace Name Mixin selector official kLasl;k(DDD)Vintermediary method_5750Lnet/minecraft/class_1297;method_5750(DDD)Vnamed setVelocityClientLnet/minecraft/entity/Entity;setVelocityClient(DDD)V
-
tick
public void tick()
-
writeCustomDataToNbt
public void writeCustomDataToNbt(CompoundTag nbt)
- 指定者:
writeCustomDataToNbt在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
public void readCustomDataFromNbt(CompoundTag nbt)
- 指定者:
readCustomDataFromNbt在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
getBrightnessAtEyes
public float getBrightnessAtEyes()
- 覆盖:
getBrightnessAtEyes在类中Entity- Mappings:
Namespace Name Mixin selector official aVLasl;aV()Fintermediary method_5718Lnet/minecraft/class_1297;method_5718()Fnamed getBrightnessAtEyesLnet/minecraft/entity/Entity;getBrightnessAtEyes()F
-
isAttackable
public boolean isAttackable()
- 覆盖:
isAttackable在类中Entity- Mappings:
Namespace Name Mixin selector official bWLasl;bW()Zintermediary method_5732Lnet/minecraft/class_1297;method_5732()Znamed isAttackableLnet/minecraft/entity/Entity;isAttackable()Z
-
createSpawnPacket
public Packet<?> createSpawnPacket()
- 指定者:
createSpawnPacket在类中Entity- Mappings:
Namespace Name Mixin selector official OLasl;O()Lpf;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
-