public class GeyserSpigotWorldManager extends GeyserWorldManager
| Constructor and Description |
|---|
GeyserSpigotWorldManager(boolean isLegacy,
boolean use3dBiomes,
boolean isViaVersion) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getBiomeDataAt(GeyserSession session,
int x,
int z) |
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 |
getGameRuleBool(GeyserSession session,
GameRule gameRule) |
int |
getGameRuleInt(GeyserSession session,
GameRule gameRule) |
static int |
getLegacyBlock(us.myles.ViaVersion.protocols.protocol1_13to1_12_2.storage.BlockStorage storage,
org.bukkit.World world,
int x,
int y,
int z) |
static int |
getLegacyBlock(GeyserSession session,
int x,
int y,
int z,
boolean isViaVersion) |
boolean |
hasMoreBlockDataThanChunkCache() |
boolean |
hasPermission(GeyserSession session,
String permission) |
setDifficulty, setGameRule, setPlayerGameModegetBlockAt, getBlockAtpublic GeyserSpigotWorldManager(boolean isLegacy,
boolean use3dBiomes,
boolean isViaVersion)
public int getBlockAt(GeyserSession session, int x, int y, int z)
getBlockAt in class GeyserWorldManagerpublic static int getLegacyBlock(GeyserSession session, int x, int y, int z, boolean isViaVersion)
public static int getLegacyBlock(us.myles.ViaVersion.protocols.protocol1_13to1_12_2.storage.BlockStorage storage,
org.bukkit.World world,
int x,
int y,
int z)
public void getBlocksInSection(GeyserSession session, int x, int y, int z, com.github.steveice10.mc.protocol.data.game.chunk.Chunk chunk)
getBlocksInSection in class GeyserWorldManagerpublic boolean hasMoreBlockDataThanChunkCache()
hasMoreBlockDataThanChunkCache in class GeyserWorldManagerpublic int[] getBiomeDataAt(GeyserSession session, int x, int z)
getBiomeDataAt in class GeyserWorldManagerpublic Boolean getGameRuleBool(GeyserSession session, GameRule gameRule)
getGameRuleBool in class GeyserWorldManagerpublic int getGameRuleInt(GeyserSession session, GameRule gameRule)
getGameRuleInt in class GeyserWorldManagerpublic boolean hasPermission(GeyserSession session, String permission)
hasPermission in class GeyserWorldManagerCopyright © 2020 GeyserMC. All rights reserved.