YATS/Forge Documentation
|
Public Member Functions | |
FakePlayer (World world, String name) | |
void | sendChatToPlayer (String s) |
boolean | canCommandSenderUseCommand (int i, String s) |
ChunkCoordinates | getPlayerCoordinates () |
Public Member Functions inherited from net.minecraft.entity.player.EntityPlayer | |
EntityPlayer (World par1World) | |
int | getMaxHealth () |
ItemStack | getItemInUse () |
int | getItemInUseCount () |
boolean | isUsingItem () |
int | getItemInUseDuration () |
void | stopUsingItem () |
void | clearItemInUse () |
boolean | isBlocking () |
void | onUpdate () |
int | getMaxInPortalTime () |
int | getPortalCooldown () |
void | playSound (String par1Str, float par2, float par3) |
void | handleHealthUpdate (byte par1) |
void | closeScreen () |
void | mountEntity (Entity par1Entity) |
void | updateRidden () |
void | preparePlayerToSpawn () |
void | onLivingUpdate () |
int | getScore () |
void | setScore (int par1) |
void | addScore (int par1) |
void | onDeath (DamageSource par1DamageSource) |
void | addToPlayerScore (Entity par1Entity, int par2) |
EntityItem | dropOneItem (boolean par1) |
EntityItem | dropPlayerItem (ItemStack par1ItemStack) |
EntityItem | dropPlayerItemWithRandomChoice (ItemStack par1ItemStack, boolean par2) |
void | joinEntityItemWithWorld (EntityItem par1EntityItem) |
float | getCurrentPlayerStrVsBlock (Block par1Block, boolean par2) |
float | getCurrentPlayerStrVsBlock (Block par1Block, boolean par2, int meta) |
boolean | canHarvestBlock (Block par1Block) |
void | readEntityFromNBT (NBTTagCompound par1NBTTagCompound) |
void | writeEntityToNBT (NBTTagCompound par1NBTTagCompound) |
void | displayGUIChest (IInventory par1IInventory) |
void | displayGUIHopper (TileEntityHopper par1TileEntityHopper) |
void | displayGUIHopperMinecart (EntityMinecartHopper par1EntityMinecartHopper) |
void | displayGUIEnchantment (int par1, int par2, int par3, String par4Str) |
void | displayGUIAnvil (int par1, int par2, int par3) |
void | displayGUIWorkbench (int par1, int par2, int par3) |
float | getEyeHeight () |
boolean | attackEntityFrom (DamageSource par1DamageSource, int par2) |
boolean | func_96122_a (EntityPlayer par1EntityPlayer) |
int | getTotalArmorValue () |
float | func_82243_bO () |
void | displayGUIFurnace (TileEntityFurnace par1TileEntityFurnace) |
void | displayGUIDispenser (TileEntityDispenser par1TileEntityDispenser) |
void | displayGUIEditSign (TileEntity par1TileEntity) |
void | displayGUIBrewingStand (TileEntityBrewingStand par1TileEntityBrewingStand) |
void | displayGUIBeacon (TileEntityBeacon par1TileEntityBeacon) |
void | displayGUIMerchant (IMerchant par1IMerchant, String par2Str) |
void | displayGUIBook (ItemStack par1ItemStack) |
boolean | interactWith (Entity par1Entity) |
ItemStack | getCurrentEquippedItem () |
void | destroyCurrentEquippedItem () |
double | getYOffset () |
void | attackTargetEntityWithCurrentItem (Entity par1Entity) |
void | onCriticalHit (Entity par1Entity) |
void | onEnchantmentCritical (Entity par1Entity) |
void | respawnPlayer () |
void | setDead () |
boolean | isEntityInsideOpaqueBlock () |
boolean | func_71066_bF () |
EnumStatus | sleepInBedAt (int par1, int par2, int par3) |
void | wakeUpPlayer (boolean par1, boolean par2, boolean par3) |
float | getBedOrientationInDegrees () |
boolean | isPlayerSleeping () |
boolean | isPlayerFullyAsleep () |
int | getSleepTimer () |
void | addChatMessage (String par1Str) |
ChunkCoordinates | getBedLocation () |
boolean | isSpawnForced () |
void | setSpawnChunk (ChunkCoordinates par1ChunkCoordinates, boolean par2) |
void | triggerAchievement (StatBase par1StatBase) |
void | addStat (StatBase par1StatBase, int par2) |
void | moveEntityWithHeading (float par1, float par2) |
void | addMovementStat (double par1, double par3, double par5) |
void | onKillEntity (EntityLiving par1EntityLiving) |
void | setInWeb () |
Icon | getItemIcon (ItemStack par1ItemStack, int par2) |
ItemStack | getCurrentArmor (int par1) |
void | addExperience (int par1) |
void | addExperienceLevel (int par1) |
int | xpBarCap () |
void | addExhaustion (float par1) |
FoodStats | getFoodStats () |
boolean | canEat (boolean par1) |
boolean | shouldHeal () |
void | setItemInUse (ItemStack par1ItemStack, int par2) |
boolean | canCurrentToolHarvestBlock (int par1, int par2, int par3) |
boolean | canPlayerEdit (int par1, int par2, int par3, int par4, ItemStack par5ItemStack) |
String | getEntityName () |
boolean | func_94062_bN () |
boolean | func_94059_bO () |
boolean | canPickUpLoot () |
void | clonePlayer (EntityPlayer par1EntityPlayer, boolean par2) |
void | sendPlayerAbilities () |
void | setGameType (EnumGameType par1EnumGameType) |
String | getCommandSenderName () |
StringTranslate | getTranslator () |
String | translateString (String par1Str, Object...par2ArrayOfObj) |
InventoryEnderChest | getInventoryEnderChest () |
ItemStack | getCurrentItemOrArmor (int par1) |
ItemStack | getHeldItem () |
void | setCurrentItemOrArmor (int par1, ItemStack par2ItemStack) |
boolean | func_98034_c (EntityPlayer par1EntityPlayer) |
ItemStack[] | getLastActiveItems () |
boolean | getHideCape () |
boolean | func_96092_aw () |
Scoreboard | getWorldScoreboard () |
ScorePlayerTeam | getTeam () |
String | getTranslatedEntityName () |
void | openGui (Object mod, int modGuiId, World world, int x, int y, int z) |
Public Member Functions inherited from net.minecraft.entity.EntityLiving | |
EntityLiving (World par1World) | |
EntityLookHelper | getLookHelper () |
EntityMoveHelper | getMoveHelper () |
EntityJumpHelper | getJumpHelper () |
PathNavigate | getNavigator () |
EntitySenses | getEntitySenses () |
Random | getRNG () |
EntityLiving | getAITarget () |
EntityLiving | getLastAttackingEntity () |
void | setLastAttackingEntity (Entity par1Entity) |
int | getAge () |
float | getRotationYawHead () |
void | setRotationYawHead (float par1) |
float | getAIMoveSpeed () |
void | setAIMoveSpeed (float par1) |
boolean | attackEntityAsMob (Entity par1Entity) |
EntityLiving | getAttackTarget () |
void | setAttackTarget (EntityLiving par1EntityLiving) |
boolean | canAttackClass (Class par1Class) |
void | eatGrassBonus () |
boolean | isWithinHomeDistanceCurrentPosition () |
boolean | isWithinHomeDistance (int par1, int par2, int par3) |
void | setHomeArea (int par1, int par2, int par3, int par4) |
ChunkCoordinates | getHomePosition () |
float | getMaximumHomeDistance () |
void | detachHome () |
boolean | hasHome () |
void | setRevengeTarget (EntityLiving par1EntityLiving) |
boolean | canEntityBeSeen (Entity par1Entity) |
String | getTexture () |
boolean | canBeCollidedWith () |
boolean | canBePushed () |
float | getEyeHeight () |
int | getTalkInterval () |
void | playLivingSound () |
void | onEntityUpdate () |
void | spawnExplosionParticle () |
void | updateRidden () |
void | setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9) |
void | onUpdate () |
void | heal (int par1) |
int | getHealth () |
void | setEntityHealth (int par1) |
boolean | attackEntityFrom (DamageSource par1DamageSource, int par2) |
void | performHurtAnimation () |
int | getTotalArmorValue () |
void | knockBack (Entity par1Entity, int par2, double par3, double par5) |
void | onDeath (DamageSource par1DamageSource) |
void | moveEntityWithHeading (float par1, float par2) |
boolean | isOnLadder () |
boolean | isEntityAlive () |
boolean | canBreatheUnderwater () |
void | setMoveForward (float par1) |
void | setJumping (boolean par1) |
void | onLivingUpdate () |
boolean | isBlocking () |
int | getVerticalFaceSpeed () |
void | faceEntity (Entity par1Entity, float par2, float par3) |
boolean | getCanSpawnHere () |
float | getSwingProgress (float par1) |
Vec3 | getPosition (float par1) |
Vec3 | getLookVec () |
Vec3 | getLook (float par1) |
float | getRenderSizeModifier () |
MovingObjectPosition | rayTrace (double par1, float par3) |
int | getMaxSpawnedInChunk () |
void | handleHealthUpdate (byte par1) |
boolean | isPlayerSleeping () |
Icon | getItemIcon (ItemStack par1ItemStack, int par2) |
void | clearActivePotions () |
Collection | getActivePotionEffects () |
boolean | isPotionActive (int par1) |
boolean | isPotionActive (Potion par1Potion) |
PotionEffect | getActivePotionEffect (Potion par1Potion) |
void | addPotionEffect (PotionEffect par1PotionEffect) |
boolean | isPotionApplicable (PotionEffect par1PotionEffect) |
boolean | isEntityUndead () |
void | removePotionEffectClient (int par1) |
void | removePotionEffect (int par1) |
float | getSpeedModifier () |
void | setPositionAndUpdate (double par1, double par3, double par5) |
boolean | isChild () |
EnumCreatureAttribute | getCreatureAttribute () |
void | renderBrokenItemStack (ItemStack par1ItemStack) |
int | func_82143_as () |
ItemStack | getHeldItem () |
ItemStack | getCurrentItemOrArmor (int par1) |
ItemStack | getCurrentArmor (int par1) |
void | setCurrentItemOrArmor (int par1, ItemStack par2ItemStack) |
ItemStack[] | getLastActiveItems () |
void | onItemPickup (Entity par1Entity, int par2) |
void | initCreature () |
void | swingItem () |
boolean | canBeSteered () |
final int | getArrowCountInEntity () |
final void | setArrowCountInEntity (int par1) |
EntityLiving | func_94060_bK () |
String | getEntityName () |
void | func_94058_c (String par1Str) |
String | func_94057_bL () |
boolean | func_94056_bM () |
void | func_94061_f (boolean par1) |
boolean | func_94062_bN () |
boolean | func_94059_bO () |
void | func_96120_a (int par1, float par2) |
boolean | canPickUpLoot () |
void | setCanPickUpLoot (boolean par1) |
boolean | func_104002_bU () |
void | curePotionEffects (ItemStack curativeItem) |
boolean | shouldRiderFaceForward (EntityPlayer player) |
Public Member Functions inherited from net.minecraft.entity.Entity | |
Entity (World par1World) | |
DataWatcher | getDataWatcher () |
boolean | equals (Object par1Obj) |
int | hashCode () |
void | setDead () |
void | setPosition (double par1, double par3, double par5) |
void | setAngles (float par1, float par2) |
void | onUpdate () |
void | onEntityUpdate () |
int | getMaxInPortalTime () |
void | setFire (int par1) |
void | extinguish () |
boolean | isOffsetPositionInLiquid (double par1, double par3, double par5) |
void | moveEntity (double par1, double par3, double par5) |
void | playSound (String par1Str, float par2, float par3) |
AxisAlignedBB | getBoundingBox () |
final boolean | isImmuneToFire () |
boolean | isWet () |
boolean | isInWater () |
boolean | handleWaterMovement () |
boolean | isInsideOfMaterial (Material par1Material) |
float | getEyeHeight () |
boolean | handleLavaMovement () |
void | moveFlying (float par1, float par2, float par3) |
int | getBrightnessForRender (float par1) |
float | getBrightness (float par1) |
void | setWorld (World par1World) |
void | setPositionAndRotation (double par1, double par3, double par5, float par7, float par8) |
void | setLocationAndAngles (double par1, double par3, double par5, float par7, float par8) |
float | getDistanceToEntity (Entity par1Entity) |
double | getDistanceSq (double par1, double par3, double par5) |
double | getDistance (double par1, double par3, double par5) |
double | getDistanceSqToEntity (Entity par1Entity) |
void | onCollideWithPlayer (EntityPlayer par1EntityPlayer) |
void | applyEntityCollision (Entity par1Entity) |
void | addVelocity (double par1, double par3, double par5) |
boolean | attackEntityFrom (DamageSource par1DamageSource, int par2) |
boolean | canBeCollidedWith () |
boolean | canBePushed () |
void | addToPlayerScore (Entity par1Entity, int par2) |
boolean | addNotRiddenEntityID (NBTTagCompound par1NBTTagCompound) |
boolean | isInRangeToRenderVec3D (Vec3 par1Vec3) |
boolean | isInRangeToRenderDist (double par1) |
String | getTexture () |
boolean | addEntityID (NBTTagCompound par1NBTTagCompound) |
void | writeToNBT (NBTTagCompound par1NBTTagCompound) |
void | readFromNBT (NBTTagCompound par1NBTTagCompound) |
float | getShadowSize () |
EntityItem | dropItem (int par1, int par2) |
EntityItem | dropItemWithOffset (int par1, int par2, float par3) |
EntityItem | entityDropItem (ItemStack par1ItemStack, float par2) |
boolean | isEntityAlive () |
boolean | isEntityInsideOpaqueBlock () |
boolean | interact (EntityPlayer par1EntityPlayer) |
AxisAlignedBB | getCollisionBox (Entity par1Entity) |
void | updateRidden () |
void | updateRiderPosition () |
double | getYOffset () |
double | getMountedYOffset () |
void | mountEntity (Entity par1Entity) |
void | unmountEntity (Entity par1Entity) |
void | setPositionAndRotation2 (double par1, double par3, double par5, float par7, float par8, int par9) |
float | getCollisionBorderSize () |
Vec3 | getLookVec () |
void | setInPortal () |
int | getPortalCooldown () |
void | setVelocity (double par1, double par3, double par5) |
void | handleHealthUpdate (byte par1) |
void | performHurtAnimation () |
void | updateCloak () |
ItemStack[] | getLastActiveItems () |
void | setCurrentItemOrArmor (int par1, ItemStack par2ItemStack) |
boolean | isBurning () |
boolean | isRiding () |
boolean | isSneaking () |
void | setSneaking (boolean par1) |
boolean | isSprinting () |
void | setSprinting (boolean par1) |
boolean | isInvisible () |
boolean | func_98034_c (EntityPlayer par1EntityPlayer) |
void | setInvisible (boolean par1) |
boolean | isEating () |
void | setEating (boolean par1) |
int | getAir () |
void | setAir (int par1) |
void | onStruckByLightning (EntityLightningBolt par1EntityLightningBolt) |
void | onKillEntity (EntityLiving par1EntityLiving) |
void | setInWeb () |
String | getEntityName () |
Entity[] | getParts () |
boolean | isEntityEqual (Entity par1Entity) |
float | getRotationYawHead () |
void | setRotationYawHead (float par1) |
boolean | canAttackWithItem () |
boolean | func_85031_j (Entity par1Entity) |
String | toString () |
boolean | isEntityInvulnerable () |
void | func_82149_j (Entity par1Entity) |
void | copyDataFrom (Entity par1Entity, boolean par2) |
void | travelToDimension (int par1) |
float | func_82146_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, Block par6Block) |
boolean | func_96091_a (Explosion par1Explosion, World par2World, int par3, int par4, int par5, int par6, float par7) |
int | func_82143_as () |
int | getTeleportDirection () |
boolean | doesEntityNotTriggerPressurePlate () |
void | func_85029_a (CrashReportCategory par1CrashReportCategory) |
boolean | canRenderOnFire () |
boolean | func_96092_aw () |
String | getTranslatedEntityName () |
NBTTagCompound | getEntityData () |
boolean | shouldRiderSit () |
ItemStack | getPickedResult (MovingObjectPosition target) |
UUID | getPersistentID () |
final void | resetEntityId () |
boolean | shouldRenderInPass (int pass) |
boolean | isCreatureType (EnumCreatureType type, boolean forSpawnCount) |
String | registerExtendedProperties (String identifier, IExtendedEntityProperties properties) |
IExtendedEntityProperties | getExtendedProperties (String identifier) |
net.minecraftforge.common.FakePlayer.FakePlayer | ( | World | world, |
String | name | ||
) |
boolean net.minecraftforge.common.FakePlayer.canCommandSenderUseCommand | ( | int | i, |
String | s | ||
) |
Returns true if the command sender is allowed to use the given command.
Implements net.minecraft.command.ICommandSender.
ChunkCoordinates net.minecraftforge.common.FakePlayer.getPlayerCoordinates | ( | ) |
Return the position for this command sender.
Implements net.minecraft.command.ICommandSender.
void net.minecraftforge.common.FakePlayer.sendChatToPlayer | ( | String | s) |
Implements net.minecraft.command.ICommandSender.