Skip to content

Instantly share code, notes, and snippets.

@enemos
enemos / gist:29f429d94dbc62b1ae011cb39c10cf19
Created April 29, 2026 19:22
The weird things in the official spigot api for Minecraft 1.8.8
1 - getFacing() method (for Directional Classes) is broken : will, for some blocks, return the opposite value of what is shown in the "F3 screen" in game. Some say this is intended, and that the facing is just different from minecraft's, however, this inconsistensy between Spigot Facing and the in game F3 screen do not apply to setFacingDirection().
Some blocks are not affected by this : Bed, ... [uncomplete list]