Class PathPackCodec

java.lang.Object
org.geysermc.geyser.api.pack.PackCodec
org.geysermc.geyser.api.pack.PathPackCodec

public abstract class PathPackCodec extends PackCodec
Represents a pack codec that creates a resource pack from a path on the filesystem.
Since:
2.1.1
  • Constructor Details

    • PathPackCodec

      public PathPackCodec()
  • Method Details

    • path

      public abstract Path path()
      Gets the path of the resource pack.
      Returns:
      the path of the resource pack
      Since:
      2.1.1