Checking for a sealed/consealed space in a radius of X

Started by Moldyfishy on

Topic category: Feature requests and ideas for MCreator

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking for a sealed/consealed space in a radius of X

It would be great if there are procedure blocks that check for a sealed space in a whatever radius from your selection. On top of that being able to execute a certain task on every block in that consealed space. For example in a consealed space if block is Air turn it into Water, but only if the space is consealed.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that would be great…
Sun, 01/26/2025 - 15:44

I think that would be great addition

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah but what about the x…
Sun, 01/26/2025 - 20:19

yeah but what about the x and z like height isnt the only thing

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait actually thats a great…
Sun, 01/26/2025 - 22:33

Wait actually thats a great idea

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could always just do the…
Wed, 02/05/2025 - 21:28

You could always just do the simple option of filling in a cube around an area with a custom "air" block that checks for walls/floors/ceilings. It will check for other "air" blocks to prevent itself from just "dying", and would need to be tied to the original block that created it.

Basically, it fills directly around it, if it can it expands slightly, repeat until it reaches a certain distance, and if it did not find a wall it clears all of it and stops trying to place the custom "air".
(Advanced Rocketry based/similar "Oxygen Vent" system)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im currently remaking the…
Wed, 02/05/2025 - 21:46

im currently remaking the oxygen generating system and im halfway done with it but theres one issue i cant seem to know how to fix :/ If u have suggestions please go on my discord server and maybe dm me or type in general 

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could give the issue…
Wed, 02/05/2025 - 22:48

You could give the issue right here (I don't use discord much), I probably have a solution. There are plenty of people on MCreator that are willing to help.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well rn im making it so each…
Wed, 02/05/2025 - 22:53

Well rn im making it so each Air Block has 3 nbt tags X, Y and Z of the Oxygen Generator block. And it will check every time if its there. If its not then the Air is destroyed. Also im currently working to make a procedure work from the block and if i figure it out ill continue with the convo. But the main issue is how can i make it so the Air disappears when out in the open. I cant use "can loc see sky" cuz having glass on top or other transparent blocks gives a TRUE result.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's a solution:An…
Wed, 02/05/2025 - 23:07

Here's a solution:

An invisible "air" block that tests if the environment around the generator is enclosed..
References: AR and My Comment

 

Or you could do a system where the gasses like oxygen rise up to build limit, and kill themselves when they reach build limit.
This would need a bit more refining of the idea.

 

Third option: CUBE

Create a cube around the generator that expands, from the generator, until it reaches a size limit, if there are not enough walls reached by the time it is at the size limit, it shuts off and deletes all of the oxygen blocks.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well the third option was…
Wed, 02/05/2025 - 23:15

well the third option was made before. Also yeah i think making them just go up to build limit sounds great i was thinking abt it

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gas system definitely seems…
Wed, 02/05/2025 - 23:19

Gas system definitely seems like the best option.

Unless you want to try to convert Advanced Rocketry's Oxygen Vent code into an MCreator procedure, then this is probably the best option..
Another thing I just thought of, is maybe not expanding an oxygen block, but instead replenishing oxygen to all entities/players within a certain radius around the projector, you could do a raytrace from the center to around it to find the corners of the room it is in... Needs more refining as well.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have zero experience with…
Wed, 02/05/2025 - 23:21

i have zero experience with Raytracing. Also i dont know abt Advanced Rocketrys code. I dont know any space mods except Galacticraft which i played years ago. I basically dont have any inspiration from other Space Mods

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can't say I blame you, all…
Wed, 02/05/2025 - 23:32

Can't say I blame you, all space mods now are all Galacticraft similar mods (unless you count the create space addons, and Doctor4t's space mod).

 

i have zero experience with Raytracing. Also i dont know abt Advanced Rocketrys code.

I suggest using the scientific method, mess around with it until something works.
And I don't know if it is open source... I'll have to look for that...

For now, here's a link to the AR wiki.. look through there if you are curious about the mod (please note some of it is outdated from when I looked through it).

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wow AR looks very very…
Wed, 02/05/2025 - 23:54

wow AR looks very very interesting yk one of my plans is making Terraforming a thing
I have 5 Goals for now
-Space Stations
-Completing Solar System
-Making Other Solar Systems
-Making Custom Solar Systems
-Terraforming Machines (Mainly changing blocks since biome changing isnt possible in Mcreator)