Uses of Class
net.minecraft.entity.ItemEntity
-
Uses of ItemEntity in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return types with arguments of type ItemEntity Modifier and Type Method Description static List<ItemEntity>
HopperBlockEntity. getInputItemEntities(World world, Hopper hopper)
Methods in net.minecraft.block.entity with parameters of type ItemEntity Modifier and Type Method Description static boolean
HopperBlockEntity. 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 ItemEntity Modifier and Type Method Description Identifier
ItemEntityRenderer. 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
Fields in net.minecraft.entity with type parameters of type ItemEntity Modifier and Type Field Description static EntityType<ItemEntity>
EntityType. ITEM
Methods in net.minecraft.entity that return ItemEntity Modifier and Type Method Description ItemEntity
ItemEntity. copy()
@Nullable ItemEntity
Entity. dropItem(ItemConvertible item)
@Nullable ItemEntity
Entity. dropItem(ItemConvertible item, int yOffset)
@Nullable ItemEntity
Entity. dropStack(ItemStack stack)
@Nullable ItemEntity
Entity. dropStack(ItemStack stack, float yOffset)
Methods in net.minecraft.entity with parameters of type ItemEntity Modifier and Type Method Description private 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)
Constructors in net.minecraft.entity with parameters of type ItemEntity Constructor Description ItemEntity(ItemEntity entity)
Constructor parameters in net.minecraft.entity with type arguments of type ItemEntity Constructor Description ItemEntity(EntityType<? extends ItemEntity> type, World world)
-
Uses of ItemEntity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type ItemEntity Modifier and Type Field Description static MemoryModuleType<ItemEntity>
MemoryModuleType. NEAREST_VISIBLE_WANTED_ITEM
-
Uses of ItemEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task that return ItemEntity Modifier and Type Method Description private ItemEntity
WalkToNearestVisibleWantedItemTask. getNearestVisibleWantedItem(E entity)
-
Uses of ItemEntity in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return ItemEntity Modifier and Type Method Description ItemEntity
AbstractDecorationEntity. dropStack(ItemStack stack, float yOffset)
-
Uses of ItemEntity in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type ItemEntity Modifier and Type Method Description private 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
Fields in net.minecraft.entity.passive with type parameters of type ItemEntity Modifier and Type Field Description static Predicate<ItemEntity>
DolphinEntity. CAN_TAKE
private static Predicate<ItemEntity>
PandaEntity. IS_FOOD
private static Predicate<ItemEntity>
FoxEntity. PICKABLE_DROP_FILTER
Methods in net.minecraft.entity.passive with parameters of type ItemEntity Modifier and Type Method Description protected 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
Methods in net.minecraft.entity.player that return ItemEntity Modifier and Type Method Description @Nullable ItemEntity
PlayerEntity. dropItem(ItemStack stack, boolean retainOwnership)
@Nullable ItemEntity
PlayerEntity. dropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership)
-
Uses of ItemEntity in net.minecraft.entity.raid
Fields in net.minecraft.entity.raid with type parameters of type ItemEntity Modifier and Type Field Description private static Predicate<ItemEntity>
RaiderEntity. OBTAINABLE_OMINOUS_BANNER_PREDICATE
Methods in net.minecraft.entity.raid with parameters of type ItemEntity Modifier and Type Method Description protected void
RaiderEntity. loot(ItemEntity item)
-
Uses of ItemEntity in net.minecraft.item
Methods in net.minecraft.item with parameters of type ItemEntity Modifier and Type Method Description void
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
Methods in net.minecraft.server.network that return ItemEntity Modifier and Type Method Description ItemEntity
ServerPlayerEntity. dropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership)
-
Uses of ItemEntity in net.minecraft.test
Methods in net.minecraft.test that return ItemEntity Modifier and Type Method Description ItemEntity
StartupParameter. method_35968(Item item, float float2, float float3, float float4)