When checking for air above it, I will get stuck on top of a block

Started by You Sir Name on

Topic category: Help with modding (Java Edition)

Last seen on 00:42, 22. Feb 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When checking for air above it, I will get stuck on top of a block

I created a block that will get struck by lightning randomly when it's in a certain biome. It checks for its current biome as well as if there's air above it. When I stand on it, I'll get stuck unless I change my Y position, but not X or Z, as is displayed here: https://imgur.com/a/UiLKCda (sorry for the bad cropping and watermark)

This is the code used

Code

Does anyone know how to fix this while also keeping the lightning?

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the block slippery…
Tue, 05/19/2020 - 18:36

What is the block slippery-ness? (Sorry I forgot what it was called)

Last seen on 00:42, 22. Feb 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The block slickness is…
Tue, 05/26/2020 - 00:45

The block slickness is mreator's default.