Entity stealing item

Started by orkpeko on

Topic category: Help with modding (Java Edition)

Last seen on 11:51, 9. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity stealing item

Hi all, im trying to make a hostile mob that doesnt do any damage but when you touch it, it takes a random item from your inventory and adds it to its own to then be retrieved after killed. i would appreciate any help, thanks!

Last seen on 22:26, 19. Nov 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
with this, you can make a…
Thu, 04/21/2022 - 11:38

with this, you can make a thing that when it steals a item it deletes a random item in the players inventory (or main hand) and then makes a copy of that item in the hand of your mob