How to check an item entity's age

Started by TalkingScribe on

Topic category: Help with modding (Java Edition)

Last seen on 14:03, 26. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check an item entity's age

I'm trying to make a procedure that affects an item entity that has just dropped from a block. I want to test for the entity's Age to ensure it's not another item that just happen to be in the block space when the block was broken. 

One would think that [Get <entity> number NBT tag "Age"] would return the age, but it does not.

What am I missing?