Procedure help: stacking blocks like candles

Started by softmushroombaby on

Topic category: Help with Minecraft modding (Java Edition)

Active 13 hours ago
Joined Feb 2025
Points:
85

User statistics:

  • Modifications: 1
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
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?

Active 6 days ago
Joined Dec 2014
Points:
1082

User statistics:

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

Active 13 hours ago
Joined Feb 2025
Points:
85

User statistics:

  • Modifications: 1
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
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

 

Active 2 days ago
Joined Apr 2025
Points:
2

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
https://imgur.com/a/p7luL9a…
Wed, 04/16/2025 - 00:09

https://imgur.com/a/p7luL9a

not working, it jumps from model 1 to model 4.

can you help me?

Active 13 hours ago
Joined Feb 2025
Points:
85

User statistics:

  • Modifications: 1
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
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!