Class ModBase<SELF extends ModBase<SELF>>

java.lang.Object
dev.lambdaurora.mcdev.api.manifest.ModShell<SELF>
dev.lambdaurora.mcdev.api.manifest.ModBase<SELF>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Fmj, Nmt

public class ModBase<SELF extends ModBase<SELF>> extends ModShell<SELF>
See Also:
  • Field Details

    • version

      protected final String version
    • authors

      protected final List<String> authors
    • contributors

      protected final List<String> contributors
    • contact

      protected Contact contact
    • license

      protected String license
  • Constructor Details

  • Method Details

    • withAuthors

      @Contract("_ -> this") public SELF withAuthors(List<String> authors)
    • withAuthors

      @Contract("_ -> this") public SELF withAuthors(String... authors)
    • withContributors

      @Contract("_ -> this") public SELF withContributors(List<String> contributors)
    • withContributors

      @Contract("_ -> this") public SELF withContributors(String... contributors)
    • withContact

      @Contract("_ -> this") public SELF withContact(@NotNull @NotNull Consumer<Contact> action)
    • withLicense

      public SELF withLicense(String license)
    • copyTo

      public void copyTo(@NotNull @NotNull ModBase<?> target)
    • copyBaseTo

      public void copyBaseTo(@NotNull @NotNull ModBase<?> target)
    • derive

      public <VARIANT extends ModBase<VARIANT>> VARIANT derive(ModBase.ModBaseFactory<VARIANT> factory)