Uses of Class
net.minecraft.world.entity.item.ItemEntity
Package
Description
-
Uses of ItemEntity in net.minecraft.client.renderer.entity
Modifier 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
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.server.level
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate Collection<ItemEntity>
Entity.captureDrops
static EntityType<ItemEntity>
EntityType.ITEM
Modifier 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_)
Modifier and TypeMethodDescriptionEntity.captureDrops()
Entity.captureDrops(Collection<ItemEntity> value)
Modifier and TypeMethodDescriptionvoid
LivingEntity.onItemPickup(ItemEntity p_21054_)
protected void
Mob.pickUpItem(ItemEntity p_21471_)
-
Uses of ItemEntity in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionprivate ItemEntity
GoToWantedItem.getClosestLovedItem(E p_23156_)
-
Uses of ItemEntity in net.minecraft.world.entity.ai.memory
Modifier and TypeFieldDescriptionstatic MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionstatic Predicate<ItemEntity>
Dolphin.ALLOWED_ITEMS
(package private) static Predicate<ItemEntity>
Fox.ALLOWED_ITEMS
(package private) static Predicate<ItemEntity>
Panda.PANDA_ITEMS
Modifier 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
Modifier and TypeMethodDescriptionHangingEntity.spawnAtLocation(ItemStack p_31722_, float p_31723_)
-
Uses of ItemEntity in net.minecraft.world.entity.item
Modifier 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_)
ModifierConstructorDescriptionItemEntity(EntityType<? extends ItemEntity> p_31991_, Level p_31992_)
-
Uses of ItemEntity in net.minecraft.world.entity.monster
-
Uses of ItemEntity in net.minecraft.world.entity.monster.piglin
Modifier 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
-
Uses of ItemEntity in net.minecraft.world.entity.player
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.world.entity.raid
Modifier and TypeFieldDescription(package private) static Predicate<ItemEntity>
Raider.ALLOWED_ITEMS
-
Uses of ItemEntity in net.minecraft.world.item
Modifier 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_)
-
Uses of ItemEntity in net.minecraft.world.level.block
Modifier 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
Modifier and TypeMethodDescriptionstatic List<ItemEntity>
HopperBlockEntity.getItemsAtAndAbove(Level p_155590_, Hopper p_155591_)
Modifier and TypeMethodDescriptionstatic boolean
HopperBlockEntity.addItem(Container p_59332_, ItemEntity p_59333_)
-
Uses of ItemEntity in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic ItemEntity
ForgeHooks.onPlayerTossEvent(Player 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.Modifier and TypeMethodDescriptionIForgeEntity.captureDrops(Collection<ItemEntity> captureDrops)
-
Uses of ItemEntity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic int
ForgeEventFactory.onItemExpire(ItemEntity entity, ItemStack item)
static int
ForgeEventFactory.onItemPickup(ItemEntity entityItem, Player 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, Player 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 ItemEntity
EntityItemPickupEvent.item
private ItemEntity
PlayerEvent.ItemPickupEvent.originalEntity
Original EntityItem with current remaining stack sizeModifier and TypeMethodDescriptionEntityItemPickupEvent.getItem()
PlayerEvent.ItemPickupEvent.getOriginalEntity()
ModifierConstructorDescriptionEntityItemPickupEvent(Player player, ItemEntity item)
ItemPickupEvent(Player player, ItemEntity entPickedUp, ItemStack stack)
-
Uses of ItemEntity in net.minecraftforge.fmllegacy.hooks
Modifier and TypeMethodDescriptionstatic void
BasicEventHooks.firePlayerItemPickupEvent(Player player, ItemEntity item, ItemStack clone)