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
    Constructor
    Description
     
  • 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)
     
    void
     

    Methods 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, 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, getSocketAddress
  • Constructor Details

    • GeyserFabricBootstrap

      public GeyserFabricBootstrap()
  • Method Details

    • onInitialize

      public void onInitialize()
      Specified by:
      onInitialize in interface net.fabricmc.api.ModInitializer
    • 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