How to make a block that generates resources over time

Started by HopedVinicius0 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 months ago
Joined Jul 2024
Points:
45

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How to make a block that generates resources over time

I've ben having diffculty upon making a block that generates cobblestone every 3 seconds and put into its inventory, i've tried to many possibilities and still havent make it correts its just doesnt generate for some reason (minecraft ver: 1.20.1)

Use random ticking and…
Mon, 01/06/2025 - 18:05

Use random ticking and generate said resources using the tick update procedure trigger that calls procedure that generates your needed resources

I suggest you check our…
Mon, 01/06/2025 - 18:05

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Active 2 months ago
Joined Jul 2024
Points:
45

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Could you explain it i didnt…
Mon, 01/06/2025 - 20:51

Could you explain it i didnt understood that well

Active 2 days ago
Joined Mar 2022
Points:
440

User statistics:

  • Modifications: 2
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 59
Could you explain it i didnt…
Sun, 02/09/2025 - 11:24

Could you explain it i didnt understood that well

What Klemen means, is that you could use the "random tick" effect of a block in advanced properties.

You can add a procedure to the "tick event" on the block, and in that procedure have it generate the resources.