Class GeyserFabricBootstrap
java.lang.Object
org.geysermc.geyser.platform.mod.GeyserModBootstrap
org.geysermc.geyser.platform.fabric.GeyserFabricBootstrap
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer,org.geysermc.geyser.GeyserBootstrap
public class GeyserFabricBootstrap
extends org.geysermc.geyser.platform.mod.GeyserModBootstrap
implements net.fabricmc.api.ModInitializer
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(@NonNull net.minecraft.commands.CommandSourceStack source, @NonNull String permissionNode, int permissionLevel) booleanhasPermission(@NonNull net.minecraft.world.entity.player.Player source, @NonNull String permissionNode) voidMethods inherited from class org.geysermc.geyser.platform.mod.GeyserModBootstrap
getConfigFolder, getDumpInfo, getGeyserCommandManager, getGeyserConfig, getGeyserLogger, getGeyserPingPassthrough, getInstance, getMinecraftServerVersion, getResourceOrNull, getServerBindAddress, getServerPort, getWorldManager, onGeyserDisable, onGeyserEnable, onGeyserInitialize, onGeyserShutdown, setServer, testFloodgatePluginPresentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.GeyserBootstrap
getLogsPath, getResourceOrThrow, getSavedUserLoginsFolder, getSocketAddress
-
Constructor Details
-
GeyserFabricBootstrap
public GeyserFabricBootstrap()
-
-
Method Details
-
onInitialize
public void onInitialize()- Specified by:
onInitializein interfacenet.fabricmc.api.ModInitializer
-
hasPermission
public boolean hasPermission(@NonNull net.minecraft.world.entity.player.Player source, @NonNull String permissionNode) - Specified by:
hasPermissionin classorg.geysermc.geyser.platform.mod.GeyserModBootstrap
-
hasPermission
public boolean hasPermission(@NonNull net.minecraft.commands.CommandSourceStack source, @NonNull String permissionNode, int permissionLevel) - Specified by:
hasPermissionin classorg.geysermc.geyser.platform.mod.GeyserModBootstrap
-