Change height of block based on the block below it?

Started by HydroxFrost on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change height of block based on the block below it?

Hey, I was messing around with mcreator and I had an idea. Is there a way to get the bounding box height or model ID of the block below it and change the offset or even change the model based on what block it sits on top? Think conquest reforged style foliage, that's what I'm trying to decipher.

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could make a new plant (…
Wed, 06/25/2025 - 00:34

you could make a new plant ("shrub") then make several variations of it (desert shrub, lush shrub, berry shrub idk) as seperate plants, then make on initial block place check the biome its in and place the variation accorindingly, or if its just in plains then keep it the same.

 

bonus: this makes individual functionality (berry shrub gives u berrys, desert shrub gives dead bush) possible.

 

ofc, as a fun-killer, you could just make individual blockstates ig

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I appreciate the…
Wed, 06/25/2025 - 19:14

Hey, I appreciate the response. I was moreso trying to make it check for the height or bounding box y size of the box below it to apply the appropriate offset model to the block being placed rather than biomes, but I am extremely new to mcreator's functionality side.