How can I make infinite blocks?

Started by unlisted eevee on

Topic category: Advanced modding

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make infinite blocks?

I am trying to make a block that when placed, stays in the players inventory but also gets placed, similar to how blocks work in creative. Is there a way to accomplish this

Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here's a link to some pics…
Wed, 05/24/2023 - 09:06

here's a link to some pics of the procedure you need to do this.
https://imgur.com/a/soArDTI

i made it quickly but it gets the job done, only works in the main hand but that cab be easily changed to work in the off hand or both.

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I would do is make it…
Sat, 06/17/2023 - 20:44

What I would do is make it so that when you place the block, add another one of that block to the inventory

 

 

Similar to this:

(On block placed)
Add 1 (Block) to (Target) inventory