Modifier and Type | Method and Description |
---|---|
void |
IPickupNotifier.notifyPickup(EntityItem item,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
void |
ModLoaderPickupNotifier.notifyPickup(EntityItem item,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
static void |
GameRegistry.onPickupNotification(EntityPlayer player,
EntityItem item) |
Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityClientPlayerMP.dropOneItem(boolean par1)
Called when player presses the drop item key
|
Modifier and Type | Method and Description |
---|---|
void |
EntityClientPlayerMP.joinEntityItemWithWorld(EntityItem par1EntityItem)
Joins the passed in entity item with the world.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderItem.doRenderItem(EntityItem par1EntityItem,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the item
|
Modifier and Type | Field and Description |
---|---|
ArrayList<EntityItem> |
Entity.capturedDrops |
Modifier and Type | Method and Description |
---|---|
EntityItem |
Entity.dropItem(int par1,
int par2)
Drops an item stack at the entity's position.
|
EntityItem |
Entity.dropItemWithOffset(int par1,
int par2,
float par3)
Drops an item stack with a specified y offset.
|
EntityItem |
Entity.entityDropItem(ItemStack par1ItemStack,
float par2)
Drops an item at the position of the entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityItem.combineItems(EntityItem par1EntityItem)
Tries to merge this item with the item passed as the parameter.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityPlayer.dropOneItem(boolean par1)
Called when player presses the drop item key
|
EntityItem |
EntityPlayer.dropPlayerItem(ItemStack par1ItemStack)
Args: itemstack - called when player drops an item stack that's not in his inventory (like items still placed in
a workbench while the workbench'es GUI gets closed)
|
EntityItem |
EntityPlayer.dropPlayerItemWithRandomChoice(ItemStack par1ItemStack,
boolean par2)
Args: itemstack, flag
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayer.joinEntityItemWithWorld(EntityItem par1EntityItem)
Joins the passed in entity item with the world.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Item.onEntityItemUpdate(EntityItem entityItem)
Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner
control over the update of the item without having to write a subclass.
|
Modifier and Type | Method and Description |
---|---|
static EntityItem |
TileEntityHopper.getEntityAbove(World par0World,
double par1,
double par3,
double par5) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TileEntityHopper.insertStackFromEntity(IInventory par0IInventory,
EntityItem par1EntityItem) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooksClient.renderEntityItem(EntityItem entity,
ItemStack item,
float bobing,
float rotation,
Random random,
TextureManager engine,
RenderBlocks renderBlocks) |
Modifier and Type | Method and Description |
---|---|
static EntityItem |
ForgeHooks.onPlayerTossEvent(EntityPlayer player,
ItemStack item) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.onLivingDrops(EntityLivingBase entity,
DamageSource source,
ArrayList<EntityItem> drops,
int lootingLevel,
boolean recentlyHit,
int specialDropValue) |
Modifier and Type | Field and Description |
---|---|
EntityItem |
ItemEvent.entityItem
The relevant EntityItem for this event, already cast for you.
|
Constructor and Description |
---|
ItemEvent(EntityItem itemEntity)
Creates a new event for an EntityItem.
|
ItemExpireEvent(EntityItem entityItem,
int extraLife)
Creates a new event for an expiring EntityItem.
|
ItemTossEvent(EntityItem entityItem,
EntityPlayer player)
Creates a new event for EntityItems tossed by a player.
|
Modifier and Type | Field and Description |
---|---|
ArrayList<EntityItem> |
LivingDropsEvent.drops |
Constructor and Description |
---|
LivingDropsEvent(EntityLivingBase entity,
DamageSource source,
ArrayList<EntityItem> drops,
int lootingLevel,
boolean recentlyHit,
int specialDropValue) |
Modifier and Type | Field and Description |
---|---|
EntityItem |
EntityItemPickupEvent.item
This event is called when a player collides with a EntityItem on the ground.
|
Constructor and Description |
---|
EntityItemPickupEvent(EntityPlayer player,
EntityItem item) |
Constructor and Description |
---|
PlayerDropsEvent(EntityPlayer entity,
DamageSource source,
ArrayList<EntityItem> drops,
boolean recentlyHit)
Creates a new event containing all the items that will drop into the
world when a player dies.
|