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 Minecraft modding (Java Edition)

Active 3 years ago
Joined Apr 2020
Points:
623

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Active 3 years ago
Joined Mar 2020
Points:
1264

User statistics:

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

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

Active 3 years ago
Joined Apr 2020
Points:
623

User statistics:

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

The block slickness is mreator's default.