Procedure help: stacking blocks like candles

Started by softmushroombaby on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure help: stacking blocks like candles

I have Oysters in my MC mod, but with all the empty space, I want to make it so they can stack when clicked with another oyster-- like candles!

I already made the different models (two stacked oysters model, three stacked oysters model,  etc. etc.) and want it so the previous model disappears and is replaced with another. I tried this procedure and nothing happened! Can I get some help?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
looks like you're using a…
Mon, 03/31/2025 - 10:58

looks like you're using a variable instead of the actual provided blockstate

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So this works! yippee! …
Sat, 04/12/2025 - 14:45

So this works! yippee! (purely with the use of blocks)

https://imgur.com/a/p7luL9a

 

HOWEVER it doesn't seem to work with another object, though I did the exact same thing...

so for context: I want to add coffee in the game, which is a drinkable item, but I also want to make it placable, so I 

  1. Made the item and made it drinkable
  2. Made a block version of it
  3. Made a procedure to place the block when the item is clicked on a block.

https://imgur.com/a/KavVc1c

 

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
are you placing a block or…
Wed, 04/23/2025 - 01:41

are you placing a block or an item? the first link only works for blocks, while Items I'm still stuck on!