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 final 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 final MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.world.entity.animal
Modifier 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
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.animal.allay
-
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
Modifier and TypeMethodDescriptionstatic void
InventoryCarrier.pickUpItem
(Mob p_219612_, InventoryCarrier p_219613_, ItemEntity p_219614_) protected void
Villager.pickUpItem
(ItemEntity p_35467_) -
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 final 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_) Deprecated.Forge: Use damage source sensitive version -
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 @Nullable ItemEntity
ForgeHooks.onPlayerTossEvent
(@NotNull Player player, @NotNull 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 TypeMethodDescription@Nullable Collection<ItemEntity>
IForgeEntity.captureDrops()
IForgeEntity.captureDrops
(@Nullable Collection<ItemEntity> captureDrops) Modifier 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.Modifier and TypeMethodDescriptionIForgeEntity.captureDrops
(@Nullable Collection<ItemEntity> captureDrops) -
Uses of ItemEntity in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.firePlayerItemPickupEvent
(Player player, ItemEntity item, ItemStack clone) static int
ForgeEventFactory.onItemExpire
(ItemEntity entity, @NotNull ItemStack item) static int
ForgeEventFactory.onItemPickup
(ItemEntity entityItem, Player player) -
Uses of ItemEntity in net.minecraftforge.event.entity.item
ModifierConstructorDescriptionItemEvent
(ItemEntity itemEntity) Creates a new event for anItemEntity
.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 final ItemEntity
EntityItemPickupEvent.item
private final 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.fluids
Modifier and TypeMethodDescriptionvoid
FluidType.setItemMovement
(ItemEntity entity) Performs what to do when an item is in a fluid.