Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityPlayerSP.dropItem(boolean dropAll) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
EntityPlayerSP.dropItemAndGetStack(EntityItem p_184816_1_) |
Modifier and Type | Method and Description |
---|---|
void |
RenderEntityItem.doRender(EntityItem entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
protected ResourceLocation |
RenderEntityItem.getEntityTexture(EntityItem entity) |
private int |
RenderEntityItem.transformModelCount(EntityItem itemIn,
double p_177077_2_,
double p_177077_4_,
double p_177077_6_,
float p_177077_8_,
IBakedModel p_177077_9_) |
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<EntityItem> |
Entity.capturedDrops |
Modifier and Type | Method and Description |
---|---|
EntityItem |
Entity.dropItem(Item itemIn,
int size) |
EntityItem |
Entity.dropItemWithOffset(Item itemIn,
int size,
float offsetY) |
EntityItem |
EntityHanging.entityDropItem(ItemStack stack,
float offsetY) |
EntityItem |
Entity.entityDropItem(ItemStack stack,
float offsetY) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntityLiving.updateEquipmentIfNeeded(EntityItem itemEntity) |
Modifier and Type | Method and Description |
---|---|
private boolean |
EntityItem.combineItems(EntityItem other) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntityVillager.updateEquipmentIfNeeded(EntityItem itemEntity) |
Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityPlayer.dropItem(boolean dropAll) |
EntityItem |
EntityPlayer.dropItem(ItemStack itemStackIn,
boolean unused) |
EntityItem |
EntityPlayer.dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
EntityPlayer.dropItemAndGetStack(EntityItem p_184816_1_) |
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 java.util.List<EntityItem> |
TileEntityHopper.getCaptureItems(World worldIn,
double p_184292_1_,
double p_184292_3_,
double p_184292_5_) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TileEntityHopper.putDropInInventoryAllSlots(IInventory source,
IInventory destination,
EntityItem entity) |
Modifier and Type | Method and Description |
---|---|
static EntityItem |
ForgeHooks.onPlayerTossEvent(EntityPlayer player,
ItemStack item,
boolean includeName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.onLivingDrops(EntityLivingBase entity,
DamageSource source,
java.util.ArrayList<EntityItem> drops,
int lootingLevel,
boolean recentlyHit) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeEventFactory.onItemExpire(EntityItem entity,
ItemStack item) |
static int |
ForgeEventFactory.onItemPickup(EntityItem entityItem,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeEventFactory.onPlayerDrops(EntityPlayer player,
DamageSource cause,
java.util.List<EntityItem> capturedDrops,
boolean recentlyHit) |
Modifier and Type | Field and Description |
---|---|
private EntityItem |
ItemEvent.entityItem |
Modifier and Type | Method and Description |
---|---|
EntityItem |
ItemEvent.getEntityItem()
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 |
---|---|
private java.util.List<EntityItem> |
LivingDropsEvent.drops |
Modifier and Type | Method and Description |
---|---|
java.util.List<EntityItem> |
LivingDropsEvent.getDrops() |
Constructor and Description |
---|
LivingDropsEvent(EntityLivingBase entity,
DamageSource source,
java.util.List<EntityItem> drops,
int lootingLevel,
boolean recentlyHit) |
Modifier and Type | Field and Description |
---|---|
private EntityItem |
EntityItemPickupEvent.item |
Modifier and Type | Method and Description |
---|---|
EntityItem |
EntityItemPickupEvent.getItem() |
Constructor and Description |
---|
EntityItemPickupEvent(EntityPlayer player,
EntityItem item) |
Constructor and Description |
---|
PlayerDropsEvent(EntityPlayer entity,
DamageSource source,
java.util.List<EntityItem> drops,
boolean recentlyHit)
Creates a new event containing all the items that will drop into the
world when a player dies.
|
Modifier and Type | Method and Description |
---|---|
void |
FMLCommonHandler.firePlayerItemPickupEvent(EntityPlayer player,
EntityItem item,
ItemStack clone) |
Modifier and Type | Field and Description |
---|---|
private EntityItem |
PlayerEvent.ItemPickupEvent.originalEntity
Original EntityItem with current remaining stack size
|
EntityItem |
PlayerEvent.ItemPickupEvent.pickedUp
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EntityItem |
PlayerEvent.ItemPickupEvent.getOriginalEntity() |
Constructor and Description |
---|
ItemPickupEvent(EntityPlayer player,
EntityItem entPickedUp,
ItemStack stack) |