Class GeyserSpigotLegacyNativeWorldManager


public class GeyserSpigotLegacyNativeWorldManager extends GeyserSpigotNativeWorldManager
Used when block IDs need to be translated to the latest version
  • Constructor Details

    • GeyserSpigotLegacyNativeWorldManager

      public GeyserSpigotLegacyNativeWorldManager(GeyserSpigotPlugin plugin)
  • Method Details

    • getBlockAt

      public int getBlockAt(GeyserSession session, int x, int y, int z)
      Overrides:
      getBlockAt in class GeyserSpigotNativeWorldManager
    • isLegacy

      public boolean isLegacy()
      Description copied from class: GeyserSpigotWorldManager
      This must be set to true if we are pre-1.13, and does not exist. This should be set to true if we are post-1.13 but before the latest version, and we should convert the old block state id to the current one.
      Overrides:
      isLegacy in class GeyserSpigotWorldManager
      Returns:
      whether there is a difference between client block state and server block state that requires extra processing