Modifier and Type | Method and Description |
---|---|
void |
FMLClientHandler.displayGuiScreen(EntityPlayer player,
GuiScreen gui) |
Modifier and Type | Method and Description |
---|---|
Object |
ModLoaderClientHelper.getClientGui(BaseModProxy mod,
EntityPlayer player,
int ID,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
BlockFence.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 |
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 |
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 |
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 |
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 |
BlockHopper.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 |
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 |
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 |
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 |
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.)
|
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 |
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 |
BlockComparator.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 |
BlockStairs.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 |
BlockDoor.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 |
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 |
BlockCake.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 |
BlockTrapDoor.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 |
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
|
void |
BlockPistonExtension.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
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientPlayer |
class |
EntityClientPlayerMP |
class |
EntityOtherPlayerMP |
class |
EntityPlayerSP |
Modifier and Type | Method and Description |
---|---|
void |
MapItemRenderer.renderMap(EntityPlayer par1EntityPlayer,
TextureManager par2TextureManager,
MapData par3MapData) |
Constructor and Description |
---|
GuiScreenBook(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack,
boolean par3) |
Constructor and Description |
---|
GuiContainerCreative(EntityPlayer par1EntityPlayer) |
GuiInventory(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
NetClientHandler.getPlayer() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
RenderGlobal.drawBlockDamageTexture(Tessellator par1Tessellator,
EntityPlayer par2EntityPlayer,
float par3) |
void |
RenderGlobal.drawSelectionBox(EntityPlayer par1EntityPlayer,
MovingObjectPosition par2MovingObjectPosition,
int par3,
float par4)
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
|
Modifier and Type | Method and Description |
---|---|
void |
RenderPlayer.renderFirstPersonArm(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
NpcMerchant.getCustomer() |
EntityPlayer |
IMerchant.getCustomer() |
Modifier and Type | Method and Description |
---|---|
MerchantRecipeList |
NpcMerchant.getRecipes(EntityPlayer par1EntityPlayer) |
MerchantRecipeList |
IMerchant.getRecipes(EntityPlayer entityplayer) |
boolean |
EntityAgeable.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.
|
boolean |
EntityLiving.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityLeashKnot.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
Entity.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
Entity.isInvisibleToPlayer(EntityPlayer par1EntityPlayer) |
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 entityplayer) |
boolean |
EntityLivingBase.shouldRiderFaceForward(EntityPlayer player)
Returns true if the entity's rider (EntityPlayer) should face forward when mounted.
|
Constructor and Description |
---|
NpcMerchant(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityBoat.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityMinecartFurnace.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityMinecartEmpty.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityMinecartContainer.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityItemFrame.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityMinecartHopper.interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
EntityMinecartContainer.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
void |
EntityItem.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity
|
void |
EntityXPOrb.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityPigZombie.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.
|
boolean |
EntityZombie.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
|
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
EntityVillager.getCustomer() |
Modifier and Type | Method and Description |
---|---|
MerchantRecipeList |
EntityVillager.getRecipes(EntityPlayer par1EntityPlayer) |
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 |
EntityOcelot.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 |
EntityCow.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 |
EntityAnimal.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 |
EntityHorse.interact(EntityPlayer par1EntityPlayer)
Called when a player interacts with a mob.
|
void |
EntityHorse.openGUI(EntityPlayer par1EntityPlayer) |
void |
EntityVillager.setCustomer(EntityPlayer par1EntityPlayer) |
boolean |
EntityHorse.setTamedBy(EntityPlayer par1EntityPlayer) |
Modifier and Type | Class and Description |
---|---|
class |
EntityPlayerMP |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
InventoryPlayer.player
The player whose inventory this is.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityPlayerMP.canAttackPlayer(EntityPlayer par1EntityPlayer) |
boolean |
EntityPlayer.canAttackPlayer(EntityPlayer par1EntityPlayer) |
void |
EntityPlayerMP.clonePlayer(EntityPlayer par1EntityPlayer,
boolean par2)
Copies the values from the given player into this player if boolean par2 is true.
|
void |
EntityPlayer.clonePlayer(EntityPlayer par1EntityPlayer,
boolean par2)
Copies the values from the given player into this player if boolean par2 is true.
|
boolean |
EntityPlayer.isInvisibleToPlayer(EntityPlayer par1EntityPlayer) |
boolean |
InventoryPlayer.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
Constructor and Description |
---|
InventoryPlayer(EntityPlayer par1EntityPlayer) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
EntityFishHook.angler |
Modifier and Type | Method and Description |
---|---|
void |
EntityArrow.onCollideWithPlayer(EntityPlayer par1EntityPlayer)
Called by a player entity when they collide with an entity
|
Constructor and Description |
---|
EntityFishHook(World par1World,
double par2,
double par4,
double par6,
EntityPlayer par8EntityPlayer) |
EntityFishHook(World par1World,
EntityPlayer par2EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
ContainerRepair.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerEnchantment.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerWorkbench.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerChest.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerBrewingStand.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerMerchant.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerFurnace.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerPlayer.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerBeacon.canInteractWith(EntityPlayer par1EntityPlayer) |
abstract boolean |
Container.canInteractWith(EntityPlayer entityplayer) |
boolean |
ContainerDispenser.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerHopper.canInteractWith(EntityPlayer par1EntityPlayer) |
boolean |
ContainerHorseInventory.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 |
InventoryEnderChest.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
boolean |
InventoryMerchant.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
|
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 entityplayer)
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
|
void |
ContainerRepair.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerEnchantment.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerWorkbench.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerChest.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerMerchant.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerPlayer.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
Container.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerHopper.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
ContainerHorseInventory.onContainerClosed(EntityPlayer par1EntityPlayer)
Called when the container is closed.
|
void |
SlotMerchantResult.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack) |
void |
Slot.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack) |
void |
SlotFurnace.onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack) |
void |
SlotCrafting.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 |
ContainerRepair.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot.
|
ItemStack |
ContainerEnchantment.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.
|
ItemStack |
ContainerChest.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 |
ContainerMerchant.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 |
ContainerPlayer.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 |
Container.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 |
ContainerHopper.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot.
|
ItemStack |
ContainerHorseInventory.transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
Called when a player shift-clicks on a slot.
|
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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 |
Item.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 |
ItemPotion.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4) |
void |
ItemRecord.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4) |
void |
ItemMap.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4) |
void |
ItemFireworkCharge.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4) |
void |
ItemEnchantedBook.addInformation(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
List par3List,
boolean par4) |
static boolean |
ItemDye.applyBonemeal(ItemStack par0ItemStack,
World par1World,
int par2,
int par3,
int par4,
EntityPlayer player) |
boolean |
ItemBlock.canPlaceItemBlockOnSide(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer,
ItemStack par7ItemStack) |
boolean |
ItemSlab.canPlaceItemBlockOnSide(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer,
ItemStack par7ItemStack) |
Packet |
ItemMapBase.createMapDataPacket(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
returns null if no update is to be sent
|
Packet |
ItemMap.createMapDataPacket(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
returns null if no update is to be sent
|
boolean |
ItemStack.func_111282_a(EntityPlayer par1EntityPlayer,
EntityLivingBase par2EntityLivingBase) |
static boolean |
ItemLeash.func_135066_a(EntityPlayer par0EntityPlayer,
World par1World,
int par2,
int par3,
int par4) |
Icon |
Item.getIcon(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(EntityLivingBase par1EntityLivingBase,
EntityPlayer par2EntityPlayer)
Calls the corresponding fct in di
|
boolean |
Item.itemInteractionForEntity(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
EntityLivingBase par3EntityLivingBase)
Returns true if the item can be used on the given entity, e.g.
|
boolean |
ItemNameTag.itemInteractionForEntity(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
EntityLivingBase par3EntityLivingBase)
Returns true if the item can be used on the given entity, e.g.
|
boolean |
ItemSaddle.itemInteractionForEntity(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
EntityLivingBase par3EntityLivingBase)
Returns true if the item can be used on the given entity, e.g.
|
boolean |
ItemShears.itemInteractionForEntity(ItemStack itemstack,
EntityPlayer player,
EntityLivingBase entity) |
boolean |
ItemDye.itemInteractionForEntity(ItemStack par1ItemStack,
EntityPlayer par2EntityPlayer,
EntityLivingBase par3EntityLivingBase)
Returns true if the item can be used on the given entity, e.g.
|
void |
Item.onArmorTickUpdate(World world,
EntityPlayer player,
ItemStack itemStack)
Called to tick armor in the armor slot.
|
void |
ItemStack.onBlockDestroyed(World par1World,
int par2,
int par3,
int par4,
int par5,
EntityPlayer par6EntityPlayer) |
boolean |
Item.onBlockStartBreak(ItemStack itemstack,
int X,
int Y,
int Z,
EntityPlayer player)
Called before a block is broken.
|
boolean |
ItemShears.onBlockStartBreak(ItemStack itemstack,
int x,
int y,
int z,
EntityPlayer player) |
void |
ItemStack.onCrafting(World par1World,
EntityPlayer par2EntityPlayer,
int par3) |
void |
Item.onCreated(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called when item is crafted/smelted.
|
void |
ItemMap.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 |
Item.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemBow.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemSoup.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemPotion.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemBucketMilk.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemFood.onEaten(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
ItemStack |
ItemStack.onFoodEaten(World par1World,
EntityPlayer par2EntityPlayer) |
ItemStack |
Item.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 |
ItemEditableBook.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 |
ItemSnowball.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 |
ItemArmor.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed.
|
ItemStack |
ItemMonsterPlacer.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 |
ItemEnderEye.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 |
ItemLilyPad.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 |
ItemExpBottle.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.
|
ItemStack |
ItemFood.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 |
ItemWritableBook.onItemRightClick(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer)
Called whenever this item is equipped and the right mouse button is pressed.
|
ItemStack |
ItemGlassBottle.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 |
ItemBoat.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.
|
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 |
ItemSnow.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
ItemLeash.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Item.onPlayerStoppedUsing(ItemStack par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer,
int par4)
called when the player releases the use item button.
|
void |
ItemBow.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.
|
void |
Item.renderHelmetOverlay(ItemStack stack,
EntityPlayer player,
ScaledResolution resolution,
float partialTicks,
boolean hasScreen,
int mouseX,
int mouseY)
Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet.
|
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.
|
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
NetLoginHandler.getPlayer() |
Modifier and Type | Method and Description |
---|---|
abstract EntityPlayer |
NetHandler.getPlayer() |
Constructor and Description |
---|
Packet20NamedEntitySpawn(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
boolean |
MinecraftServer.isBlockProtected(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Returns true if a player does not have permission to edit the block at the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DedicatedServer.isBlockProtected(World par1World,
int par2,
int par3,
int par4,
EntityPlayer par5EntityPlayer)
Returns true if a player does not have permission to edit the block at the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerConfigurationManager.sendToAllNearExcept(EntityPlayer par1EntityPlayer,
double par2,
double par4,
double par6,
double par8,
int par10,
Packet par11Packet)
params: srcPlayer,x,y,z,d,dimension.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
TileEntitySign.func_142009_b() |
Modifier and Type | Method and Description |
---|---|
void |
TileEntitySign.func_142010_a(EntityPlayer par1EntityPlayer) |
boolean |
TileEntityHopper.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
boolean |
TileEntityBrewingStand.isUseableByPlayer(EntityPlayer par1EntityPlayer)
Do not make give this method the name canInteractWith because it clashes with Container
|
boolean |
TileEntityEnderChest.isUseableByPlayer(EntityPlayer par1EntityPlayer) |
boolean |
TileEntityFurnace.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 |
TileEntityBeacon.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
|
Modifier and Type | Method and Description |
---|---|
static DamageSource |
DamageSource.causePlayerDamage(EntityPlayer par0EntityPlayer)
returns an EntityDamageSource of type player
|
void |
FoodStats.onUpdate(EntityPlayer par1EntityPlayer)
Handles the food game logic.
|
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
Village.func_82685_c(EntityLivingBase par1EntityLivingBase) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.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.canMineBlockBody(EntityPlayer par1EntityPlayer,
int par2,
int par3,
int par4) |
boolean |
WorldServer.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 |
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 |
IWorldAccess.playAuxSFX(EntityPlayer entityplayer,
int i,
int j,
int k,
int l,
int i1)
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 |
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 |
IWorldAccess.playSoundToNearExcept(EntityPlayer entityplayer,
String s,
double d0,
double d1,
double d2,
float f,
float f1)
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
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
MapInfo.entityplayerObj
Reference for EntityPlayer object in MapInfo
|
Modifier and Type | Method and Description |
---|---|
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
|
NBTTagCompound |
IPlayerFileData.readPlayerData(EntityPlayer entityplayer)
Reads the player data from disk into the specified PlayerEntityMP.
|
NBTTagCompound |
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 entityplayer)
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.
|
Constructor and Description |
---|
MapInfo(MapData par1MapData,
EntityPlayer par2EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
DrawBlockHighlightEvent.player |
Constructor and Description |
---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
MovingObjectPosition target,
int subID,
ItemStack currentItem,
float partialTicks) |
RenderPlayerEvent.Post(EntityPlayer player,
RenderPlayer renderer,
float tick) |
RenderPlayerEvent.Pre(EntityPlayer player,
RenderPlayer renderer,
float tick) |
RenderPlayerEvent.SetArmorModel(EntityPlayer player,
RenderPlayer renderer,
int slot,
float partialTick,
ItemStack stack) |
RenderPlayerEvent.Specials.Post(EntityPlayer player,
RenderPlayer renderer,
float partialTicks) |
RenderPlayerEvent.Specials.Pre(EntityPlayer player,
RenderPlayer renderer,
float partialTicks) |
RenderPlayerEvent.Specials(EntityPlayer player,
RenderPlayer renderer,
float partialTicks) |
RenderPlayerEvent(EntityPlayer player,
RenderPlayer renderer,
float partialRenderTick) |
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
abstract void |
ForgePacket.execute(INetworkManager network,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
void |
DimensionRegisterPacket.execute(INetworkManager network,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeEventFactory.doPlayerHarvestCheck(EntityPlayer player,
Block block,
boolean success) |
static float |
ForgeEventFactory.fireBlockHarvesting(ArrayList<ItemStack> drops,
World world,
Block block,
int x,
int y,
int z,
int meta,
int fortune,
float dropChance,
boolean silkTouch,
EntityPlayer player) |
static float |
ForgeEventFactory.getBreakSpeed(EntityPlayer player,
Block block,
int metadata,
float original) |
static String |
ForgeEventFactory.getPlayerDisplayName(EntityPlayer player,
String username) |
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) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
ItemTossEvent.player
The player tossing the item.
|
Constructor and Description |
---|
ItemTossEvent(EntityItem entityItem,
EntityPlayer player)
Creates a new event for EntityItems tossed by a player.
|
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
MinecartInteractEvent.player |
Constructor and Description |
---|
MinecartInteractEvent(EntityMinecart minecart,
EntityPlayer player) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
PlayerDropsEvent.entityPlayer |
EntityPlayer |
PlayerEvent.entityPlayer |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
BlockEvent.HarvestDropsEvent.harvester |
Constructor and Description |
---|
BlockEvent.HarvestDropsEvent(int x,
int y,
int z,
World world,
Block block,
int blockMetadata,
int fortuneLevel,
float dropChance,
ArrayList<ItemStack> drops,
EntityPlayer harvester,
boolean isSilkTouching) |
Modifier and Type | Method and Description |
---|---|
void |
FluidIdMapPacket.execute(INetworkManager network,
EntityPlayer player) |