Class GeyserSpigotNativeWorldManager
java.lang.Object
org.geysermc.geyser.level.WorldManager
org.geysermc.geyser.level.GeyserWorldManager
org.geysermc.geyser.platform.spigot.world.manager.GeyserSpigotWorldManager
org.geysermc.geyser.platform.spigot.world.manager.GeyserSpigotNativeWorldManager
- Direct Known Subclasses:
GeyserSpigotLegacyNativeWorldManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.geysermc.geyser.adapters.spigot.SpigotWorldAdapter
Fields inherited from class org.geysermc.geyser.platform.spigot.world.manager.GeyserSpigotWorldManager
CLIENT_PROTOCOL_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getBlockAt(GeyserSession session, int x, int y, int z)
Gets the Java block state at the specified locationMethods inherited from class org.geysermc.geyser.platform.spigot.world.manager.GeyserSpigotWorldManager
getBlockNetworkId, getGameRuleBool, getGameRuleInt, getLecternDataAt, hasOwnChunkCache, hasPermission, isLegacy, shouldExpectLecternHandled
Methods inherited from class org.geysermc.geyser.level.GeyserWorldManager
setDifficulty, setGameRule, setPlayerGameMode
Methods inherited from class org.geysermc.geyser.level.WorldManager
getBlockAt, getBlockAt
-
Field Details
-
adapter
protected final org.geysermc.geyser.adapters.spigot.SpigotWorldAdapter adapter
-
-
Constructor Details
-
GeyserSpigotNativeWorldManager
public GeyserSpigotNativeWorldManager(org.bukkit.plugin.Plugin plugin)
-
-
Method Details
-
getBlockAt
Description copied from class:WorldManager
Gets the Java block state at the specified location- Overrides:
getBlockAt
in classGeyserSpigotWorldManager
- Parameters:
session
- the sessionx
- the x coordinate to get the block aty
- the y coordinate to get the block atz
- the z coordinate to get the block at- Returns:
- the block state at the specified location
-