Uses of Class
net.minecraft.world.entity.item.ItemEntity
Packages that use ItemEntity
Package
Description
-
Uses of ItemEntity in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionItemEntityRenderer.getTextureLocation
(ItemEntity p_115034_) void
ItemEntityRenderer.render
(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) -
Uses of ItemEntity in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return ItemEntityModifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.server.level
Methods in net.minecraft.server.level that return ItemEntityModifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type ItemEntityModifier and TypeFieldDescriptionprivate Collection<ItemEntity>
Entity.captureDrops
static final EntityType<ItemEntity>
EntityType.ITEM
Methods in net.minecraft.world.entity that return ItemEntityModifier and TypeMethodDescriptionEntity.spawnAtLocation
(ItemStack p_19984_) Entity.spawnAtLocation
(ItemStack p_19985_, float p_19986_) Entity.spawnAtLocation
(ItemLike p_19999_) Entity.spawnAtLocation
(ItemLike p_20001_, int p_20002_) Methods in net.minecraft.world.entity that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionEntity.captureDrops()
Entity.captureDrops
(Collection<ItemEntity> value) Methods in net.minecraft.world.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionvoid
LivingEntity.onItemPickup
(ItemEntity p_21054_) protected void
Mob.pickUpItem
(ItemEntity p_21471_) Method parameters in net.minecraft.world.entity with type arguments of type ItemEntity -
Uses of ItemEntity in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return ItemEntityModifier and TypeMethodDescriptionprivate ItemEntity
GoToWantedItem.getClosestLovedItem
(E p_23156_) -
Uses of ItemEntity in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type ItemEntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal with type parameters of type ItemEntityModifier and TypeFieldDescriptionstatic final Predicate<ItemEntity>
Dolphin.ALLOWED_ITEMS
(package private) static final Predicate<ItemEntity>
Fox.ALLOWED_ITEMS
(package private) static final Predicate<ItemEntity>
Panda.PANDA_ITEMS
Methods in net.minecraft.world.entity.animal with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected void
Dolphin.pickUpItem
(ItemEntity p_28357_) protected void
Fox.pickUpItem
(ItemEntity p_28514_) protected void
Panda.pickUpItem
(ItemEntity p_29121_) -
Uses of ItemEntity in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return ItemEntityModifier and TypeMethodDescriptionHangingEntity.spawnAtLocation
(ItemStack p_31722_, float p_31723_) -
Uses of ItemEntity in net.minecraft.world.entity.item
Methods in net.minecraft.world.entity.item that return ItemEntityMethods in net.minecraft.world.entity.item with parameters of type ItemEntityModifier and TypeMethodDescriptionprivate static void
ItemEntity.merge
(ItemEntity p_32018_, ItemStack p_32019_, ItemEntity p_32020_, ItemStack p_32021_) private static void
ItemEntity.merge
(ItemEntity p_32023_, ItemStack p_32024_, ItemStack p_32025_) private void
ItemEntity.tryToMerge
(ItemEntity p_32016_) Constructors in net.minecraft.world.entity.item with parameters of type ItemEntityConstructor parameters in net.minecraft.world.entity.item with type arguments of type ItemEntityModifierConstructorDescriptionItemEntity
(EntityType<? extends ItemEntity> p_31991_, Level p_31992_) -
Uses of ItemEntity in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type ItemEntity -
Uses of ItemEntity in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected void
Piglin.pickUpItem
(ItemEntity p_34743_) protected static void
PiglinAi.pickUpItem
(Piglin p_34844_, ItemEntity p_34845_) private static ItemStack
PiglinAi.removeOneItemFromItemEntity
(ItemEntity p_34823_) -
Uses of ItemEntity in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type ItemEntity -
Uses of ItemEntity in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return ItemEntityModifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.world.entity.raid
Fields in net.minecraft.world.entity.raid with type parameters of type ItemEntityModifier and TypeFieldDescription(package private) static final Predicate<ItemEntity>
Raider.ALLOWED_ITEMS
Methods in net.minecraft.world.entity.raid with parameters of type ItemEntity -
Uses of ItemEntity in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic void
ItemUtils.onContainerDestroyed
(ItemEntity p_150953_, Stream<ItemStack> p_150954_) void
BlockItem.onDestroyed
(ItemEntity p_150700_) void
BundleItem.onDestroyed
(ItemEntity p_150728_) void
Item.onDestroyed
(ItemEntity p_150887_) void
ItemStack.onDestroyed
(ItemEntity p_150925_) Deprecated.Forge: Use damage source sensitive version -
Uses of ItemEntity in net.minecraft.world.level.block
Method parameters in net.minecraft.world.level.block with type arguments of type ItemEntityModifier and TypeMethodDescriptionprivate static void
Block.popResource
(Level p_152441_, Supplier<ItemEntity> p_152442_, ItemStack p_152443_) -
Uses of ItemEntity in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionstatic List<ItemEntity>
HopperBlockEntity.getItemsAtAndAbove
(Level p_155590_, Hopper p_155591_) Methods in net.minecraft.world.level.block.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic boolean
HopperBlockEntity.addItem
(Container p_59332_, ItemEntity p_59333_) -
Uses of ItemEntity in net.minecraftforge.common
Methods in net.minecraftforge.common that return ItemEntityModifier and TypeMethodDescriptionstatic ItemEntity
ForgeHooks.onPlayerTossEvent
(Player player, ItemStack item, boolean includeName) Method parameters in net.minecraftforge.common with type arguments of type ItemEntityModifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onLivingDrops
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) -
Uses of ItemEntity in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionIForgeEntity.captureDrops()
IForgeEntity.captureDrops
(Collection<ItemEntity> captureDrops) Methods in net.minecraftforge.common.extensions with parameters of type ItemEntityModifier and TypeMethodDescriptiondefault void
IForgeItem.onDestroyed
(ItemEntity itemEntity, DamageSource damageSource) Called when an item entity for this stack is destroyed.default void
IForgeItemStack.onDestroyed
(ItemEntity itemEntity, DamageSource damageSource) Called when an item entity for this stack is destroyed.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.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.Method parameters in net.minecraftforge.common.extensions with type arguments of type ItemEntity -
Uses of ItemEntity in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic void
ForgeEventFactory.firePlayerItemPickupEvent
(Player player, ItemEntity item, ItemStack clone) static int
ForgeEventFactory.onItemExpire
(ItemEntity entity, ItemStack item) static int
ForgeEventFactory.onItemPickup
(ItemEntity entityItem, Player player) -
Uses of ItemEntity in net.minecraftforge.event.entity.item
Fields in net.minecraftforge.event.entity.item declared as ItemEntityMethods in net.minecraftforge.event.entity.item that return ItemEntityModifier and TypeMethodDescriptionItemEvent.getEntityItem()
The relevant EntityItem for this event, already cast for you.Constructors in net.minecraftforge.event.entity.item with parameters of type ItemEntityModifierConstructorDescriptionItemEvent
(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, Player player) Creates a new event for EntityItems tossed by a player. -
Uses of ItemEntity in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living with type parameters of type ItemEntityMethods in net.minecraftforge.event.entity.living that return types with arguments of type ItemEntityConstructor parameters in net.minecraftforge.event.entity.living with type arguments of type ItemEntityModifierConstructorDescriptionLivingDropsEvent
(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, int lootingLevel, boolean recentlyHit) -
Uses of ItemEntity in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ItemEntityModifier and TypeFieldDescriptionprivate final ItemEntity
EntityItemPickupEvent.item
private final ItemEntity
PlayerEvent.ItemPickupEvent.originalEntity
Original EntityItem with current remaining stack sizeMethods in net.minecraftforge.event.entity.player that return ItemEntityModifier and TypeMethodDescriptionEntityItemPickupEvent.getItem()
PlayerEvent.ItemPickupEvent.getOriginalEntity()
Constructors in net.minecraftforge.event.entity.player with parameters of type ItemEntityModifierConstructorDescriptionEntityItemPickupEvent
(Player player, ItemEntity item) ItemPickupEvent
(Player player, ItemEntity entPickedUp, ItemStack stack)