Creating spawn mobs and items from blocks with procedure

Started by Diamond07 on Wed, 11/21/2018 - 18:37

Topic category: Help with modding (Java Edition)

Last seen on 02:19, 2. Apr 2020
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Creating spawn mobs and items from blocks with procedure
Wed, 11/21/2018 - 18:38 (edited)

Hey guys, recently i want to create a mod that adds some new spawners that spawns items and mobs automatically in such ticks (i know i have to use Update Tick event because it uses tick) but, with this new procedure feature, i don't know how to do it. Can someone tell me how to?

Edited by Diamond07 on Wed, 11/21/2018 - 18:38
Last seen on 14:52, 1. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well, you create a procedure…
Mon, 11/26/2018 - 17:00

Well, you create a procedure, to set to Block Update Tick on the block. Then you make the procedure, and things get more difficult. There is no 'delay' block in the procedures. So what I do is I use random blocks set to a relatively low amount, which means they spawn mobs in at infrequent delays. It isn't perfect, but it gets the job done.