Interface GeyserIntegratedPackUtil

All Known Implementing Classes:
GeyserDefineResourcePacksEventImpl, SessionLoadResourcePacksEventImpl

public interface GeyserIntegratedPackUtil
  • Field Details

    • CACHE

      static final Path CACHE
    • PACK_PATH

      static final Path PACK_PATH
    • OPTIONAL_PACK_UUID

      static final UUID OPTIONAL_PACK_UUID
    • INTEGRATED_PACK_UUID

      static final UUID INTEGRATED_PACK_UUID
    • INTEGRATED_PACK_VERSION

      static final AtomicReference<org.geysermc.geyser.api.pack.ResourcePackManifest.Version> INTEGRATED_PACK_VERSION
    • PACK_ENABLED

      static final AtomicBoolean PACK_ENABLED
  • Method Details

    • registerGeyserPack

      default void registerGeyserPack(GeyserDefineResourcePacksEventImpl event)
    • preProcessPack

      default void preProcessPack(GeyserResourcePack pack)
      Pre-processes a resource pack about to be registered
      Parameters:
      pack - the pack to check
      Throws:
      org.geysermc.geyser.api.pack.exception.ResourcePackException - if duplicate was discovered
    • handleDuplicateIntegratedPack

      default void handleDuplicateIntegratedPack(org.geysermc.geyser.api.pack.ResourcePack duplicate)
    • handleOptionalPack

      default void handleOptionalPack(org.geysermc.geyser.api.pack.ResourcePack pack)
    • warnMessageLocation

      default String warnMessageLocation(org.geysermc.geyser.api.pack.PackCodec codec)
    • unregisterIntegratedPack

      void unregisterIntegratedPack()
    • integratedPackRegistered

      boolean integratedPackRegistered()
    • isIntegratedPackActive

      default boolean isIntegratedPackActive()