removing item from main/off-hand?

Started by bananarang_mods on

Topic category: Help with modding (Java Edition)

Last seen on 13:59, 19. May 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
removing item from main/off-hand?

I need this so the player can't have an infinite seed (can always plant the seed and never lose it)

Last seen on 21:24, 26. Dec 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on your planting procedure,…
Thu, 12/03/2020 - 07:58

on your planting procedure, use the "remove item from player inventory" procedure. that will remove seed when planting.

Last seen on 13:59, 19. May 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so remove item from main inv?
Thu, 12/03/2020 - 11:21

so remove item from main inv?

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you can stack it, just…
Thu, 12/03/2020 - 15:56

If you can stack it, just remove 1 seed from the whole inventory. That way someone doesn’t have to drop 63 seeds to plant one thing.