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() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockAt(GeyserSession session,
int x,
int y,
int z) |
void |
getBlocksInSection(GeyserSession session,
int x,
int y,
int z,
com.github.steveice10.mc.protocol.data.game.chunk.Chunk chunk) |
boolean |
hasMoreBlockDataThanChunkCache() |
boolean |
isLegacy()
This must be set to true if we are pre-1.13, and
does not exist. |
getBiomeDataAt, getGameRuleBool, getGameRuleInt, hasPermissionsetDifficulty, setGameRule, setPlayerGameModegetBlockAt, getBlockAtpublic int getBlockAt(GeyserSession session, int x, int y, int z)
getBlockAt in class GeyserSpigotWorldManagerpublic void getBlocksInSection(GeyserSession session, int x, int y, int z, com.github.steveice10.mc.protocol.data.game.chunk.Chunk chunk)
getBlocksInSection in class GeyserSpigotWorldManagerpublic boolean hasMoreBlockDataThanChunkCache()
hasMoreBlockDataThanChunkCache 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.