How to make a block that generates only on other blocks in the ocean

Started by SirPogsalot on

Topic category: Help with modding (Java Edition)

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block that generates only on other blocks in the ocean

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…
Fri, 01/15/2021 - 18:00

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.

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need them to spawn on…
Fri, 01/15/2021 - 18:22

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.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that sounds like a cool idea…
Fri, 01/15/2021 - 20:12

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

Last seen on 04:15, 27. Mar 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've tried that already, but…
Fri, 01/15/2021 - 20:23

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.

Last seen on 00:42, 10. Oct 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh.
Fri, 01/15/2021 - 20:37

oh.

Last seen on 00:46, 1. Aug 2023
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well this solves my problem…
Tue, 05/25/2021 - 06:37

Well this solves my problem a bit

 

Last seen on 00:46, 1. Aug 2023
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think i know how to fix…
Tue, 05/25/2021 - 06:41

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

Last seen on 00:46, 1. Aug 2023
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Then also part of the tick…
Tue, 05/25/2021 - 06:42

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

Last seen on 00:46, 1. Aug 2023
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And algae  
Tue, 05/25/2021 - 06:42

And algae

 

Last seen on 00:46, 1. Aug 2023
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please work on adding fully…
Tue, 05/25/2021 - 06:43

Please work on adding fully aquatic plants