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
FieldsModifier and TypeFieldDescriptionprotected org.geysermc.geyser.adapters.spigot.SpigotWorldAdapterFields inherited from class org.geysermc.geyser.platform.spigot.world.manager.GeyserSpigotWorldManager
CLIENT_PROTOCOL_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBlockAt(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, shouldExpectLecternHandledMethods inherited from class org.geysermc.geyser.level.GeyserWorldManager
setDifficulty, setGameRule, setPlayerGameModeMethods 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:WorldManagerGets the Java block state at the specified location- Overrides:
getBlockAtin 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
-