Started by
HydroxFrost
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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
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.