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
    Constructor
    Description
    GeyserNeoForgeBootstrap(net.neoforged.fml.ModContainer container)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasPermission(@NonNull net.minecraft.commands.CommandSourceStack source, @NonNull String permissionNode, int permissionLevel)
     
    boolean
    hasPermission(@NonNull net.minecraft.world.entity.player.Player source, @NonNull String permissionNode)
     
    boolean
     

    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, testFloodgatePluginPresent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      isServer in class org.geysermc.geyser.platform.mod.GeyserModBootstrap
    • hasPermission

      public boolean hasPermission(@NonNull net.minecraft.world.entity.player.Player source, @NonNull String permissionNode)
      Specified by:
      hasPermission in class org.geysermc.geyser.platform.mod.GeyserModBootstrap
    • hasPermission

      public boolean hasPermission(@NonNull net.minecraft.commands.CommandSourceStack source, @NonNull String permissionNode, int permissionLevel)
      Specified by:
      hasPermission in class org.geysermc.geyser.platform.mod.GeyserModBootstrap