Describe the bug
The blockstates of golden/powered rails when they are in the on/powered state are modeled incorrectly. Ascending golden/powered rails that are activated/on/powered always have their shape returned as "NORTH_SOUTH" regardless of the direction they face.
In addition, east-west rails are modeled as north-east, north-south rails are modeled as north-west, etc... all obviously impossible states.
Software brand
PandaSpigot 1.8.8,
Plugins
GrimAC, LuckPerms, ViaVeresion
How To Reproduce
Steps to reproduce the behavior:
Join with the 1.8.9 vanilla Minecraft client.
Place powered rail down and power it.
Get it's blockstate. If you don't have an easy means of doing this you can test my new check being added to GrimAC https://github.com/Axionize/Grim/tree/los-containers.
Once you've built and installed the plugin, run /grim verbose and breakpoint
in HitBox.java
then right click on a rail to see the wrong blockstate being returned.
Expected behavior
Should return the correct blockstate. I assume you're extracting blockstates for rails with some bit manipulation, and you probably forgot to account for powered rails when they're powered on properly.
Describe the bug The blockstates of golden/powered rails when they are in the on/powered state are modeled incorrectly. Ascending golden/powered rails that are activated/on/powered always have their shape returned as "NORTH_SOUTH" regardless of the direction they face.
In addition, east-west rails are modeled as north-east, north-south rails are modeled as north-west, etc... all obviously impossible states.
Software brand PandaSpigot 1.8.8,
Plugins GrimAC, LuckPerms, ViaVeresion
How To Reproduce Steps to reproduce the behavior:
/grim verbose
and breakpointin
HitBox.java
then right click on a rail to see the wrong blockstate being returned.Expected behavior Should return the correct blockstate. I assume you're extracting blockstates for rails with some bit manipulation, and you probably forgot to account for powered rails when they're powered on properly.
Screenshots