modsdotgroovy.frontend-dsl.neoforge.2.0.0-beta.23.source-code.DisplayTest.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neoforge Show documentation
Show all versions of neoforge Show documentation
The frontend DSL for mods.groovy on NeoForge
import groovy.transform.CompileStatic
@CompileStatic
enum DisplayTest {
/**
* (default) A red "X" will be displayed on the server connection screen if the version of this mod differs between the
* client and server.
*/
MATCH_VERSION,
/**
* When determining whether to show a red "X" on the server connection screen, if and only if this mod is present on
* the server but not the client, it will be ignored.
*/
IGNORE_SERVER_VERSION,
/**
* This mod will be ignored entirely when determining whether to show a red "X" on the server connection screen.
*/
IGNORE_ALL_VERSION,
/**
* You are setting your own display test for your mod using Forge's API.
*/
NONE
DisplayTest() {}
}