How can I make infinite blocks?

Started by unlisted eevee on

Topic category: Advanced modding

Active 4 months ago
Joined Dec 2021
Points:
439

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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

Active 2 months ago
Joined Nov 2016
Points:
732

User statistics:

  • Modifications: 3
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 1 month ago
Joined Dec 2021
Points:
423

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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