Item drop in specific location based on item in slot

Started by mikerman50 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item drop in specific location based on item in slot

Hi  I am stuck with an problem where I want to drop items(entity) to a position forward, left and right of a block if they meet the item that has been defined in slots 1-9, Left position, 10-18 forward position and 19-27 right position if they are on top the the current block. i've had no issues moving items around the world only effectively "sorting" them to slots. i understand that I will need to spawn gem/item and xyz + offset, but setting the if entity exists as xyz of type item = item in slot 1 then place else "drop"