public class GeyserSpigotLegacyNativeWorldManager extends GeyserSpigotNativeWorldManager
adapterCLIENT_PROTOCOL_VERSION| Constructor and Description |
|---|
GeyserSpigotLegacyNativeWorldManager(GeyserSpigotPlugin plugin,
boolean use3dBiomes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockAt(GeyserSession session,
int x,
int y,
int z) |
boolean |
isLegacy()
This must be set to true if we are pre-1.13, and
does not exist. |
getBiomeDataAt, getBlocksInSection, getGameRuleBool, getGameRuleInt, getLecternDataAt, hasMoreBlockDataThanChunkCache, hasPermission, shouldExpectLecternHandledsetDifficulty, setGameRule, setPlayerGameModegetBlockAt, getBlockAtpublic GeyserSpigotLegacyNativeWorldManager(GeyserSpigotPlugin plugin, boolean use3dBiomes)
public int getBlockAt(GeyserSession session, int x, int y, int z)
getBlockAt in class GeyserSpigotNativeWorldManagerpublic 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.