Golem Repair System

Started by Youtuber87 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Golem Repair System

Is it possible to make it so when The Mob is right clicked with an item it heals and plays a sound?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah that should be pretty…
Fri, 10/04/2024 - 12:32

Yeah that should be pretty easy with the "Player right clicks on entity" global procedure trigger.

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i select the entity…
Fri, 10/04/2024 - 21:31

how do i select the entity to be interacted with and choose the item?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This works fine; You should…
Fri, 10/04/2024 - 21:46

This works fine; You should probably add a check to make sure you can't heal mobs that are already at full health though.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait nvm it should remove…
Fri, 10/04/2024 - 21:47

wait nvm it should remove the item from "Source entity" not target entity!!!

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since I'm pretty new to…
Sat, 10/05/2024 - 17:31

Since I'm pretty new to Coding on MCreator, I don't know how to stop healing at full health :/

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This should make sure you…
Sun, 10/06/2024 - 02:04

This should make sure you can't waste materials healing an already fully healed entity,

I rewrote it a bit to avoid excessive nesting.

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where do i find the local:…
Sun, 10/06/2024 - 15:17

where do i find the local: heal_amount and local: heal_item procedure?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you have to make them…
Sun, 10/06/2024 - 15:20

you have to make them yourself, 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and then the blocks are…
Sun, 10/06/2024 - 15:20

and then the blocks are under custom variables