|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of EntityPlayer in cpw.mods.fml.client |
---|
Methods in cpw.mods.fml.client with parameters of type EntityPlayer | |
---|---|
void |
FMLClientHandler.displayGuiScreen(EntityPlayer player,
GuiScreen gui)
|
Uses of EntityPlayer in cpw.mods.fml.client.modloader |
---|
Methods in cpw.mods.fml.client.modloader with parameters of type EntityPlayer | |
---|---|
Object |
ModLoaderClientHelper.getClientGui(BaseModProxy mod,
EntityPlayer player,
int ID,
int x,
int y,
int z)
|
Uses of EntityPlayer in cpw.mods.fml.common |
---|
Methods in cpw.mods.fml.common with parameters of type EntityPlayer | |
---|---|
void |
IPickupNotifier.notifyPickup(EntityItem item,
EntityPlayer player)
|
void |
ICraftingHandler.onCrafting(EntityPlayer player,
ItemStack item,
IInventory craftMatrix)
The object array contains these three arguments |
void |
IPlayerTracker.onPlayerChangedDimension(EntityPlayer player)
|
void |
IPlayerTracker.onPlayerLogin(EntityPlayer player)
|
void |
IPlayerTracker.onPlayerLogout(EntityPlayer player)
|
void |
FMLCommonHandler.onPlayerPostTick(EntityPlayer player)
|
void |
FMLCommonHandler.onPlayerPreTick(EntityPlayer player)
|
void |
IPlayerTracker.onPlayerRespawn(EntityPlayer player)
|
void |
ICraftingHandler.onSmelting(EntityPlayer player,
ItemStack item)
The object array contains these two arguments |
Uses of EntityPlayer in cpw.mods.fml.common.modloader |
---|
Methods in cpw.mods.fml.common.modloader with parameters of type EntityPlayer | |
---|---|
Object |
IModLoaderSidedHelper.getClientGui(BaseModProxy mod,
EntityPlayer player,
int iD,
int x,
int y,
int z)
|
Object |
ModLoaderGuiHelper.getClientGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
|
static Object |
ModLoaderHelper.getClientSideGui(BaseModProxy mod,
EntityPlayer player,
int ID,
int x,
int y,
int z)
|
Object |
ModLoaderGuiHelper.getServerGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
|
void |
ModLoaderPickupNotifier.notifyPickup(EntityItem item,
EntityPlayer player)
|
void |
BaseModProxy.onClientLogin(EntityPlayer player)
|
void |
ModLoaderCraftingHelper.onCrafting(EntityPlayer player,
ItemStack item,
IInventory craftMatrix)
|
void |
BaseModProxy.onItemPickup(EntityPlayer player,
ItemStack item)
|
void |
ModLoaderCraftingHelper.onSmelting(EntityPlayer player,
ItemStack item)
|
static void |
ModLoaderHelper.openGui(int id,
EntityPlayer player,
Container container,
int x,
int y,
int z)
|
void |
BaseModProxy.takenFromCrafting(EntityPlayer player,
ItemStack item,
IInventory craftMatrix)
|
void |
BaseModProxy.takenFromFurnace(EntityPlayer player,
ItemStack item)
|
Uses of EntityPlayer in cpw.mods.fml.common.network |
---|
Methods in cpw.mods.fml.common.network with parameters of type EntityPlayer | |
---|---|
Object |
IGuiHandler.getClientGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Container to be displayed to the user. |
Object |
IGuiHandler.getServerGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Server side Container to be displayed to the user. |
static void |
FMLNetworkHandler.onConnectionClosed(INetworkManager manager,
EntityPlayer player)
|
static void |
FMLNetworkHandler.openGui(EntityPlayer player,
Object mod,
int modGuiId,
World world,
int x,
int y,
int z)
|
Uses of EntityPlayer in cpw.mods.fml.common.registry |
---|
Methods in cpw.mods.fml.common.registry with parameters of type EntityPlayer | |
---|---|
static void |
GameRegistry.onItemCrafted(EntityPlayer player,
ItemStack item,
IInventory craftMatrix)
|
static void |
GameRegistry.onItemSmelted(EntityPlayer player,
ItemStack item)
|
static void |
GameRegistry.onPickupNotification(EntityPlayer player,
EntityItem item)
|
static void |
GameRegistry.onPlayerChangedDimension(EntityPlayer player)
|
static void |
GameRegistry.onPlayerLogin(EntityPlayer player)
|
static void |
GameRegistry.onPlayerLogout(EntityPlayer player)
|
static void |
GameRegistry.onPlayerRespawn(EntityPlayer player)
|
Uses of EntityPlayer in net.minecraft.block |
---|
Methods in net.minecraft.block with parameters of type EntityPlayer | |
---|---|
boolean |
Block.canHarvestBlock(EntityPlayer player,
int meta)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed. |
boolean |
Block.canSilkHarvest(World world,
EntityPlayer player,
int x,
int y,
int z,
int metadata)
Return true from this function if the player with silk touch can harvest this block directly, and not it's normal drops. |
static int |
BlockPistonBase.determineOrientation(World par0World,
int par1,
int par2,
int par3,
EntityPlayer par4EntityPlayer)
gets the way this piston should face for that entity that placed it. |
ChunkCoordinates |
Block.getBedSpawnPosition(World world,
int x,
int y,
int z,
EntityPlayer player)
Returns the position that the player is moved to upon waking up, or respawning at the bed. |
float |
Block.getPlayerRelativeBlockHardness(EntityPlayer par1EntityPlayer,
World par2World,
int par3,
int par4,
int par5)
Gets the hardness of block at the given coordinates in the given world, relative to the ability of the given EntityPlayer. |
void |
BlockLeaves.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
BlockDeadBush.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
BlockTallGrass.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
BlockVine.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
Block.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
BlockSnow.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
void |
BlockIce.harvestBlock(World par1World,
EntityPlayer par2EntityPlayer,
int par3,
int par4,
int par5,
int par6)
Called when the player destroys a block with an item that can harvest it. |
boolean |
BlockDoor.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockRedstoneOre.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockAnvil.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockCommandBlock.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockButton.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockDispenser.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockBeacon.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockEnchantmentTable.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockTrapDoor.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockFurnace.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockBrewingStand.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockFenceGate.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockDragonEgg.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockEnderChest.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockNote.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockTNT.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockStairs.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockFlowerPot.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
Block.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockLever.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockRedstoneRepeater.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockPistonMoving.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockJukeBox.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockCauldron.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockChest.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockWorkbench.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockCake.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockBed.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
boolean |
BlockPistonBase.onBlockActivated(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer,
int par6,
float par7,
float par8,
float par9)
Called upon block activation (right click on the block.) |
void |
BlockDoor.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockRedstoneOre.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockButton.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockTrapDoor.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockDragonEgg.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockNote.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockStairs.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
Block.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockLever.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockCake.onBlockClicked(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Called when the block is clicked by a player. |
void |
BlockDoor.onBlockHarvested(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
Called when the block is attempted to be harvested |
void |
BlockTripWire.onBlockHarvested(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
Called when the block is attempted to be harvested |
void |
BlockSkull.onBlockHarvested(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
Called when the block is attempted to be harvested |
void |
Block.onBlockHarvested(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
Called when the block is attempted to be harvested |
void |
BlockBed.onBlockHarvested(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
Called when the block is attempted to be harvested |
boolean |
Block.removeBlockByPlayer(World world,
EntityPlayer player,
int x,
int y,
int z)
Called when a player removes a block. |
void |
Block.setBedOccupied(World world,
int x,
int y,
int z,
EntityPlayer player,
boolean occupied)
Called when a user either starts or stops sleeping in the bed. |
Uses of EntityPlayer in net.minecraft.client.entity |
---|
Subclasses of EntityPlayer in net.minecraft.client.entity | |
---|---|
class |
EntityClientPlayerMP
|
class |
EntityOtherPlayerMP
|
class |
EntityPlayerSP
|
Uses of EntityPlayer in net.minecraft.client.gui |
---|
Methods in net.minecraft.client.gui with parameters of type EntityPlayer | |
---|---|
void |
MapItemRenderer.renderMap(EntityPlayer par1EntityPlayer,
RenderEngine par2RenderEngine,
MapData par3MapData)
|
Constructors in net.minecraft.client.gui with parameters of type EntityPlayer | |
---|---|
GuiScreenBook(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack,
boolean par3)
|
Uses of EntityPlayer in net.minecraft.client.gui.inventory |
---|
Constructors in net.minecraft.client.gui.inventory with parameters of type EntityPlayer | |
---|---|
GuiContainerCreative(EntityPlayer par1EntityPlayer)
|
|
GuiInventory(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.client.multiplayer |
---|
Methods in net.minecraft.client.multiplayer that return EntityPlayer | |
---|---|
EntityPlayer |
NetClientHandler.getPlayer()
|
Methods in net.minecraft.client.multiplayer with parameters of type EntityPlayer | |
---|---|
void |
PlayerControllerMP.attackEntity(EntityPlayer par1EntityPlayer,
Entity par2Entity)
Attacks an entity |
void |
PlayerControllerMP.flipPlayer(EntityPlayer par1EntityPlayer)
Flips the player around. |
boolean |
PlayerControllerMP.func_78768_b(EntityPlayer par1EntityPlayer,
Entity par2Entity)
|
boolean |
PlayerControllerMP.onPlayerRightClick(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack,
int par4,
int par5,
int par6,
int par7,
Vec3 par8Vec3)
Handles a players right click. |
void |
PlayerControllerMP.onStoppedUsingItem(EntityPlayer par1EntityPlayer)
|
boolean |
PlayerControllerMP.sendUseItem(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack)
Notifies the server of things like consuming food, etc... |
void |
PlayerControllerMP.setPlayerCapabilities(EntityPlayer par1EntityPlayer)
Sets player capabilities depending on current gametype. |
ItemStack |
PlayerControllerMP.windowClick(int par1,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.client.renderer |
---|
Methods in net.minecraft.client.renderer with parameters of type EntityPlayer | |
---|---|
void |
RenderGlobal.drawBlockBreaking(EntityPlayer par1EntityPlayer,
MovingObjectPosition par2MovingObjectPosition,
int par3,
ItemStack par4ItemStack,
float par5)
|
void |
RenderGlobal.drawBlockDamageTexture(Tessellator par1Tessellator,
EntityPlayer par2EntityPlayer,
float par3)
|
void |
RenderGlobal.drawSelectionBox(EntityPlayer par1EntityPlayer,
MovingObjectPosition par2MovingObjectPosition,
int par3,
ItemStack par4ItemStack,
float par5)
Draws the selection box for the player. |
void |
RenderGlobal.playAuxSFX(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4,
int par5,
int par6)
Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc). |
void |
RenderGlobal.playSoundToNearExcept(EntityPlayer par1EntityPlayer,
String par2Str,
double par3,
double par5,
double par7,
float par9,
float par10)
Plays sound to all near players except the player reference given |
static void |
ActiveRenderInfo.updateRenderInfo(EntityPlayer par0EntityPlayer,
boolean par1)
Updates the current render info and camera location based on entity look angles and 1st/3rd person view mode |
Uses of EntityPlayer in net.minecraft.client.renderer.entity |
---|
Methods in net.minecraft.client.renderer.entity with parameters of type EntityPlayer | |
---|---|
void |
RenderPlayer.func_82441_a(EntityPlayer par1EntityPlayer)
|
void |
RenderPlayer.renderPlayer(EntityPlayer par1EntityPlayer,
double par2,
double par4,
double par6,
float par8,
float par9)
|
Uses of EntityPlayer in net.minecraft.entity |
---|
Methods in net.minecraft.entity that return EntityPlayer | |
---|---|
EntityPlayer |
NpcMerchant.getCustomer()
|
EntityPlayer |
IMerchant.getCustomer()
|
Methods in net.minecraft.entity with parameters of type EntityPlayer | |
---|---|
MerchantRecipeList |
NpcMerchant.getRecipes(EntityPlayer par1EntityPlayer)
|
MerchantRecipeList |
IMerchant.getRecipes(EntityPlayer var1)
|
boolean |
EntityAgeable.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
Entity.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
void |
Entity.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
void |
NpcMerchant.setCustomer(EntityPlayer par1EntityPlayer)
|
void |
IMerchant.setCustomer(EntityPlayer var1)
|
boolean |
EntityLiving.shouldRiderFaceForward(EntityPlayer player)
Returns true if the entity's rider (EntityPlayer) should face forward when mounted. |
Constructors in net.minecraft.entity with parameters of type EntityPlayer | |
---|---|
NpcMerchant(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.entity.item |
---|
Methods in net.minecraft.entity.item with parameters of type EntityPlayer | |
---|---|
boolean |
EntityMinecart.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityBoat.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityItemFrame.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityMinecart.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
void |
EntityXPOrb.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
void |
EntityItem.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
Uses of EntityPlayer in net.minecraft.entity.monster |
---|
Methods in net.minecraft.entity.monster with parameters of type EntityPlayer | |
---|---|
boolean |
EntityZombie.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityPigZombie.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
void |
EntitySlime.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
Uses of EntityPlayer in net.minecraft.entity.passive |
---|
Methods in net.minecraft.entity.passive that return EntityPlayer | |
---|---|
EntityPlayer |
EntityVillager.getCustomer()
|
Methods in net.minecraft.entity.passive with parameters of type EntityPlayer | |
---|---|
MerchantRecipeList |
EntityVillager.getRecipes(EntityPlayer par1EntityPlayer)
|
boolean |
EntityCow.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityWolf.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityAnimal.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityMooshroom.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntitySheep.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityVillager.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityPig.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
boolean |
EntityOcelot.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob. |
void |
EntityVillager.setCustomer(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.entity.player |
---|
Subclasses of EntityPlayer in net.minecraft.entity.player | |
---|---|
class |
EntityPlayerMP
|
Fields in net.minecraft.entity.player declared as EntityPlayer | |
---|---|
EntityPlayer |
InventoryPlayer.player
The player whose inventory this is. |
Methods in net.minecraft.entity.player with parameters of type EntityPlayer | |
---|---|
void |
EntityPlayer.clonePlayer(EntityPlayer par1EntityPlayer,
boolean par2)
Copies the values from the given player into this player if boolean par2 is true. |
void |
EntityPlayerMP.clonePlayer(EntityPlayer par1EntityPlayer,
boolean par2)
Copies the values from the given player into this player if boolean par2 is true. |
boolean |
InventoryPlayer.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
Constructors in net.minecraft.entity.player with parameters of type EntityPlayer | |
---|---|
InventoryPlayer(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.entity.projectile |
---|
Fields in net.minecraft.entity.projectile declared as EntityPlayer | |
---|---|
EntityPlayer |
EntityFishHook.angler
|
Methods in net.minecraft.entity.projectile with parameters of type EntityPlayer | |
---|---|
void |
EntityArrow.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity |
Constructors in net.minecraft.entity.projectile with parameters of type EntityPlayer | |
---|---|
EntityFishHook(World par1World,
double par2,
double par4,
double par6,
EntityPlayer par8EntityPlayer)
|
|
EntityFishHook(World par1World,
EntityPlayer par2EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.inventory |
---|
Methods in net.minecraft.inventory with parameters of type EntityPlayer | |
---|---|
boolean |
ContainerEnchantment.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerPlayer.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerRepair.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerChest.canInteractWith(EntityPlayer par1EntityPlayer)
|
abstract boolean |
Container.canInteractWith(EntityPlayer var1)
|
boolean |
ContainerMerchant.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerBrewingStand.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerDispenser.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerBeacon.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerFurnace.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
ContainerWorkbench.canInteractWith(EntityPlayer par1EntityPlayer)
|
boolean |
Slot.canTakeStack(EntityPlayer par1EntityPlayer)
Return whether this slot's stack can be taken from this slot. |
boolean |
ContainerEnchantment.enchantItem(EntityPlayer par1EntityPlayer,
int par2)
enchants the item on the table using the specified slot; also deducts XP from player |
boolean |
Container.enchantItem(EntityPlayer par1EntityPlayer,
int par2)
enchants the item on the table using the specified slot; also deducts XP from player |
boolean |
Container.isPlayerNotUsingContainer(EntityPlayer par1EntityPlayer)
NotUsing because adding a player twice is an error |
boolean |
InventoryMerchant.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
InventoryEnderChest.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
InventoryCrafting.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
InventoryCraftResult.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
IInventory.isUseableByPlayer(EntityPlayer var1)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
InventoryBasic.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
InventoryLargeChest.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
void |
ContainerEnchantment.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
ContainerPlayer.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
ContainerRepair.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
ContainerChest.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
Container.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
ContainerMerchant.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
ContainerWorkbench.onCraftGuiClosed(EntityPlayer par1EntityPlayer)
Callback for when the crafting gui is closed. |
void |
SlotCrafting.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
|
void |
SlotMerchantResult.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
|
void |
Slot.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
|
void |
SlotFurnace.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
|
void |
Container.setPlayerIsPresent(EntityPlayer par1EntityPlayer,
boolean par2)
adds or removes the player from the container based on par2 |
ItemStack |
Container.slotClick(int par1,
int par2,
int par3,
EntityPlayer par4EntityPlayer)
|
ItemStack |
ContainerEnchantment.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerPlayer.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerRepair.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerChest.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
Container.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerMerchant.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerBrewingStand.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerDispenser.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerBeacon.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerFurnace.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
ItemStack |
ContainerWorkbench.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot. |
Constructors in net.minecraft.inventory with parameters of type EntityPlayer | |
---|---|
ContainerPlayer(InventoryPlayer par1InventoryPlayer,
boolean par2,
EntityPlayer par3EntityPlayer)
|
|
ContainerRepair(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
|
|
InventoryMerchant(EntityPlayer par1EntityPlayer,
IMerchant par2IMerchant)
|
|
SlotCrafting(EntityPlayer par1EntityPlayer,
IInventory par2IInventory,
IInventory par3IInventory,
int par4,
int par5,
int par6)
|
|
SlotFurnace(EntityPlayer par1EntityPlayer,
IInventory par2IInventory,
int par3,
int par4,
int par5)
|
|
SlotMerchantResult(EntityPlayer par1EntityPlayer,
IMerchant par2IMerchant,
InventoryMerchant par3InventoryMerchant,
int par4,
int par5,
int par6)
|
Uses of EntityPlayer in net.minecraft.item |
---|
Methods in net.minecraft.item with parameters of type EntityPlayer | |
---|---|
boolean |
ItemInWorldManager.activateBlockOrUseItem(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Activate the clicked on block, otherwise use the held item. |
void |
ItemMap.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemEditableBook.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemFirework.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemFireworkCharge.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemPotion.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemEnchantedBook.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
ItemRecord.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
void |
Item.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4)
|
boolean |
ItemSlab.canPlaceItemBlockOnSide(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer,
ItemStack par7ItemStack)
|
boolean |
ItemBlock.canPlaceItemBlockOnSide(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer,
ItemStack par7ItemStack)
|
Packet |
ItemMap.createMapDataPacket(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
returns null if no update is to be sent |
Packet |
ItemMapBase.createMapDataPacket(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
returns null if no update is to be sent |
int |
Item.getIconIndex(ItemStack stack,
int renderPass,
EntityPlayer player,
ItemStack usingItem,
int useRemaining)
Player, Render pass, and item usage sensitive version of getIconIndex. |
List |
ItemStack.getTooltip(EntityPlayer par1EntityPlayer,
boolean par2)
|
void |
ItemStack.hitEntity(EntityLiving par1EntityLiving,
EntityPlayer par2EntityPlayer)
Calls the corresponding fct in di |
void |
ItemStack.onBlockDestroyed(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer)
|
boolean |
ItemShears.onBlockStartBreak(ItemStack itemstack,
int x,
int y,
int z,
EntityPlayer player)
|
boolean |
Item.onBlockStartBreak(ItemStack itemstack,
int X,
int Y,
int Z,
EntityPlayer player)
Called before a block is broken. |
void |
ItemStack.onCrafting(World par1World,
EntityPlayer par2EntityPlayer,
int par3)
|
void |
ItemMap.onCreated(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called when item is crafted/smelted. |
void |
Item.onCreated(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called when item is crafted/smelted. |
boolean |
Item.onDroppedByPlayer(ItemStack item,
EntityPlayer player)
Called when a player drops the item into the world, returning false from this will prevent the item from being removed from the players inventory and spawning in the world |
ItemStack |
ItemFood.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
ItemBucketMilk.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
ItemPotion.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
ItemSoup.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
ItemBow.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
Item.onFoodEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
|
ItemStack |
ItemStack.onFoodEaten(World par1World,
EntityPlayer par2EntityPlayer)
|
ItemStack |
ItemGlassBottle.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemLilyPad.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemSword.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemFood.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemBoat.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemFishingRod.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemCarrotOnAStick.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemEditableBook.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemBucketMilk.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemWritableBook.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemPotion.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemEmptyMap.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemEnderEye.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemBow.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemExpBottle.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemSnowball.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
Item.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemEgg.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemBucket.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
ItemStack |
ItemEnderPearl.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed. |
boolean |
ItemDye.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemSlab.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemFlintAndSteel.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemSkull.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemMonsterPlacer.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemMinecart.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemDoor.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemBlock.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemFirework.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemRedstone.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemPotion.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemReed.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemHoe.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemHangingEntity.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemEnderEye.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemRecord.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemSeedFood.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemBed.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemSign.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemFireball.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
Item.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
ItemSeeds.onItemUse(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
World par3World,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Callback for item usage. |
boolean |
Item.onItemUseFirst(ItemStack stack,
EntityPlayer player,
World world,
int x,
int y,
int z,
int side,
float hitX,
float hitY,
float hitZ)
This is called when the item is used, before the block is activated. |
boolean |
Item.onLeftClickEntity(ItemStack stack,
EntityPlayer player,
Entity entity)
Called when the player Left Clicks (attacks) an entity. |
void |
ItemBow.onPlayerStoppedUsing(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer,
int par4)
called when the player releases the use item button. |
void |
Item.onPlayerStoppedUsing(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer,
int par4)
called when the player releases the use item button. |
void |
ItemStack.onPlayerStoppedUsing(World par1World,
EntityPlayer par2EntityPlayer,
int par3)
Called when the player releases the use item button. |
void |
Item.onUsingItemTick(ItemStack stack,
EntityPlayer player,
int count)
Called each tick while using an item. |
boolean |
ItemBlock.placeBlockAt(ItemStack stack,
EntityPlayer player,
World world,
int x,
int y,
int z,
int side,
float hitX,
float hitY,
float hitZ,
int metadata)
Called to actually place the block, after the location is determined and all permission checks have been made. |
boolean |
ItemStack.tryPlaceItemIntoWorld(EntityPlayer par1EntityPlayer,
World par2World,
int par3,
int par4,
int par5,
int par6,
float par7,
float par8,
float par9)
|
boolean |
ItemInWorldManager.tryUseItem(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack)
Attempts to right-click use an item by the given EntityPlayer in the given World |
ItemStack |
ItemStack.useItemRightClick(World par1World,
EntityPlayer par2EntityPlayer)
Called whenever this item stack is equipped and right clicked. |
Uses of EntityPlayer in net.minecraft.network |
---|
Methods in net.minecraft.network that return EntityPlayer | |
---|---|
EntityPlayer |
NetLoginHandler.getPlayer()
|
Uses of EntityPlayer in net.minecraft.network.packet |
---|
Methods in net.minecraft.network.packet that return EntityPlayer | |
---|---|
abstract EntityPlayer |
NetHandler.getPlayer()
|
Constructors in net.minecraft.network.packet with parameters of type EntityPlayer | |
---|---|
Packet20NamedEntitySpawn(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.server.management |
---|
Methods in net.minecraft.server.management with parameters of type EntityPlayer | |
---|---|
void |
ServerConfigurationManager.sendToAllNearExcept(EntityPlayer par1EntityPlayer,
double par2,
double par4,
double par6,
double par8,
int par10,
Packet par11Packet)
params: srcPlayer,x,y,z,d,dimension. |
Uses of EntityPlayer in net.minecraft.src |
---|
Methods in net.minecraft.src with parameters of type EntityPlayer | |
---|---|
static boolean |
ModLoader.isChannelActive(EntityPlayer player,
String channel)
To properly implement packet 250 protocol you should always check your channel is active prior to sending the packet |
void |
BaseMod.onClientLogin(EntityPlayer player)
Called when a new client logs in. |
void |
BaseMod.onItemPickup(EntityPlayer player,
ItemStack item)
Handle item pickup |
static void |
ModLoader.onItemPickup(EntityPlayer player,
ItemStack item)
Deprecated. |
static void |
ModLoader.openGUI(EntityPlayer player,
GuiScreen gui)
|
void |
BaseMod.takenFromCrafting(EntityPlayer player,
ItemStack item,
IInventory matrix)
Called when someone crafts an item from a crafting table |
static void |
ModLoader.takenFromCrafting(EntityPlayer player,
ItemStack item,
IInventory matrix)
Deprecated. |
void |
BaseMod.takenFromFurnace(EntityPlayer player,
ItemStack item)
Called when someone takes a smelted item from a furnace |
static void |
ModLoader.takenFromFurnace(EntityPlayer player,
ItemStack item)
Deprecated. |
Uses of EntityPlayer in net.minecraft.tileentity |
---|
Methods in net.minecraft.tileentity with parameters of type EntityPlayer | |
---|---|
boolean |
TileEntityBrewingStand.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
TileEntityDispenser.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
TileEntityChest.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
TileEntityBeacon.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
TileEntityFurnace.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container |
boolean |
TileEntityEnderChest.isUseableByPlayer(EntityPlayer par1EntityPlayer)
|
Uses of EntityPlayer in net.minecraft.util |
---|
Methods in net.minecraft.util with parameters of type EntityPlayer | |
---|---|
static DamageSource |
DamageSource.causePlayerDamage(EntityPlayer par0EntityPlayer)
returns an EntityDamageSource of type player |
String |
DamageSource.getDeathMessage(EntityPlayer par1EntityPlayer)
Returns the message to be displayed on player death. |
String |
EntityDamageSourceIndirect.getDeathMessage(EntityPlayer par1EntityPlayer)
Returns the message to be displayed on player death. |
String |
EntityDamageSource.getDeathMessage(EntityPlayer par1EntityPlayer)
Returns the message to be displayed on player death. |
void |
FoodStats.onUpdate(EntityPlayer par1EntityPlayer)
Handles the food game logic. |
Uses of EntityPlayer in net.minecraft.village |
---|
Methods in net.minecraft.village that return EntityPlayer | |
---|---|
EntityPlayer |
Village.func_82685_c(EntityLiving par1EntityLiving)
|
Uses of EntityPlayer in net.minecraft.world |
---|
Methods in net.minecraft.world that return EntityPlayer | |
---|---|
EntityPlayer |
World.getClosestPlayer(double par1,
double par3,
double par5,
double par7)
Gets the closest player to the point within the specified distance (distance can be set to less than 0 to not limit the distance). |
EntityPlayer |
World.getClosestPlayerToEntity(Entity par1Entity,
double par2)
Gets the closest player to the entity within the specified distance (if distance is less than 0 then ignored). |
EntityPlayer |
World.getClosestVulnerablePlayer(double par1,
double par3,
double par5,
double par7)
Returns the closest vulnerable player within the given radius, or null if none is found. |
EntityPlayer |
World.getClosestVulnerablePlayerToEntity(Entity par1Entity,
double par2)
Returns the closest vulnerable player to this entity within the given radius, or null if none is found |
EntityPlayer |
World.getPlayerEntityByName(String par1Str)
Find a player by name in this world. |
Methods in net.minecraft.world with parameters of type EntityPlayer | |
---|---|
boolean |
WorldServer.canMineBlock(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4)
Called when checking if a certain block can be mined or not. |
boolean |
WorldProvider.canMineBlock(EntityPlayer player,
int x,
int y,
int z)
|
boolean |
World.canMineBlock(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4)
Called when checking if a certain block can be mined or not. |
boolean |
WorldServer.canMineBlockBody(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4)
|
boolean |
World.canMineBlockBody(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4)
|
boolean |
World.extinguishFire(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4,
int par5)
If the block in the given direction of the given coordinate is fire, extinguish it. |
void |
IWorldAccess.playAuxSFX(EntityPlayer var1,
int var2,
int var3,
int var4,
int var5,
int var6)
Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc). |
void |
WorldManager.playAuxSFX(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4,
int par5,
int par6)
Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc). |
void |
World.playAuxSFXAtEntity(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4,
int par5,
int par6)
See description for playAuxSFX. |
void |
IWorldAccess.playSoundToNearExcept(EntityPlayer var1,
String var2,
double var3,
double var5,
double var7,
float var9,
float var10)
Plays sound to all near players except the player reference given |
void |
WorldManager.playSoundToNearExcept(EntityPlayer par1EntityPlayer,
String par2Str,
double par3,
double par5,
double par7,
float par9,
float par10)
Plays sound to all near players except the player reference given |
void |
World.playSoundToNearExcept(EntityPlayer par1EntityPlayer,
String par2Str,
float par3,
float par4)
Plays sound to all near players except the player reference given |
Uses of EntityPlayer in net.minecraft.world.demo |
---|
Methods in net.minecraft.world.demo with parameters of type EntityPlayer | |
---|---|
boolean |
DemoWorldManager.activateBlockOrUseItem(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack,
int par4,
int par5,
int par6,
int par7,
float par8,
float par9,
float par10)
Activate the clicked on block, otherwise use the held item. |
boolean |
DemoWorldManager.tryUseItem(EntityPlayer par1EntityPlayer,
World par2World,
ItemStack par3ItemStack)
Attempts to right-click use an item by the given EntityPlayer in the given World |
Uses of EntityPlayer in net.minecraft.world.storage |
---|
Fields in net.minecraft.world.storage declared as EntityPlayer | |
---|---|
EntityPlayer |
MapInfo.entityplayerObj
Reference for EntityPlayer object in MapInfo |
Methods in net.minecraft.world.storage with parameters of type EntityPlayer | |
---|---|
MapInfo |
MapData.func_82568_a(EntityPlayer par1EntityPlayer)
|
byte[] |
MapData.getUpdatePacketData(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Get byte array of packet data to send to players on map for updating map data |
void |
IPlayerFileData.readPlayerData(EntityPlayer var1)
Reads the player data from disk into the specified PlayerEntityMP. |
void |
SaveHandler.readPlayerData(EntityPlayer par1EntityPlayer)
Reads the player data from disk into the specified PlayerEntityMP. |
void |
MapData.updateVisiblePlayers(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
Adds the player passed to the list of visible players and checks to see which players are visible |
void |
IPlayerFileData.writePlayerData(EntityPlayer var1)
Writes the player data to disk from the specified PlayerEntityMP. |
void |
SaveHandler.writePlayerData(EntityPlayer par1EntityPlayer)
Writes the player data to disk from the specified PlayerEntityMP. |
Constructors in net.minecraft.world.storage with parameters of type EntityPlayer | |
---|---|
MapInfo(MapData par1MapData,
EntityPlayer par2EntityPlayer)
|
Uses of EntityPlayer in net.minecraftforge.client |
---|
Methods in net.minecraftforge.client with parameters of type EntityPlayer | |
---|---|
static boolean |
ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks)
|
Uses of EntityPlayer in net.minecraftforge.client.event |
---|
Fields in net.minecraftforge.client.event declared as EntityPlayer | |
---|---|
EntityPlayer |
DrawBlockHighlightEvent.player
|
Constructors in net.minecraftforge.client.event with parameters of type EntityPlayer | |
---|---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks)
|
Uses of EntityPlayer in net.minecraftforge.common |
---|
Methods in net.minecraftforge.common with parameters of type EntityPlayer | |
---|---|
static float |
ForgeHooks.blockStrength(Block block,
EntityPlayer player,
World world,
int x,
int y,
int z)
|
static boolean |
ForgeHooks.canHarvestBlock(Block block,
EntityPlayer player,
int metadata)
|
int |
ISpecialArmor.getArmorDisplay(EntityPlayer player,
ItemStack armor,
int slot)
Get the displayed effective armor. |
static int |
ForgeHooks.getTotalArmorValue(EntityPlayer player)
|
static boolean |
ForgeHooks.onPickBlock(MovingObjectPosition target,
EntityPlayer player,
World world)
Called when a player uses 'pick block', calls new Entity and Block hooks. |
static EntityItem |
ForgeHooks.onPlayerTossEvent(EntityPlayer player,
ItemStack item)
|
Uses of EntityPlayer in net.minecraftforge.event |
---|
Methods in net.minecraftforge.event with parameters of type EntityPlayer | |
---|---|
static boolean |
ForgeEventFactory.doPlayerHarvestCheck(EntityPlayer player,
Block block,
boolean success)
|
static float |
ForgeEventFactory.getBreakSpeed(EntityPlayer player,
Block block,
int metadata,
float original)
|
static void |
ForgeEventFactory.onPlayerDestroyItem(EntityPlayer player,
ItemStack stack)
|
static PlayerInteractEvent |
ForgeEventFactory.onPlayerInteract(EntityPlayer player,
PlayerInteractEvent.Action action,
int x,
int y,
int z,
int face)
|
Uses of EntityPlayer in net.minecraftforge.event.entity.item |
---|
Fields in net.minecraftforge.event.entity.item declared as EntityPlayer | |
---|---|
EntityPlayer |
ItemTossEvent.player
The player tossing the item. |
Constructors in net.minecraftforge.event.entity.item with parameters of type EntityPlayer | |
---|---|
ItemTossEvent(EntityItem entityItem,
EntityPlayer player)
Creates a new event for EntityItems tossed by a player. |
Uses of EntityPlayer in net.minecraftforge.event.entity.minecart |
---|
Fields in net.minecraftforge.event.entity.minecart declared as EntityPlayer | |
---|---|
EntityPlayer |
MinecartInteractEvent.player
|
Constructors in net.minecraftforge.event.entity.minecart with parameters of type EntityPlayer | |
---|---|
MinecartInteractEvent(EntityMinecart minecart,
EntityPlayer player)
|
Uses of EntityPlayer in net.minecraftforge.event.entity.player |
---|
Fields in net.minecraftforge.event.entity.player declared as EntityPlayer | |
---|---|
EntityPlayer |
PlayerDropsEvent.entityPlayer
|
EntityPlayer |
PlayerEvent.entityPlayer
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |