public class FakePlayer extends EntityPlayerMP
EntityPlayer.EnumChatVisibility, EntityPlayer.SleepResultconnection, currentWindowId, interactionManager, isChangingQuantityOnly, managedPosX, managedPosZ, mcServer, ping, playerConqueredTheEndbedLocation, cameraYaw, capabilities, chasingPosX, chasingPosY, chasingPosZ, experience, experienceLevel, experienceTotal, eyeHeight, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, MAIN_HAND, openContainer, PERSISTED_NBT_TAG, PLAYER_MODEL_FLAG, prevCameraYaw, prevChasingPosX, prevChasingPosY, prevChasingPosZ, renderOffsetX, renderOffsetY, renderOffsetZ, sleeping, speedInAir, speedOnGround, xpCooldownactiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, HAND_STATES, hurtTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, fireResistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj| Constructor and Description | 
|---|
FakePlayer(WorldServer world,
          com.mojang.authlib.GameProfile name)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChatComponentMessage(ITextComponent chatmessagecomponent)  | 
void | 
addStat(StatBase par1StatBase,
       int par2)  | 
boolean | 
canAttackPlayer(EntityPlayer player)  | 
boolean | 
canCommandSenderUseCommand(int i,
                          java.lang.String s)  | 
Entity | 
changeDimension(int dim)  | 
Vec3d | 
getPositionVector()  | 
void | 
handleClientSettings(CPacketClientSettings pkt)  | 
boolean | 
isEntityInvulnerable(DamageSource source)  | 
void | 
onDeath(DamageSource source)  | 
void | 
onUpdate()  | 
void | 
openGui(java.lang.Object mod,
       int modGuiId,
       World world,
       int x,
       int y,
       int z)
Opens a GUI with this player, uses FML's IGuiHandler system. 
 | 
