Uses of Class
net.minecraft.entity.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
Modifier and TypeMethodDescriptionprivate static void
Block.dropStack
(World world, Supplier<ItemEntity> itemEntitySupplier, ItemStack stack) -
Uses of ItemEntity in net.minecraft.block.entity
Modifier and TypeMethodDescriptionstatic List<ItemEntity>
HopperBlockEntity.getInputItemEntities
(World world, Hopper hopper) Modifier and TypeMethodDescriptionstatic boolean
HopperBlockEntity.extract
(Inventory inventory, ItemEntity itemEntity) -
Uses of ItemEntity in net.minecraft.client.render.entity
Modifier and TypeMethodDescriptionItemEntityRenderer.getTexture
(ItemEntity itemEntity) void
ItemEntityRenderer.render
(ItemEntity itemEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) -
Uses of ItemEntity in net.minecraft.entity
Modifier and TypeMethodDescriptionItemEntity.copy()
Entity.dropItem
(ItemConvertible item) Entity.dropItem
(ItemConvertible item, int yOffset) Modifier and TypeMethodDescriptionprivate static void
ItemEntity.merge
(ItemEntity targetEntity, ItemStack targetStack, ItemEntity sourceEntity, ItemStack sourceStack) private static void
ItemEntity.merge
(ItemEntity targetEntity, ItemStack stack1, ItemStack stack2) void
LivingEntity.triggerItemPickedUpByEntityCriteria
(ItemEntity item) Called to trigger advancement criteria when an entity picks up an item thrown by a player.private void
ItemEntity.tryMerge
(ItemEntity other) -
Uses of ItemEntity in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate ItemEntity
WalkToNearestVisibleWantedItemTask.getNearestVisibleWantedItem
(E entity) -
Uses of ItemEntity in net.minecraft.entity.decoration
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprivate static ItemStack
PiglinBrain.getItemFromStack
(ItemEntity stack) protected void
MobEntity.loot
(ItemEntity item) protected static void
PiglinBrain.loot
(PiglinEntity piglin, ItemEntity drop) protected void
PiglinEntity.loot
(ItemEntity item) protected void
PillagerEntity.loot
(ItemEntity item) -
Uses of ItemEntity in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionstatic final Predicate<ItemEntity>
DolphinEntity.CAN_TAKE
(package private) static final Predicate<ItemEntity>
PandaEntity.IS_FOOD
(package private) static final Predicate<ItemEntity>
FoxEntity.PICKABLE_DROP_FILTER
Modifier and TypeMethodDescriptionprotected void
DolphinEntity.loot
(ItemEntity item) protected void
FoxEntity.loot
(ItemEntity item) protected void
PandaEntity.loot
(ItemEntity item) protected void
VillagerEntity.loot
(ItemEntity item) -
Uses of ItemEntity in net.minecraft.entity.player
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.entity.raid
Modifier and TypeFieldDescription(package private) static final Predicate<ItemEntity>
RaiderEntity.OBTAINABLE_OMINOUS_BANNER_PREDICATE
-
Uses of ItemEntity in net.minecraft.item
Modifier and TypeMethodDescriptionvoid
BlockItem.onItemEntityDestroyed
(ItemEntity entity) void
BundleItem.onItemEntityDestroyed
(ItemEntity entity) void
Item.onItemEntityDestroyed
(ItemEntity entity) void
ItemStack.onItemEntityDestroyed
(ItemEntity entity) static void
ItemUsage.spawnItemContents
(ItemEntity itemEntity, Stream<ItemStack> contents) -
Uses of ItemEntity in net.minecraft.server.network
Modifier and TypeMethodDescription -
Uses of ItemEntity in net.minecraft.test
Modifier and TypeMethodDescription