Modifier and Type | Method and Description |
---|---|
ResourceLocation |
ItemRenderer.getEntityTexture(ItemEntity entity) |
void |
ItemRenderer.render(ItemEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<ItemEntity> |
Entity.captureDrops |
static EntityType<ItemEntity> |
EntityType.ITEM |
Modifier and Type | Method and Description |
---|---|
ItemEntity |
Entity.entityDropItem(IItemProvider itemIn) |
ItemEntity |
Entity.entityDropItem(IItemProvider itemIn,
int offset) |
ItemEntity |
Entity.entityDropItem(ItemStack stack) |
ItemEntity |
Entity.entityDropItem(ItemStack stack,
float offsetY) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ItemEntity> |
Entity.captureDrops() |
java.util.Collection<ItemEntity> |
Entity.captureDrops(java.util.Collection<ItemEntity> value) |
Modifier and Type | Method and Description |
---|---|
protected void |
MobEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ItemEntity> |
Entity.captureDrops(java.util.Collection<ItemEntity> value) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ItemEntity> |
PickupFoodTask.field_225452_a |
Modifier and Type | Method and Description |
---|---|
ItemEntity |
HangingEntity.entityDropItem(ItemStack stack,
float offsetY) |
Modifier and Type | Method and Description |
---|---|
private static void |
ItemEntity.func_213858_a(ItemEntity p_213858_0_,
ItemStack p_213858_1_,
ItemEntity p_213858_2_,
ItemStack p_213858_3_) |
private void |
ItemEntity.func_226530_a_(ItemEntity p_226530_1_) |
private static void |
ItemEntity.func_226531_a_(ItemEntity p_226531_0_,
ItemStack p_226531_1_,
ItemStack p_226531_2_) |
Constructor and Description |
---|
ItemEntity(EntityType<? extends ItemEntity> p_i50217_1_,
World p_i50217_2_) |
Modifier and Type | Method and Description |
---|---|
protected void |
VillagerEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Predicate<ItemEntity> |
AbstractRaiderEntity.field_213665_b |
Modifier and Type | Method and Description |
---|---|
protected void |
PillagerEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
protected void |
AbstractRaiderEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Predicate<ItemEntity> |
DolphinEntity.ITEM_SELECTOR |
private static java.util.function.Predicate<ItemEntity> |
PandaEntity.PANDA_ITEMS |
private static java.util.function.Predicate<ItemEntity> |
FoxEntity.TRUSTED_TARGET_SELECTOR |
Modifier and Type | Method and Description |
---|---|
protected void |
FoxEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
protected void |
DolphinEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
protected void |
PandaEntity.updateEquipmentIfNeeded(ItemEntity itemEntity) |
Modifier and Type | Method and Description |
---|---|
ItemEntity |
PlayerEntity.dropItem(ItemStack itemStackIn,
boolean unused) |
ItemEntity |
PlayerEntity.dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
ItemEntity |
ServerPlayerEntity.dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ItemEntity> |
HopperTileEntity.getCaptureItems(IHopper p_200115_0_) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HopperTileEntity.captureItem(IInventory p_200114_0_,
ItemEntity p_200114_1_) |
Modifier and Type | Method and Description |
---|---|
static ItemEntity |
ForgeHooks.onPlayerTossEvent(PlayerEntity player,
ItemStack item,
boolean includeName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.onLivingDrops(LivingEntity entity,
DamageSource source,
java.util.Collection<ItemEntity> drops,
int lootingLevel,
boolean recentlyHit) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ItemEntity> |
IForgeEntity.captureDrops() |
java.util.Collection<ItemEntity> |
IForgeEntity.captureDrops(java.util.Collection<ItemEntity> captureDrops) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeItemStack.onEntityItemUpdate(ItemEntity entity)
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.
|
default boolean |
IForgeItem.onEntityItemUpdate(ItemStack stack,
ItemEntity entity)
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 |
---|---|
java.util.Collection<ItemEntity> |
IForgeEntity.captureDrops(java.util.Collection<ItemEntity> captureDrops) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeEventFactory.onItemExpire(ItemEntity entity,
ItemStack item) |
static int |
ForgeEventFactory.onItemPickup(ItemEntity entityItem,
PlayerEntity player) |
Modifier and Type | Field and Description |
---|---|
private ItemEntity |
ItemEvent.entityItem |
Modifier and Type | Method and Description |
---|---|
ItemEntity |
ItemEvent.getEntityItem()
The relevant EntityItem for this event, already cast for you.
|
Constructor and Description |
---|
ItemEvent(ItemEntity itemEntity)
Creates a new event for an EntityItem.
|
ItemExpireEvent(ItemEntity entityItem,
int extraLife)
Creates a new event for an expiring EntityItem.
|
ItemTossEvent(ItemEntity entityItem,
PlayerEntity player)
Creates a new event for EntityItems tossed by a player.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<ItemEntity> |
LivingDropsEvent.drops |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ItemEntity> |
LivingDropsEvent.getDrops() |
Constructor and Description |
---|
LivingDropsEvent(LivingEntity entity,
DamageSource source,
java.util.Collection<ItemEntity> drops,
int lootingLevel,
boolean recentlyHit) |
Modifier and Type | Field and Description |
---|---|
private ItemEntity |
EntityItemPickupEvent.item |
private ItemEntity |
PlayerEvent.ItemPickupEvent.originalEntity
Original EntityItem with current remaining stack size
|
Modifier and Type | Method and Description |
---|---|
ItemEntity |
EntityItemPickupEvent.getItem() |
ItemEntity |
PlayerEvent.ItemPickupEvent.getOriginalEntity() |
Constructor and Description |
---|
EntityItemPickupEvent(PlayerEntity player,
ItemEntity item) |
ItemPickupEvent(PlayerEntity player,
ItemEntity entPickedUp,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
static void |
BasicEventHooks.firePlayerItemPickupEvent(PlayerEntity player,
ItemEntity item,
ItemStack clone) |