Slab half detection

Started by Crayeights on Sun, 05/09/2021 - 20:19

Topic category: General discussion

Last seen on 15:14, 11. May 2021
Joined May 2014

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Slab half detection
Sun, 05/09/2021 - 20:19

I am trying to detect top and or bottom half of slab so if its top half do..... or bottom then do......

I been working on the grass code and that is something that has been a pain for me to figure out, I know we can detect directional blocks and it helps allot but am unable to detect top or bottom so like grass can grow under top but not bottom. Bottom slab will suffocate grass block under self.

is there another way to do this I tryed detecting solid or not and also opacity and done a good bit of the work but the grass block has allot of code behind it.