Raining through blocks?

Started by NebuliteStudios on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Raining through blocks?

Hello, been keeping the forums as a last resort but here I am. 
I have a specific issue that I think no one has brought up on these forums, which is (as the title suggests) a glitch inside my mod where rain goes through blocks, no matter if they're buildings or not.

 

 

 

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
same issue with stairs and…
Sun, 05/12/2024 - 10:45

same issue with stairs and slabs, normal blocks seem to be fine

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stairs and slabs have air on…
Thu, 05/16/2024 - 01:22

Stairs and slabs have air on it, but that's not how the computer see it, it sees it as sharing the same space with air, so it rains through the slab/stair.

if there are no complex procedures that you're running through your slab/stair then you could make a custom class that points to the vanilla slab and it will solve the leaking roof phenomenon, you then edit and lock the code of the blocks to extend the custom block instead. the blocks may or may not run the procedures though.

here is a rough (very rough) example:

https://drive.google.com/file/d/1JrLs5uiR8yPpkh_-ngkf0D1GLfva7BuY/view?usp=sharing