How to make a mob that presses buttons

Started by Rattiwrapper on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a mob that presses buttons

I'm trying to make a copper golem in my minecraft mod, like from the minecraft mob vote, and I want to make the golem press copper buttons in front of it, but I don't know how to, I thought maybe it could just be a block with a custom model that looks like a button, and it could maybe change it to a new block with a different model, for the pressed version, but I don't know what I could do to make that happen.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could try so the golem…
Fri, 10/15/2021 - 16:14

you could try so the golem Destroys Copper Buttons, then you replace the button with a charged one, then after 3-4 secs you replace it with normal button

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What procedures would I use…
Sun, 10/17/2021 - 13:34

What procedures would I use tho?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well make one :p just use…
Sun, 10/17/2021 - 15:07

well make one :p just use replace blocks and on ai make it destroy buttons

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, can you please give…
Fri, 11/04/2022 - 18:17

Hello, can you please give me the procedure?

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I thought that it could work…
Fri, 11/04/2022 - 19:57

I thought that it could work like this: in the golem procedure, the block around the golem is checked and if it is a button, then it changes to the pressed one, which emits a signal and then back