addChatMessage, addEntity, addExperienceLevel, addSelfToInternalCraftingInventory, attackEntityFrom, attackTargetEntityWithCurrentItem, clearElytraFlying, clearInvulnerableDimensionChange, clonePlayer, closeContainer, closeScreen, createCooldownTracker, decrementTimeUntilPortal, dismountRidingEntity, displayGui, displayGUIChest, displayGuiCommandBlock, displayVillagerTradeGui, frostWalk, getChatVisibility, getLastActiveTime, getNextWindowId, getPlayerIP, getPosition, getServerWorld, getSpectatingEntity, getStatFile, getTabListDisplayName, handleFalling, hasAchievement, isCreative, isInvulnerableDimensionChange, isSpectatedByPlayer, isSpectator, loadResourcePack, markPlayerActive, mountEntityAndWakeUp, onChangedPotionEffect, onCriticalHit, onEnchantmentCritical, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onNewPotionEffect, onUpdateEntity, openBook, openEditSign, openGuiHorseInventory, readEntityFromNBT, removeEntity, removeExperienceLevel, sendAllWindowProperties, sendContainerToPlayer, sendEndCombat, sendEnterCombat, sendPlayerAbilities, sendProgressBarUpdate, sendSlotContents, setElytraFlying, setEntityActionState, setGameType, setPlayerHealthUpdated, setPositionAndUpdate, setSpectatingEntity, startRiding, swingArm, takeStat, trySleep, updateBiomesExplored, updateCraftingInventory, updateFallState, updateHeldItem, updatePotionMetadata, wakeUpPlayer, writeEntityToNBTaddExhaustion, addExperience, addMovementStat, addPrefix, addScore, addStat, addSuffix, addToPlayerScore, applyEntityAttributes, applyEntityCollision, canEat, canHarvestBlock, canOpen, canPlayerEdit, canTriggerWalking, canUseCommandBlock, damageArmor, damageEntity, damageShield, displayGuiEditCommandCart, dropItem, dropItem, dropItem, dropItemAndGetStack, entityInit, fall, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorInventoryList, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBedSpawnLocation, getCapability, getCooldownPeriod, getCooldownTracker, getCooledAttackStrength, getDeathSound, getDefaultEyeHeight, getDigSpeed, getDigSpeed, getDisplayName, getDisplayNameString, getExperiencePoints, getEyeHeight, getFallSound, getFoodStats, getGameProfile, getHeldEquipment, getHurtSound, getInventoryEnderChest, getItemStackFromSlot, getLuck, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getPrefixes, getPrimaryHand, getScore, getSleepTimer, getSoundCategory, getSplashSound, getSuffixes, getSwimSound, getTeam, getUUID, getWorldScoreboard, getXPSeed, getYOffset, handleStatusUpdate, hasCapability, hasReducedDebug, interact, isAllowEdit, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isUser, isWearing, jump, moveEntityWithHeading, onKillEntity, onLivingUpdate, openEditStructure, playSound, preparePlayerToSpawn, refreshDisplayName, registerFixesPlayer, replaceItemInInventory, resetCooldown, resetHeight, respawnPlayer, sendCommandFeedback, setAbsorptionAmount, setDead, setInWeb, setItemStackToSlot, setPrimaryHand, setReducedDebug, setScore, setSpawnChunk, setSpawnPoint, shouldHeal, spawnSweepParticles, updateEntityActionState, updateRidden, updateSize, xpBarCapaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackEntityAsMob, attemptTeleport, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, dropLoot, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttackingEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLastDamageSource, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getWaterSlowDown, handleJumpLava, handleJumpWater, heal, isActiveItemStackBlocking, isChild, isElytraFlying, isEntityAlive, isEntityUndead, isHandActive, isOnLadder, isPotionActive, isPotionApplicable, isServerWorld, kill, knockBack, markPotionsDirty, notifyDataManagerChange, onDeathUpdate, onEntityUpdate, onKillCommand, performHurtAnimation, playEquipSound, playHurtSound, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setHeldItem, setJumping, setLastAttacker, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, stopActiveHand, updateActiveHand, updateArmSwingProgress, updateDistance, updateItemUse, updatePotionEffectsaddEntityCrashInfo, addPassenger, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, canBeAttackedWithItem, canBeRidden, canFitPassenger, canPassengerSteer, canRenderOnFire, canRiderInteract, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, deserializeNBT, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getFlag, getForward, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLowestRidingEntity, getMaxFallHeight, getMirroredYaw, getMountedYOffset, getParts, getPassengers, getPersistentID, getPickedResult, getPitchYaw, getPositionEyes, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getTags, getTeleportDirection, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSprinting, isWet, moveEntity, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onStruckByLightning, playStepSound, processInitialInteract, pushOutOfBlocks, rayTrace, readFromNBT, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetEntityId, resetPositionToBB, serializeNBT, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCommandStats, setCustomNameTag, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSize, setSneaking, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, toString, updatePassenger, verifyExplosion, writeToNBT, writeToNBTAtomically, writeToNBTOptionalpublic FakePlayer(WorldServer world, com.mojang.authlib.GameProfile name)
public Vec3d getPositionVector()
getPositionVector in interface ICommandSendergetPositionVector in class Entitypublic boolean canCommandSenderUseCommand(int i,
                                          java.lang.String s)
canCommandSenderUseCommand in interface ICommandSendercanCommandSenderUseCommand in class EntityPlayerMPpublic void addChatComponentMessage(ITextComponent chatmessagecomponent)
addChatComponentMessage in class EntityPlayerMPpublic void addStat(StatBase par1StatBase, int par2)
addStat in class EntityPlayerMPpublic void openGui(java.lang.Object mod,
                    int modGuiId,
                    World world,
                    int x,
                    int y,
                    int z)
EntityPlayeropenGui in class EntityPlayermod - The mod trying to open a GUImodGuiId - GUI IDworld - Current Worldx - Passed directly to IGuiHandler, data meaningless Typically world X positiony - Passed directly to IGuiHandler, data meaningless Typically world Y positionz - Passed directly to IGuiHandler, data meaningless Typically world Z positionpublic boolean isEntityInvulnerable(DamageSource source)
isEntityInvulnerable in class EntityPlayerMPpublic boolean canAttackPlayer(EntityPlayer player)
canAttackPlayer in class EntityPlayerMPpublic void onDeath(DamageSource source)
onDeath in class EntityPlayerMPpublic void onUpdate()
onUpdate in class EntityPlayerMPpublic Entity changeDimension(int dim)
changeDimension in class EntityPlayerMPpublic void handleClientSettings(CPacketClientSettings pkt)
handleClientSettings in class EntityPlayerMP