Started by
SirPogsalot
on
Topic category: Help with Minecraft modding (Java Edition)
Hey there, I'm creating a barnacle and I need to make it so that it only generates on wooden planks in the ocean. My problem is that first of all, using normal ore generation with custom spawn conditions tends to make them extremely rare, and second, I'm afraid the barnacles will just replace the water blocks, even though they're waterloggable Anybody have any ideas?
I suggest you make a structure containing barnacles and make structure spawn mod element with custom condition to check for the ocean floor, make sure to use the proper height detection too.
I need them to spawn on shipwrecks, though; that's why I wanted them to spawn on wooden planks (since the only naturally spawned planks in oceans are those in shipwrecks).
The problem is that I can't guarantee that a barnacle structure will ever coincide with a ship, and even if it did, it would be impossible to get the barnacles in the perfect orientations and positions to fit the ship.
that sounds like a cool idea. also idea: condition to check if the block below the barnacles is #forge:planks so it only spawns on ships
I've tried that already, but the way ore generation works (even if I make them as an ore extremely common), getting a vein of barnacles to show up on a shipwreck is nearly impossible. Plus, I don't have a way to make it so the barnacles are facing the right direction if or when they appear.
oh.
Well this solves my problem a bit
I think i know how to fix this uses tick update procedures to make the block rotate to the wood block that's is next to it along the axises x and z taking priorities over Y
Then also part of the tick procedure you can add a spreading feature which would actually use the check in a six-block radius then if it finds more wood than it would look for open water that next to the wood and it can spread the barnacles I done something similar with moss
And algae
Please work on adding fully aquatic plants