Index
All Classes and Interfaces|All Packages|Serialized Form
A
- alternating(String, ChatColor...) - Static method in class io.github.bakedlibs.dough.common.ChatColors
-
This method colors the given String in alternating Colors.
- ASCII - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '[A-Za-z "_]+'
C
- ChatColors - Class in io.github.bakedlibs.dough.common
-
This class contains some utilities related to
ChatColor. - COLON - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor ':' - color(String) - Static method in class io.github.bakedlibs.dough.common.ChatColors
-
This is just a simple shortcut for:
ChatColor.translateAlternateColorCodes('&', input) - COMMA - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor ',' - CommonPatterns - Class in io.github.bakedlibs.dough.common
-
This class is created for common-use patterns used in things such as
String.split(String). - compareTo(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
D
- DASH - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '-' - DoughLogger - Class in io.github.bakedlibs.dough.common
- DoughLogger(String) - Constructor for class io.github.bakedlibs.dough.common.DoughLogger
- DoughLogger(Server, String) - Constructor for class io.github.bakedlibs.dough.common.DoughLogger
E
- equals(Object) - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- equals(Object) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- equals(Object) - Method in class io.github.bakedlibs.dough.versions.SimpleNumericVersion
- equalsIgnorePatch(int, int) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This method returns whether this
SemanticVersionequals the provided version numbers (ignoring the patch version of thisSemanticVersion). - equalsIgnorePatch(SemanticVersion) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This method returns whether this
SemanticVersionequals the provided version in all aspects except their patch number.
F
- findByName(String) - Static method in class io.github.bakedlibs.dough.common.PlayerList
-
This method returns an Optional that describes whether a Player with the given Name is currently online or not.
- findPermitted(String) - Static method in class io.github.bakedlibs.dough.common.PlayerList
-
This method returns a Set of online Players that have the specified Permission.
G
- get() - Static method in class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This attempts to get the
MinecraftVersionon which the currentServeris running on. - getAsString() - Method in class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This method returns this
Versionas a human-readable format. - getAsString() - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
-
This method returns this
Versionas a human-readable format. - getAsString() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This method returns this
Versionas a human-readable format. - getAsString() - Method in class io.github.bakedlibs.dough.versions.SimpleNumericVersion
-
This method returns this
Versionas a human-readable format. - getAsString() - Method in interface io.github.bakedlibs.dough.versions.Version
-
This method returns this
Versionas a human-readable format. - getMajorVersion() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This returns the "major" version component of this
SemanticVersion. - getMinorVersion() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This returns the "minor" version component of this
SemanticVersion. - getPatchVersion() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This returns the "patch" version component of this
SemanticVersion. - getPrefix() - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
-
This returns the prefix for this
PrefixedVersion. - getVersion() - Method in interface io.github.bakedlibs.dough.versions.Versioned
-
This returns the current
Versionof this object. - getVersionNumber() - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
-
This method returns the version number which this numeric
Versionrepresents.
H
- HASH - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '#' - hashCode() - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- hashCode() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- hashCode() - Method in class io.github.bakedlibs.dough.versions.SimpleNumericVersion
- HEXADECIMAL - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '[A-Fa-f0-9]+'
I
- IncomparableVersionsException - Exception in io.github.bakedlibs.dough.versions
-
An
IncomparableVersionsExceptionis thrown when two objects of the typeVersioncould not be compared. - io.github.bakedlibs.dough.common - package io.github.bakedlibs.dough.common
-
This package holds some utility classes which are used in multiple other modules.
- io.github.bakedlibs.dough.versions - package io.github.bakedlibs.dough.versions
-
This package provides some utilities which are useful for "version management".
- isAtLeast(int, int) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isAtLeast(int, int, int) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isAtLeast(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
- isEqualTo(Version) - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- isEqualTo(Version) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isEqualTo(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
- isMocked() - Static method in class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This checks if the current Server instance is a mock (MockBukkit) and whether we are in a Unit Test environment.
- isMocked(Server) - Static method in class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This checks if the current Server instance is a mock (MockBukkit) and whether we are in a Unit Test environment.
- isNewerThan(Version) - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- isNewerThan(Version) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isNewerThan(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
- isOlderThan(Version) - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- isOlderThan(Version) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isOlderThan(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
- isOnline(String) - Static method in class io.github.bakedlibs.dough.common.PlayerList
-
This method checks if a Player with the given name is currently online on the server.
- isPatch() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This method returns whether this is a patch version.
- isSimilar(Version) - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- isSimilar(Version) - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- isSimilar(Version) - Method in class io.github.bakedlibs.dough.versions.SimpleNumericVersion
- isSimilar(Version) - Method in interface io.github.bakedlibs.dough.versions.Version
M
- MINECRAFT_NAMESPACEDKEY - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor 'minecraft:[a-z_]+' - MinecraftVersion - Class in io.github.bakedlibs.dough.versions
-
This is an extension of
SemanticVersion, specifically designed for Minecraft's versioning system. - MinecraftVersion(int, int, int) - Constructor for class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This method constructs a new
MinecraftVersionwith the given version components.
N
- NUMBER_SEPARATOR - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '[,.]' - NUMERIC - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '[0-9]+'
O
- of(Server) - Static method in class io.github.bakedlibs.dough.versions.MinecraftVersion
-
This attempts to get the
MinecraftVersionon which the givenServeris currently running on.
P
- parse(String) - Static method in class io.github.bakedlibs.dough.versions.SemanticVersion
-
This method attempts to parse the given
Stringas aSemanticVersion. - PlayerList - Class in io.github.bakedlibs.dough.common
-
Some utility methods dealing with the
Playerlist. - PrefixedVersion - Class in io.github.bakedlibs.dough.versions
-
This
Versionimplementation consists of two components. - PrefixedVersion(String, int) - Constructor for class io.github.bakedlibs.dough.versions.PrefixedVersion
-
This constructs a new
PrefixedVersionwith the given prefix and version number.
S
- SEMANTIC_VERSIONS - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor matchingSemanticVersions. - SemanticVersion - Class in io.github.bakedlibs.dough.versions
-
A
SemanticVersionfollows the semantic version convention. - SemanticVersion(int, int) - Constructor for class io.github.bakedlibs.dough.versions.SemanticVersion
-
This creates a new
SemanticVersioninstance with the given components. - SemanticVersion(int, int, int) - Constructor for class io.github.bakedlibs.dough.versions.SemanticVersion
-
This creates a new
SemanticVersioninstance with the given components. - SEMICOLON - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor ';' - SimpleNumericVersion - Class in io.github.bakedlibs.dough.versions
-
This
Versionimplementation consists of only one component, the version number. - SimpleNumericVersion(int) - Constructor for class io.github.bakedlibs.dough.versions.SimpleNumericVersion
-
This constructs a new
SimpleNumericVersionwith the given version number. - SLASH - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '/' - stream() - Static method in class io.github.bakedlibs.dough.common.PlayerList
-
This method returns a Stream containing all online Players
T
- toString() - Method in class io.github.bakedlibs.dough.versions.PrefixedVersion
- toString() - Method in class io.github.bakedlibs.dough.versions.SemanticVersion
- toString() - Method in class io.github.bakedlibs.dough.versions.SimpleNumericVersion
U
- UNDERSCORE - Static variable in class io.github.bakedlibs.dough.common.CommonPatterns
-
Patternfor '_' - UnknownServerVersionException - Exception in io.github.bakedlibs.dough.versions
V
- Version - Interface in io.github.bakedlibs.dough.versions
-
A
Versionis a unique name or number that describes the condition of an object. - Versioned - Interface in io.github.bakedlibs.dough.versions
-
This interface marks something as "versioned" which means that it has a
Versionthat may change over time.
All Classes and Interfaces|All Packages|Serialized Form