Class ModEntry

java.lang.Object
dev.prozilla.pine.core.mod.ModEntry
All Implemented Interfaces:
Printable

public class ModEntry extends Object implements Printable
Represents a modification (mod) loaded by the ModManager. Serves as a container for mod functionality and metadata.
  • Field Details

    • mod

      public final Mod mod
    • metadata

      public final ModMetadata metadata
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Description copied from interface: Printable
      Returns a string representation of this object.
      Specified by:
      toString in interface Printable
      Overrides:
      toString in class Object
      Returns:
      The string representation of this mod based on its metadata or "Unknown mod" if the metadata is missing.