Summon Mob On Specific Block Using Item

Started by desa192 on Sat, 03/28/2020 - 19:28

Topic category: Help with modding (Java Edition)

Last seen on 20:01, 26. May 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Summon Mob On Specific Block Using Item
Sat, 03/28/2020 - 19:28

I have an item that needs to be crafted. When you right click with this item, it spawns a boss mob.

Currently, you can spawn unlimited mobs by right clicking, how do i make it so you can only spawn 1 boss and the item disappears or is used?

Also I want the item to only summon the boss when you right click on a special block i made, how do i do this?

These are the last things I need before releasing my mod, please help. Thank you all

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
On TOOL: when right clicked…
Sat, 03/28/2020 - 20:36

On TOOL:

when right clicked on block (hand loc)

Call procedure (boss procedure)

Boss procedure:

If get block at x,y,z is (special block)

Spawn at x,y,x boss

Remove 1 (tool) from provided players inventory

 

That means block only activates when you use the tool on it, not with anything else and if you do, it removes the tool.

Last seen on 20:01, 26. May 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much for the…
Tue, 03/31/2020 - 16:29

Thank you so much for the help it fixed my problem! The only problem now is the mob not dropping the default drop.

Last seen on 01:04, 10. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i cannot find that procedure
Fri, 05/01/2020 - 16:39

i cannot find that procedure

Last seen on 16:46, 17. Dec 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
make a procedure that…
Thu, 06/04/2020 - 21:59

make a procedure that contains these

 remove item procedure block to remove the item from the players inventory 

 

then add spawn entity at x y z block to spawn the entity

 

then set the when clicked option in the item config menu and set it to that procedure

Hopefully I didn't word it to confusingly