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 entity) Returns the location of an entity's texture.voidItemEntityRenderer.render(ItemEntity entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) -
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 TypeMethodDescriptionCreates and drops the provided item.Methods in net.minecraft.server.level with parameters of type ItemEntity -
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.captureDropsNeo: Short-lived holder of dropped item entities.static final EntityType<ItemEntity> EntityType.ITEMMethods in net.minecraft.world.entity that return ItemEntityModifier and TypeMethodDescriptionEntity.spawnAtLocation(ItemStack stack) Entity.spawnAtLocation(ItemStack stack, float offsetY) Drops an item at the position of the entity.Entity.spawnAtLocation(ItemLike item) Entity.spawnAtLocation(ItemLike item, int offsetY) 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 TypeMethodDescriptionvoidLivingEntity.onItemPickup(ItemEntity itemEntity) protected voidMob.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece.Method parameters in net.minecraft.world.entity with type arguments of type ItemEntity -
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_ITEMSMethods in net.minecraft.world.entity.animal with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected voidDolphin.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece.protected voidFox.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece.protected voidPanda.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece. -
Uses of ItemEntity in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected voidAllay.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece. -
Uses of ItemEntity in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return ItemEntityModifier and TypeMethodDescriptionHangingEntity.spawnAtLocation(ItemStack stack, float offsetY) Drops an item at the position of the entity. -
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 voidItemEntity.merge(ItemEntity destinationEntity, ItemStack destinationStack, ItemEntity originEntity, ItemStack originStack) private static voidItemEntity.merge(ItemEntity destinationEntity, ItemStack destinationStack, ItemStack originStack) private voidItemEntity.tryToMerge(ItemEntity itemEntity) 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> entityType, Level level) -
Uses of ItemEntity in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected voidPillager.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece. -
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 voidPiglin.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece.protected static voidPiglinAi.pickUpItem(Piglin piglin, ItemEntity itemEntity) private static ItemStackPiglinAi.removeOneItemFromItemEntity(ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic voidInventoryCarrier.pickUpItem(Mob mob, InventoryCarrier carrier, ItemEntity itemEntity) protected voidVillager.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece. -
Uses of ItemEntity in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return ItemEntityModifier and TypeMethodDescriptionDrops an item into the world.Creates and drops the provided item. -
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_ITEMSMethods in net.minecraft.world.entity.raid with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected voidRaider.pickUpItem(ItemEntity itemEntity) Tests if this entity should pick up a weapon or an armor piece. -
Uses of ItemEntity in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic voidItemUtils.onContainerDestroyed(ItemEntity container, Iterable<ItemStack> contents) voidBlockItem.onDestroyed(ItemEntity itemEntity) voidBundleItem.onDestroyed(ItemEntity itemEntity) voidItem.onDestroyed(ItemEntity itemEntity) Deprecated.voidItemStack.onDestroyed(ItemEntity itemEntity) Deprecated.Forge: Use invalid input: '{@linkplain net.neoforged.neoforge.common.extensions.IItemStackExtension#' onDestroyed(ItemEntity, net.minecraft.world.damagesource.DamageSource) damage source sensitive version} -
Uses of ItemEntity in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type ItemEntityModifier and TypeFieldDescriptionprivate static List<ItemEntity> Block.capturedDropsNeo: Short-lived holder of dropped item entities.Methods in net.minecraft.world.level.block that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionprivate static List<ItemEntity> Block.stopCapturingDrops()Ends the drop capture process by settingBlock.capturedDropsto null and returning the old list.Method parameters in net.minecraft.world.level.block with type arguments of type ItemEntityModifier and TypeMethodDescriptionprivate static voidBlock.popResource(Level level, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) -
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 level, Hopper hopper) Methods in net.minecraft.world.level.block.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic booleanHopperBlockEntity.addItem(Container container, ItemEntity item) -
Uses of ItemEntity in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return ItemEntityModifier and TypeMethodDescriptionstatic @Nullable ItemEntityCommonHooks.onPlayerTossEvent(Player player, ItemStack item, boolean includeName) Method parameters in net.neoforged.neoforge.common with type arguments of type ItemEntityModifier and TypeMethodDescriptionstatic voidCommonHooks.handleBlockDrops(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Fires theBlockDropsEventwhen block drops (items and experience) are determined.static booleanCommonHooks.onLivingDrops(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, boolean recentlyHit) -
Uses of ItemEntity in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return types with arguments of type ItemEntityModifier and TypeMethodDescription@Nullable Collection<ItemEntity> IEntityExtension.captureDrops()IEntityExtension.captureDrops(@Nullable Collection<ItemEntity> captureDrops) Methods in net.neoforged.neoforge.common.extensions with parameters of type ItemEntityModifier and TypeMethodDescriptiondefault voidIItemExtension.onDestroyed(ItemEntity itemEntity, DamageSource damageSource) Called when an item entity for this stack is destroyed.default voidIItemStackExtension.onDestroyed(ItemEntity itemEntity, DamageSource damageSource) Called when an item entity for this stack is destroyed.default booleanIItemExtension.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 booleanIItemStackExtension.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.neoforged.neoforge.common.extensions with type arguments of type ItemEntityModifier and TypeMethodDescriptionIEntityExtension.captureDrops(@Nullable Collection<ItemEntity> captureDrops) -
Uses of ItemEntity in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic voidEventHooks.fireItemPickupPost(ItemEntity itemEntity, Player player, ItemStack copy) Called inplayerTouch(Player)after an item was successfully picked up.static ItemEntityPickupEvent.PreEventHooks.fireItemPickupPre(ItemEntity itemEntity, Player player) Called inplayerTouch(Player)before any other processing occurs.static intEventHooks.onItemExpire(ItemEntity entity) -
Uses of ItemEntity in net.neoforged.neoforge.event.entity.item
Fields in net.neoforged.neoforge.event.entity.item declared as ItemEntityMethods in net.neoforged.neoforge.event.entity.item that return ItemEntityConstructors in net.neoforged.neoforge.event.entity.item with parameters of type ItemEntityModifierConstructorDescriptionItemEvent(ItemEntity itemEntity) Creates a new event for anItemEntity.ItemExpireEvent(ItemEntity itemEntity) Creates a new event for an expiringItemEntity.ItemTossEvent(ItemEntity entityItem, Player player) Creates a new event for EntityItems tossed by a player. -
Uses of ItemEntity in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living with type parameters of type ItemEntityMethods in net.neoforged.neoforge.event.entity.living that return types with arguments of type ItemEntityConstructor parameters in net.neoforged.neoforge.event.entity.living with type arguments of type ItemEntityModifierConstructorDescriptionLivingDropsEvent(LivingEntity entity, DamageSource source, Collection<ItemEntity> drops, boolean recentlyHit) -
Uses of ItemEntity in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as ItemEntityMethods in net.neoforged.neoforge.event.entity.player that return ItemEntityModifier and TypeMethodDescriptionItemEntityPickupEvent.getItemEntity()Returns theItemEntitythat was collided with.Constructors in net.neoforged.neoforge.event.entity.player with parameters of type ItemEntityModifierConstructorDescriptionItemEntityPickupEvent(Player player, ItemEntity item) Post(Player player, ItemEntity item, ItemStack originalStack) Pre(Player player, ItemEntity item) -
Uses of ItemEntity in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level with type parameters of type ItemEntityMethods in net.neoforged.neoforge.event.level that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionBlockDropsEvent.getDrops()Returns a mutable list of item entities that will be dropped by this block.Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type ItemEntityModifierConstructorDescriptionBlockDropsEvent(ServerLevel level, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, List<ItemEntity> drops, @Nullable Entity breaker, ItemStack tool) Constructs a new BlockDropsEvent -
Uses of ItemEntity in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type ItemEntityModifier and TypeMethodDescriptionvoidFluidType.setItemMovement(ItemEntity entity) Performs what to do when an item is in a fluid.
(ItemEntity, DamageSource) Use damage source sensitive version