How to make a mob that presses buttons

Started by Rattiwrapper on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Dec 2020
Points:
755

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 141
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.

Active 1 year ago
Joined Oct 2020
Points:
1626

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 1 month ago
Joined Dec 2020
Points:
755

User statistics:

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

What procedures would I use tho?

Active 1 year ago
Joined Oct 2020
Points:
1626

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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

Active 2 years ago
Joined Oct 2022
Points:
420

User statistics:

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

Hello, can you please give me the procedure?

Active 3 months ago
Joined Oct 2022
Points:
423

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
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