public class GeyserSpigotFallbackWorldManager extends GeyserSpigotWorldManager
GeyserSpigotWorldManager.getBlockAt(GeyserSession, int, int, int)
cannot be accurate. Typically, this is when ViaVersion is not installed but a client still manages to connect.
If this occurs to you somehow, please let us know!!CLIENT_PROTOCOL_VERSION| Constructor and Description |
|---|
GeyserSpigotFallbackWorldManager(org.bukkit.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockAt(GeyserSession session,
int x,
int y,
int z) |
boolean |
hasOwnChunkCache() |
boolean |
isLegacy()
This must be set to true if we are pre-1.13, and
does not exist. |
getGameRuleBool, getGameRuleInt, getLecternDataAt, hasPermission, shouldExpectLecternHandledsetDifficulty, setGameRule, setPlayerGameModegetBlockAt, getBlockAtpublic GeyserSpigotFallbackWorldManager(org.bukkit.plugin.Plugin plugin)
public int getBlockAt(GeyserSession session, int x, int y, int z)
getBlockAt in class GeyserSpigotWorldManagerpublic boolean hasOwnChunkCache()
hasOwnChunkCache in class GeyserSpigotWorldManagerpublic boolean isLegacy()
GeyserSpigotWorldManagerdoes 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.isLegacy in class GeyserSpigotWorldManagerCopyright © 2021 GeyserMC. All rights reserved.