Uses of Class
net.minecraft.entity.item.ItemEntity
Package
Description
-
Uses of ItemEntity in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionItemRenderer.getTextureLocation
(ItemEntity p_110775_1_) void
ItemRenderer.render
(ItemEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) -
Uses of ItemEntity in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate Collection<ItemEntity>
Entity.captureDrops
static final EntityType<ItemEntity>
EntityType.ITEM
Modifier and TypeMethodDescriptionEntity.spawnAtLocation
(ItemStack p_199701_1_) Entity.spawnAtLocation
(ItemStack p_70099_1_, float p_70099_2_) Entity.spawnAtLocation
(IItemProvider p_199703_1_) Entity.spawnAtLocation
(IItemProvider p_199702_1_, int p_199702_2_) Modifier and TypeMethodDescriptionEntity.captureDrops()
Entity.captureDrops
(Collection<ItemEntity> value) Modifier and TypeMethodDescriptionvoid
LivingEntity.onItemPickup
(ItemEntity p_233630_1_) protected void
MobEntity.pickUpItem
(ItemEntity p_175445_1_) -
Uses of ItemEntity in net.minecraft.entity.ai.brain.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate ItemEntity
PickupWantedItemTask.getClosestLovedItem
(E p_233909_1_) -
Uses of ItemEntity in net.minecraft.entity.item
Modifier and TypeMethodDescriptionItemEntity.copy()
HangingEntity.spawnAtLocation
(ItemStack p_70099_1_, float p_70099_2_) Modifier and TypeMethodDescriptionprivate static void
ItemEntity.merge
(ItemEntity p_213858_0_, ItemStack p_213858_1_, ItemEntity p_213858_2_, ItemStack p_213858_3_) private static void
ItemEntity.merge
(ItemEntity p_226531_0_, ItemStack p_226531_1_, ItemStack p_226531_2_) private void
ItemEntity.tryToMerge
(ItemEntity p_226530_1_) ModifierConstructorDescriptionItemEntity
(EntityType<? extends ItemEntity> p_i50217_1_, World p_i50217_2_) -
Uses of ItemEntity in net.minecraft.entity.merchant.villager
Modifier and TypeMethodDescriptionprotected void
VillagerEntity.pickUpItem
(ItemEntity p_175445_1_) -
Uses of ItemEntity in net.minecraft.entity.monster
Modifier and TypeFieldDescriptionprivate static final Predicate<ItemEntity>
AbstractRaiderEntity.ALLOWED_ITEMS
Modifier and TypeMethodDescriptionprotected void
AbstractRaiderEntity.pickUpItem
(ItemEntity p_175445_1_) protected void
PillagerEntity.pickUpItem
(ItemEntity p_175445_1_) -
Uses of ItemEntity in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionprotected void
PiglinEntity.pickUpItem
(ItemEntity p_175445_1_) protected static void
PiglinTasks.pickUpItem
(PiglinEntity p_234470_0_, ItemEntity p_234470_1_) private static ItemStack
PiglinTasks.removeOneItemFromItemEntity
(ItemEntity p_234465_0_) -
Uses of ItemEntity in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionstatic final Predicate<ItemEntity>
DolphinEntity.ALLOWED_ITEMS
private static final Predicate<ItemEntity>
FoxEntity.ALLOWED_ITEMS
private static final Predicate<ItemEntity>
PandaEntity.PANDA_ITEMS
Modifier and TypeMethodDescriptionprotected void
DolphinEntity.pickUpItem
(ItemEntity p_175445_1_) protected void
FoxEntity.pickUpItem
(ItemEntity p_175445_1_) protected void
PandaEntity.pickUpItem
(ItemEntity p_175445_1_) -
Uses of ItemEntity in net.minecraft.entity.player
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.tileentity
Modifier and TypeMethodDescriptionstatic List<ItemEntity>
HopperTileEntity.getItemsAtAndAbove
(IHopper p_200115_0_) Modifier and TypeMethodDescriptionstatic boolean
HopperTileEntity.addItem
(IInventory p_200114_0_, ItemEntity p_200114_1_) -
Uses of ItemEntity in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic ItemEntity
ForgeHooks.onPlayerTossEvent
(PlayerEntity player, ItemStack item, boolean includeName) Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) -
Uses of ItemEntity in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeEntity.captureDrops()
IForgeEntity.captureDrops
(Collection<ItemEntity> captureDrops) Modifier and TypeMethodDescriptiondefault 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.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. -
Uses of ItemEntity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic int
ForgeEventFactory.onItemExpire
(ItemEntity entity, ItemStack item) static int
ForgeEventFactory.onItemPickup
(ItemEntity entityItem, PlayerEntity player) -
Uses of ItemEntity in net.minecraftforge.event.entity.item
Modifier and TypeMethodDescriptionItemEvent.getEntityItem()
The relevant EntityItem for this event, already cast for you.ModifierConstructorDescriptionItemEvent
(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. -
Uses of ItemEntity in net.minecraftforge.event.entity.living
ModifierConstructorDescriptionLivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) -
Uses of ItemEntity in net.minecraftforge.event.entity.player
Modifier and TypeFieldDescriptionprivate final ItemEntity
EntityItemPickupEvent.item
private final ItemEntity
PlayerEvent.ItemPickupEvent.originalEntity
Original EntityItem with current remaining stack sizeModifier and TypeMethodDescriptionEntityItemPickupEvent.getItem()
PlayerEvent.ItemPickupEvent.getOriginalEntity()
ModifierConstructorDescriptionEntityItemPickupEvent
(PlayerEntity player, ItemEntity item) ItemPickupEvent
(PlayerEntity player, ItemEntity entPickedUp, ItemStack stack) -
Uses of ItemEntity in net.minecraftforge.fml.hooks
Modifier and TypeMethodDescriptionstatic void
BasicEventHooks.firePlayerItemPickupEvent
(PlayerEntity player, ItemEntity item, ItemStack clone)