Custom Procedure "Surface Water Remover" doesn't work

Started by Ellse on

Topic category: Help with MCreator software

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Procedure "Surface Water Remover" doesn't work
Wed, 12/13/2023 - 11:27 (edited)

I check that there are air blocks above the block, if there are 250 blocks, I do nothing, if another block is encountered, spawn a custom entity at these coordinates, check that it is in the water, if so, then despawn the entity, replace this block with air, if not in the water, despawn the entity. But it doesn't work.

 

Edited by Ellse on Wed, 12/13/2023 - 11:27
Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the part that says if…
Tue, 12/12/2023 - 18:57

For the part that says if entity in water, or in dimension, does it work if you are in that dimension?

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@AwesomeCoderDude Yeah, i'ts…
Wed, 12/13/2023 - 08:22

@AwesomeCoderDude Yeah, i'ts worked correctly, and I changed block OR for AND. It appears that it does not remove the water block, but rather cancels the placement of water in the world. Looks more like an MCreator bug. After that the water broke.

Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Keep it at or, I think the…
Wed, 12/13/2023 - 09:14

Keep it at or, I think the problem might be that the block that is checking if the target is in water, is checking the entity that placed the block is in water. If you do it again, but you are standing in water, it might work. If it does, let me know, and I can help you fix it.

Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you explain what you…
Wed, 12/13/2023 - 09:16

Could you explain what you are trying to do? I might have a better way to do it.

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, sure.To begin with, I…
Wed, 12/13/2023 - 11:15

Yeah, sure.
To begin with, I want to remove all water blocks placed in the open air.

I place a block in the world and check that there are 250 blocks of air above it, if during the check I encounter another block, I complete the check and do nothing, if there are 250 blocks of air, I spawn a custom entity at the coordinates of the placed block and check if it is in water, if yes, I check that the event occurs in a custom dimension, if yes, I replace the placed block with air and despawn the entity.

I've been trying to do this for a very long time, but no matter how I try, it doesn't work.

Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So you are trying to check…
Wed, 12/13/2023 - 12:22

So you are trying to check if the is water blocks nearby and get rid of them?

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a custom dimension…
Wed, 12/13/2023 - 17:40

This is a custom dimension that no longer contains water blocks, but their placement is not prohibited. I want water blocks to be able to be placed anywhere, but not in the open air. To do this, I check each block placed by the player and if it is a water block, I remove it.

Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, so you want the player…
Wed, 12/13/2023 - 21:27

Oh, so you want the player to not be able to place water if there is nothing below it/ it is in open air?

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If there are 250 air blocks…
Thu, 12/14/2023 - 09:52

If there are 250 air blocks above it

Last seen on 04:35, 2. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a world with a hot…
Thu, 12/14/2023 - 09:53

This is a world with a hot surface on which it is impossible to place water

Last seen on 19:48, 21. Apr 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, if there is 250 blocks…
Thu, 12/14/2023 - 10:28

So, if there is 250 blocks of air above the water, you want to get rid of it? Sorry if I'm confused.