Help with Item duplication mod

Started by Diamentus on

Topic category: Help with modding (Java Edition)

Last seen on 17:43, 3. Jan 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Item duplication mod

Im making a mod that adds an Item Duplication table, and i want to make it always duplicate to the full stack of a specific item, except some items have different stack amount, Is there any way to make a procedure check what is a maximum of a specific item in one slot?

Below is an image of a procedure of a gui that duplicates items, it always makes 64 items, which usually is a stack but for something with a small stack it makes a mess in player's inventory:

Last seen on 20:37, 9. Feb 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get max stack size of…
Thu, 11/02/2023 - 17:25

Get max stack size of provided itemstack  (in item procedures).