how to make an edible block like a cake

Started by modmakerc_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make an edible block like a cake
Tue, 06/14/2022 - 07:09 (edited)

how can i make a block (eg watermelon) that was in the game previously both a block and edible like a cake?

Edited by modmakerc_ on Tue, 06/14/2022 - 07:09
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for a previously ingame…
Mon, 06/13/2022 - 22:46

for a previously ingame block, I would make 5 or so "stages" of eating it all w/ custom models and just make a script where when you right-click on it, you get hunger and its replaced by the next stage. You could then make the first stage generate wherever there would be a watermelon by setting the can replace to watermelon and cranking the amount to somethin massive. That may lag and I have no clue how you could tackle placed watermelons, but it could work. I also think that it MAY be possible to remake minecraft objects by naming something new the same as what you want to remake is called internally in game eg. what you type to setblock/give. Hope I helped.

 

DISCLAIMER IDK IF THIS WILL WORK

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't write a script for a…
Tue, 06/14/2022 - 07:03

I can't write a script for a block in minecraft in the procedure section, I can only write for new blocks I've added.

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, but I need to make a…
Tue, 06/14/2022 - 08:23

Thanks, but I need to make a previously in-game block edible. Not a new block.

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try making the different…
Tue, 06/14/2022 - 09:57

Try making the different stages and when you right click the melon it would get replaced with the stage below? maybe?