Class ModShell<SELF extends ModShell<SELF>>

java.lang.Object
dev.lambdaurora.mcdev.api.manifest.ModShell<SELF>
Type Parameters:
SELF - the type of this class
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Fmj.ModMenu.ParentMod, ModBase

public class ModShell<SELF extends ModShell<SELF>> extends Object implements Serializable
Represents the shell data of a mod.
See Also:
  • Field Details

    • namespace

      @SerializedName("id") protected String namespace
    • name

      protected String name
    • description

      protected String description
    • icon

      protected String icon
  • Constructor Details

    • ModShell

      public ModShell(@NotNull @NotNull String namespace, @NotNull @NotNull String name)
  • Method Details

    • withNamespace

      @Contract("_ -> this") public SELF withNamespace(@NotNull @NotNull String namespace)
    • withName

      @Contract("_ -> this") public SELF withName(@NotNull @NotNull String name)
    • withDescription

      @Contract("_ -> this") public SELF withDescription(String description)
    • withIcon

      @Contract("_ -> this") public SELF withIcon(String icon)
    • copyTo

      public void copyTo(@NotNull @NotNull ModShell<?> target)
    • copyShellTo

      public void copyShellTo(@NotNull @NotNull ModShell<?> target)