public class EntityOtherPlayerMP extends AbstractClientPlayer
EntityPlayer.EnumChatVisibility, EntityPlayer.EnumStatus| Modifier and Type | Field and Description | 
|---|---|
| private boolean | isItemInUse | 
| private double | otherPlayerMPPitch | 
| private int | otherPlayerMPPosRotationIncrements | 
| private double | otherPlayerMPX | 
| private double | otherPlayerMPY | 
| private double | otherPlayerMPYaw | 
| private double | otherPlayerMPZ | 
cameraYaw, capabilities, chasingPosX, chasingPosY, chasingPosZ, experience, experienceLevel, experienceTotal, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, openContainer, playerLocation, prevCameraYaw, prevChasingPosX, prevChasingPosY, prevChasingPosZ, renderOffsetX, renderOffsetY, renderOffsetZ, sleeping, speedInAir, speedOnGround, xpCooldownarrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, field_70741_aB, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_181016_an, field_181017_ao, field_181018_ap, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj| Constructor and Description | 
|---|
| EntityOtherPlayerMP(World worldIn,
                   com.mojang.authlib.GameProfile gameProfileIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addChatMessage(IChatComponent component)Send a chat message to the CommandSender | 
| boolean | attackEntityFrom(DamageSource source,
                float amount)Called when the entity is attacked. | 
| boolean | canCommandSenderUseCommand(int permLevel,
                          java.lang.String commandName)Returns  trueif the CommandSender is allowed to execute the command,falseif not | 
| BlockPos | getPosition()Get the position in the world. | 
| void | onLivingUpdate()Called frequently so the entity can update its state every tick as required. | 
| void | onUpdate()Called to update the entity's position/logic. | 
| void | setCurrentItemOrArmor(int slotIn,
                     ItemStack stack)Sets the held item, or an armor slot. | 
| void | setPositionAndRotation2(double x,
                       double y,
                       double z,
                       float yaw,
                       float pitch,
                       int posRotationIncrements,
                       boolean p_180426_10_) | 
getDownloadImageSkin, getFovModifier, getLocationCape, getLocationSkin, getLocationSkin, getPlayerInfo, getSkinType, hasPlayerInfo, hasSkin, isSpectatoraddChatComponentMessage, addExhaustion, addExperience, addExperienceLevel, addMovementStat, addScore, addStat, addToPlayerScore, applyEntityAttributes, attackTargetEntityWithCurrentItem, canAttackPlayer, canEat, canHarvestBlock, canOpen, canPlayerEdit, canTriggerWalking, clearItemInUse, clonePlayer, closeScreen, damageArmor, damageEntity, destroyCurrentEquippedItem, displayGui, displayGUIBook, displayGUIChest, displayGUIHorse, displayVillagerTradeGui, dropItem, dropOneItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_175145_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorVisibility, getBedLocation, getBedOrientationInDegrees, getBedSpawnLocation, getCurrentArmor, getCurrentEquippedItem, getDeathSound, getDisplayName, getEquipmentInSlot, getExperiencePoints, getEyeHeight, getFallSoundString, getFoodStats, getGameProfile, getHeldItem, getHurtSound, getInventory, getInventoryEnderChest, getItemInUse, getItemInUseCount, getItemInUseDuration, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getScore, getSleepTimer, getSplashSound, getSwimSound, getTeam, getToolDigEfficiency, getTotalArmorValue, getUUID, getWorldScoreboard, getXPSeed, getYOffset, handleStatusUpdate, hasReducedDebug, interactWith, isAllowEdit, isBlocking, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isUser, isUsingItem, isWearing, joinEntityItemWithWorld, jump, moveEntityWithHeading, onCriticalHit, onDeath, onEnchantmentCritical, onItemUseFinish, onKillEntity, openEditCommandBlock, openEditSign, playSound, preparePlayerToSpawn, readEntityFromNBT, removeExperienceLevel, replaceItemInInventory, resetHeight, respawnPlayer, sendCommandFeedback, sendPlayerAbilities, setAbsorptionAmount, setDead, setGameType, setInWeb, setItemInUse, setReducedDebug, setScore, setSpawnPoint, shouldHeal, stopUsingItem, triggerAchievement, trySleep, updateEntityActionState, updateItemUse, updateRidden, wakeUpPlayer, writeEntityToNBT, xpBarCapaddPotionEffect, addRandomDrop, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, func_110146_f, func_181013_g, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getHealth, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, handleJumpLava, heal, isChild, isEntityAlive, isEntityUndead, isOnLadder, isOnSameTeam, isOnTeam, isPotionActive, isPotionActive, isPotionApplicable, isServerWorld, kill, knockBack, markPotionsDirty, mountEntity, onChangedPotionEffect, onDeathUpdate, onEntityUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setRevengeTarget, setRotationYawHead, setSprinting, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadataaddEntityCrashInfo, addVelocity, applyEnchantments, applyEntityCollision, canAttackWithItem, canRenderOnFire, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_174817_o, func_181012_aH, func_181014_aG, func_181015_d, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getCustomNameTag, getDataWatcher, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getFlag, getHorizontalFacing, getHoverEvent, getMaxFallHeight, getMountedYOffset, getNBTTagCompound, getParts, getPositionEyes, getPositionVector, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactAt, interactFirst, isBurning, isEating, isEntityEqual, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isRiding, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onStruckByLightning, playStepSound, pushOutOfBlocks, rayTrace, readFromNBT, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setSilent, setSize, setSneaking, setVelocity, setWorld, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptionalprivate boolean isItemInUse
private int otherPlayerMPPosRotationIncrements
private double otherPlayerMPX
private double otherPlayerMPY
private double otherPlayerMPZ
private double otherPlayerMPYaw
private double otherPlayerMPPitch
public EntityOtherPlayerMP(World worldIn, com.mojang.authlib.GameProfile gameProfileIn)
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom in class EntityPlayerpublic void setPositionAndRotation2(double x,
                                    double y,
                                    double z,
                                    float yaw,
                                    float pitch,
                                    int posRotationIncrements,
                                    boolean p_180426_10_)
setPositionAndRotation2 in class EntityLivingBasepublic void onUpdate()
onUpdate in class EntityPlayerpublic void onLivingUpdate()
onLivingUpdate in class EntityPlayerpublic void setCurrentItemOrArmor(int slotIn,
                                  ItemStack stack)
setCurrentItemOrArmor in class EntityPlayerpublic void addChatMessage(IChatComponent component)
addChatMessage in interface ICommandSenderaddChatMessage in class Entitypublic boolean canCommandSenderUseCommand(int permLevel,
                                          java.lang.String commandName)
true if the CommandSender is allowed to execute the command, false if notcanCommandSenderUseCommand in interface ICommandSendercanCommandSenderUseCommand in class Entitypublic BlockPos getPosition()
null is not allowed! If you are not an entity in the world, return
 the coordinates 0, 0, 0getPosition in interface ICommandSendergetPosition in class Entity