Class GeyserNeoForgeBootstrap
java.lang.Object
org.geysermc.geyser.platform.mod.GeyserModBootstrap
org.geysermc.geyser.platform.neoforge.GeyserNeoForgeBootstrap
- All Implemented Interfaces:
org.geysermc.geyser.GeyserBootstrap
public class GeyserNeoForgeBootstrap
extends org.geysermc.geyser.platform.mod.GeyserModBootstrap
-
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) booleanisServer()Methods inherited from class org.geysermc.geyser.platform.mod.GeyserModBootstrap
getConfigFolder, getDumpInfo, getGeyserCommandManager, getGeyserConfig, getGeyserLogger, getGeyserPingPassthrough, getInstance, getMinecraftServerVersion, getResourceOrNull, getServerBindAddress, getServerPort, getSocketAddress, 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
-
Constructor Details
-
GeyserNeoForgeBootstrap
public GeyserNeoForgeBootstrap(net.neoforged.fml.ModContainer container)
-
-
Method Details
-
isServer
public boolean isServer()- Specified by:
isServerin classorg.geysermc.geyser.platform.mod.GeyserModBootstrap
-
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
-