Uses of Class
net.minecraft.entity.ItemEntity
Packages that use ItemEntity
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of ItemEntity in net.minecraft.block
Method parameters in net.minecraft.block with type arguments of type ItemEntityModifier and TypeMethodDescriptionprivate static voidBlock.dropStack(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) -
Uses of ItemEntity in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return types with arguments of type ItemEntityModifier and TypeMethodDescriptionstatic List<ItemEntity> HopperBlockEntity.getInputItemEntities(World world, Hopper hopper) Methods in net.minecraft.block.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionstatic booleanHopperBlockEntity.extract(Inventory inventory, ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionvoidItemEntityRenderer.updateRenderState(ItemEntity itemEntity, ItemEntityRenderState itemEntityRenderState, float float2) -
Uses of ItemEntity in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type ItemEntityMethods in net.minecraft.entity that return ItemEntityModifier and TypeMethodDescriptionItemEntity.copy()Entity.dropItem(ServerWorld serverWorld, ItemConvertible itemConvertible) Drops oneitemat the entity's position.Entity.dropItem(ServerWorld serverWorld, ItemConvertible itemConvertible, int int2) Drops oneitemat the entity's position with the given Y offset.Entity.dropStack(ServerWorld serverWorld, ItemStack itemStack) Dropsstackat the entity's position.Entity.dropStack(ServerWorld serverWorld, ItemStack itemStack, float float2) Dropsstackat the entity's position with the given Y offset.Methods in net.minecraft.entity with parameters of type ItemEntityModifier and TypeMethodDescriptionprivate static voidItemEntity.merge(ItemEntity targetEntity, ItemStack targetStack, ItemEntity sourceEntity, ItemStack sourceStack) private static voidItemEntity.merge(ItemEntity targetEntity, ItemStack stack1, ItemStack stack2) static voidInventoryOwner.pickUpItem(ServerWorld serverWorld, MobEntity mobEntity, InventoryOwner inventoryOwner, ItemEntity itemEntity) voidLivingEntity.triggerItemPickedUpByEntityCriteria(ItemEntity item) Called to trigger advancement criteria when an entity picks up an item thrown by a player.private voidItemEntity.tryMerge(ItemEntity other) Constructors in net.minecraft.entity with parameters of type ItemEntityConstructor parameters in net.minecraft.entity with type arguments of type ItemEntity -
Uses of ItemEntity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type ItemEntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<ItemEntity> MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM -
Uses of ItemEntity in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return ItemEntityModifier and TypeMethodDescriptionAbstractDecorationEntity.dropStack(ServerWorld serverWorld, ItemStack itemStack, float float2) Dropsstackat the entity's position with the given Y offset. -
Uses of ItemEntity in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ItemEntityModifier and TypeMethodDescriptionprivate static ItemStackPiglinBrain.getItemFromStack(ItemEntity stack) protected voidMobEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected static voidPiglinBrain.loot(ServerWorld serverWorld, PiglinEntity piglinEntity, ItemEntity itemEntity) protected voidPiglinEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected voidPillagerEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type ItemEntityModifier and TypeFieldDescriptionstatic final Predicate<ItemEntity> DolphinEntity.CAN_TAKE(package private) static final Predicate<ItemEntity> FoxEntity.PICKABLE_DROP_FILTERMethods in net.minecraft.entity.passive with parameters of type ItemEntityModifier and TypeMethodDescriptionprivate static booleanPandaEntity.canEatFromGround(ItemEntity itemEntity) protected voidAllayEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected voidDolphinEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected voidFoxEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected voidPandaEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) protected voidVillagerEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return ItemEntityModifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid declared as ItemEntityModifier and TypeFieldDescriptionprivate @Nullable ItemEntityRaiderEntity.PickUpBannerAsLeaderGoal.bannerItemEntityFields in net.minecraft.entity.raid with type parameters of type ItemEntityModifier and TypeFieldDescription(package private) static final Predicate<ItemEntity> RaiderEntity.OBTAINABLE_OMINOUS_BANNER_PREDICATEMethods in net.minecraft.entity.raid with parameters of type ItemEntityModifier and TypeMethodDescriptionprotected voidRaiderEntity.loot(ServerWorld serverWorld, ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.item
Methods in net.minecraft.item with parameters of type ItemEntityModifier and TypeMethodDescriptionvoidBlockItem.onItemEntityDestroyed(ItemEntity entity) Called on the server when anItemEntityholding this item gets destroyed.voidBundleItem.onItemEntityDestroyed(ItemEntity entity) Called on the server when anItemEntityholding this item gets destroyed.voidItem.onItemEntityDestroyed(ItemEntity entity) Called on the server when anItemEntityholding this item gets destroyed.voidItemStack.onItemEntityDestroyed(ItemEntity entity) static voidItemUsage.spawnItemContents(ItemEntity itemEntity, Iterable<ItemStack> contents) Spawns item entity's contents at the item entity's position. -
Uses of ItemEntity in net.minecraft.server.network
Methods in net.minecraft.server.network that return ItemEntityModifier and TypeMethodDescriptionprivate @Nullable ItemEntityServerPlayerEntity.dropPlayerItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership) Methods in net.minecraft.server.network with parameters of type ItemEntityModifier and TypeMethodDescriptionvoidServerPlayerEntity.triggerItemPickedUpByEntityCriteria(ItemEntity item) Called to trigger advancement criteria when an entity picks up an item thrown by a player. -
Uses of ItemEntity in net.minecraft.test
Methods in net.minecraft.test that return ItemEntityModifier and TypeMethodDescription