removing item from main/off-hand?

Started by bananarang_mods on Thu, 12/03/2020 - 02:02

Topic category: Help with modding (Java Edition)

Last seen on 00:06, 26. Sep 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
removing item from main/off-hand?
Thu, 12/03/2020 - 02:02

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

Last seen on 06:55, 27. Apr 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 00:06, 26. Sep 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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.