Class GeyserSpigotLegacyNativeWorldManager

java.lang.Object
org.geysermc.geyser.level.WorldManager

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(org.geysermc.geyser.session.GeyserSession session, int x, int y, int z)
      Overrides:
      getBlockAt in class GeyserSpigotNativeWorldManager
    • isLegacy

      public boolean isLegacy()
      Description copied from class: GeyserSpigotWorldManager
      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