public class FakePlayer extends EntityPlayerMP
EntityPlayer.EnumChatVisibility, EntityPlayer.EnumStatus
Entity.EnumEntitySize
currentWindowId, destroyedItemsNetCache, isChangingQuantityOnly, loadedChunks, managedPosX, managedPosZ, mcServer, ping, playerConqueredTheEnd, playerNetServerHandler, theItemInWorldManager
cameraYaw, capabilities, experience, experienceLevel, experienceTotal, eyeHeight, field_71079_bU, field_71082_cx, field_71085_bR, field_71089_bV, field_71091_bM, field_71094_bP, field_71095_bQ, field_71096_bN, field_71097_bO, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, openContainer, PERSISTED_NBT_TAG, playerLocation, prevCameraYaw, sleeping, speedInAir, speedOnGround, xpCooldown
arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressInt
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
FakePlayer(WorldServer world,
com.mojang.authlib.GameProfile name) |
Modifier and Type | Method and Description |
---|---|
void |
addChatComponentMessage(IChatComponent chatmessagecomponent) |
void |
addStat(StatBase par1StatBase,
int par2)
Adds a value to a statistic field.
|
boolean |
canAttackPlayer(EntityPlayer player) |
boolean |
canCommandSenderUseCommand(int i,
java.lang.String s)
Returns true if the command sender is allowed to use the given command.
|
void |
func_147100_a(C15PacketClientSettings pkt) |
ChunkCoordinates |
getPlayerCoordinates()
Return the position for this command sender.
|
boolean |
isEntityInvulnerable()
Return whether this entity is invulnerable to damage.
|
void |
onDeath(DamageSource source)
Called when the mob's health reaches 0.
|
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
openGui(java.lang.Object mod,
int modGuiId,
World world,
int x,
int y,
int z) |
void |
travelToDimension(int dim)
Teleports the entity to another dimension.
|
addChatMessage, addExperienceLevel, addSelfToInternalCraftingInventory, attackEntityFrom, clonePlayer, closeContainer, closeScreen, displayGUIAnvil, displayGUIChest, displayGUIEnchantment, displayGUIHopperMinecart, displayGUIHorse, displayGUIMerchant, displayGUIWorkbench, func_143004_u, func_146093_a, func_146098_a, func_146100_a, func_146101_a, func_146102_a, func_146104_a, func_147096_v, func_147098_j, func_147099_x, getDefaultEyeHeight, getEyeHeight, getNextWindowId, getPlayerIP, getServerForPlayer, handleFalling, mountEntity, mountEntityAndWakeUp, onChangedPotionEffect, onCriticalHit, onEnchantmentCritical, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onNewPotionEffect, onUpdateEntity, readEntityFromNBT, requestTexturePackLoad, resetHeight, sendContainerAndContentsToPlayer, sendContainerToPlayer, sendPlayerAbilities, sendProgressBarUpdate, sendSlotContents, setEntityActionState, setGameType, setItemInUse, setPlayerHealthUpdated, setPositionAndUpdate, sleepInBedAt, updateFallState, updateHeldItem, wakeUpPlayer, writeEntityToNBT
addExhaustion, addExperience, addMovementStat, addScore, addToPlayerScore, applyEntityAttributes, attackTargetEntityWithCurrentItem, canEat, canHarvestBlock, canPlayerEdit, canTriggerWalking, clearItemInUse, damageArmor, damageEntity, destroyCurrentEquippedItem, displayGUIBook, dropOneItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_145748_c_, func_146067_o, func_146094_a, func_146095_a, func_146097_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBreakSpeed, getCommandSenderName, getCurrentArmor, getCurrentEquippedItem, getCurrentPlayerStrVsBlock, getDeathSound, getDisplayName, getEntityWorld, getEquipmentInSlot, getExperiencePoints, getFoodStats, getGameProfile, getHeldItem, getHideCape, getHideCape, getHurtSound, getInventoryEnderChest, getItemIcon, getItemInUse, getItemInUseCount, getItemInUseDuration, getLastActiveItems, getMaxInPortalTime, getPortalCooldown, getPosition, getScore, getSleepTimer, getSplashSound, getSwimSound, getTeam, getTotalArmorValue, getWorldScoreboard, getYOffset, handleHealthUpdate, interactWith, isBlocking, isCurrentToolAdventureModeExempt, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isUsingItem, joinEntityItemWithWorld, jump, moveEntityWithHeading, onKillEntity, onLivingUpdate, playSound, preparePlayerToSpawn, refreshDisplayName, respawnPlayer, setAbsorptionAmount, setCurrentItemOrArmor, setDead, setHideCape, setInWeb, setScore, setSpawnChunk, setSpawnChunk, shouldHeal, stopUsingItem, triggerAchievement, updateEntityActionState, updateItemUse, updateRidden, verifyRespawnCoordinates, xpBarCap
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, dropRareDrop, func_110142_aN, func_110146_f, func_142015_aE, func_146066_aG, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttributeMap, getCreatureAttribute, getEntityAttribute, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, heal, isAIEnabled, isChild, isClientWorld, isEntityAlive, isEntityUndead, isOnLadder, isOnSameTeam, isOnTeam, isPotionActive, isPotionActive, isPotionApplicable, kill, knockBack, onDeathUpdate, onEntityUpdate, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITasks, updateAITick, updateArmSwingProgress, updatePotionEffects
addEntityCrashInfo, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getFlag, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getShadowSize, getTeleportDirection, getUniqueID, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityEqual, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isWet, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onStruckByLightning, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public FakePlayer(WorldServer world, com.mojang.authlib.GameProfile name)
public boolean canCommandSenderUseCommand(int i, java.lang.String s)
EntityPlayerMP
canCommandSenderUseCommand
in interface ICommandSender
canCommandSenderUseCommand
in class EntityPlayerMP
public ChunkCoordinates getPlayerCoordinates()
EntityPlayerMP
getPlayerCoordinates
in interface ICommandSender
getPlayerCoordinates
in class EntityPlayerMP
public void addChatComponentMessage(IChatComponent chatmessagecomponent)
addChatComponentMessage
in class EntityPlayerMP
public void addStat(StatBase par1StatBase, int par2)
EntityPlayerMP
addStat
in class EntityPlayerMP
public void openGui(java.lang.Object mod, int modGuiId, World world, int x, int y, int z)
openGui
in class EntityPlayer
public boolean isEntityInvulnerable()
Entity
isEntityInvulnerable
in class Entity
public boolean canAttackPlayer(EntityPlayer player)
canAttackPlayer
in class EntityPlayerMP
public void onDeath(DamageSource source)
EntityPlayerMP
onDeath
in class EntityPlayerMP
public void onUpdate()
EntityPlayerMP
onUpdate
in class EntityPlayerMP
public void travelToDimension(int dim)
EntityPlayerMP
travelToDimension
in class EntityPlayerMP
public void func_147100_a(C15PacketClientSettings pkt)
func_147100_a
in class EntityPlayerMP