Change block model on right click

Started by BlockyPenguin on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change block model on right click

HI!

How would I get a block to change it's looks on right click, like a lever, for example? Also, is it possible to have multiple different states, like an item frame (i know, they're entities...)?

TIA

~Blocky

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make blocks for diffirent…
Sat, 11/02/2019 - 05:54

Make blocks for diffirent states, in procedure "On block right-clicked" make:

Remove block at x: <x> y: <y> z: <z>
Place block <block_state_2> at x: <x> y: <y> z: <z>

 

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, I could do that, sure,…
Sat, 11/02/2019 - 10:48

Well, I could do that, sure, but weren't block states added at some point?

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ooh, excellent! I can't wait!
Mon, 11/04/2019 - 14:14

Ooh, excellent! I can't wait!