Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(IMappingFile, MappingVisitor) - Static method in class org.moddingx.launcherlib.mappings.MappingHelper
-
Visits the given
mappingsusing the givenvisitor. - add(int, T) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Adds a new element to this tag at the given index.
- add(T) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Adds a new element to this tag.
- addAll(int, List) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Adds multiple new elements to this tag at the given index.
- addAll(int, ListTag) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addAll(List) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Adds multiple new elements to this tag.
- addAll(ListTag) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addByte(byte) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addDouble(double) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addFloat(float) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addInt(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addLong(long) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addShort(short) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- addString(String) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- ALPHA - Enum constant in enum class org.moddingx.launcherlib.launcher.VersionType
-
The
old_alphaversion type. - and(Side...) - Static method in enum class org.moddingx.launcherlib.util.Side
-
Adds multiple
Sides. - apply(T) - Method in interface org.moddingx.launcherlib.util.IoFunction
- ArrayTag<T> - Class in org.moddingx.launcherlib.nbt.tag
-
Base class for all list-like tags.
- ArrayTag(TagType, List) - Constructor for class org.moddingx.launcherlib.nbt.tag.ArrayTag
- artifact() - Method in class org.moddingx.launcherlib.launcher.Library
-
Gets the artifact, this library describes.
- Artifact - Class in org.moddingx.launcherlib.util
-
Represents a maven artifact.
- asByte() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as a byte.
- asDouble() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as a double.
- asFloat() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as a float.
- asInt() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as an integer.
- asLong() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as a long.
- AssetIndex - Class in org.moddingx.launcherlib.launcher
-
An asset index that provides the additional assets, the game needs.
- AssetIndex(LauncherCache, JsonObject) - Constructor for class org.moddingx.launcherlib.launcher.AssetIndex
- assets() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the
AssetIndexto use with this version. - asShort() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag as a short.
B
- BETA - Enum constant in enum class org.moddingx.launcherlib.launcher.VersionType
-
The
old_betaversion type. - byId(String) - Static method in enum class org.moddingx.launcherlib.util.Side
-
Gets a
Sidefrom its id. - BYTE - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
byte tag. - BYTE_ARRAY - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
- ByteArrayTag - Class in org.moddingx.launcherlib.nbt.tag
-
Byte array tag (
TagType.BYTE_ARRAY). - ByteArrayTag() - Constructor for class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
-
Creates an empty byte array tag.
- ByteArrayTag(byte[]) - Constructor for class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
-
Creates a new byte array tag with the given contents.
- ByteArrayTag(List) - Constructor for class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
-
Creates a new byte array tag with the given contents.
C
- ClassMappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for class mappings.
- ClassMappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- ClassMappingVisitor(ClassMappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- clear() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Removes all elements from this tag.
- clear() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Removes all elements from this tag.
- clear() - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- client - Variable in enum class org.moddingx.launcherlib.util.Side
-
Whether this side includes the client.
- client() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Downloads the client.
- CLIENT - Enum constant in enum class org.moddingx.launcherlib.util.Side
-
Only the physical client without server.
- clientMap() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the client mappings for this version.
- COMMON - Enum constant in enum class org.moddingx.launcherlib.util.Side
-
Both client and server.
- compareTo(Artifact) - Method in class org.moddingx.launcherlib.util.Artifact
- COMPOUND - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
compound tag. - CompoundTag - Class in org.moddingx.launcherlib.nbt.tag
-
Compound tag (
TagType.COMPOUND). - CompoundTag() - Constructor for class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Creates an empty compound tag.
- CompoundTag(Map) - Constructor for class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Creates a new compound tag with the given contents.
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.IntArrayTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.LongArrayTag
- copy() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
- copy() - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
- copy() - Method in interface org.moddingx.launcherlib.nbt.tag.Tag
-
Makes a copy of this tag.
- createByte(int) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.BYTE. - createDouble(double) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.DOUBLE. - createFloat(float) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.FLOAT. - createInt(int) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.INT. - createLong(long) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.LONG. - createShort(int) - Static method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Creates a new
NumberTagof typeTagType.SHORT.
D
- DEFLATE - Enum constant in enum class org.moddingx.launcherlib.nbt.NBT.Compression
-
DEFLATE compression.
- DOUBLE - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
double tag. - download(Path) - Method in class org.moddingx.launcherlib.launcher.AssetIndex
-
Downloads the assets to the given directory.
- download(Path) - Method in class org.moddingx.launcherlib.launcher.Library
-
Downloads the library to
basePath.resolve(path()). - downloadAsset(String, URL) - Method in interface org.moddingx.launcherlib.launcher.cache.LauncherCache
-
Cache an asset or download it if no cached version is available.
- downloadAsset(String, URL) - Method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
- downloadAsset(String, URL) - Method in class org.moddingx.launcherlib.launcher.cache.PathCache
- downloadLibrary(String, URL) - Method in interface org.moddingx.launcherlib.launcher.cache.LauncherCache
-
Cache a library file or download it if no cached version is available.
- downloadLibrary(String, URL) - Method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
- downloadLibrary(String, URL) - Method in class org.moddingx.launcherlib.launcher.cache.PathCache
- downloadMappings(String, String, URL) - Method in interface org.moddingx.launcherlib.launcher.cache.LauncherCache
-
Cache a mapping file or download it if no cached version is available.
- downloadMappings(String, String, URL) - Method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
- downloadMappings(String, String, URL) - Method in class org.moddingx.launcherlib.launcher.cache.PathCache
- downloadVersion(String, String, URL) - Method in interface org.moddingx.launcherlib.launcher.cache.LauncherCache
-
Cache a version file or download it if no cached version is available.
- downloadVersion(String, String, URL) - Method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
- downloadVersion(String, String, URL) - Method in class org.moddingx.launcherlib.launcher.cache.PathCache
E
- Either<A,
B> - Interface in org.moddingx.launcherlib.util -
An
Eitheris always either an instance ofEither.LeftorEither.Righteffectively giving a union type of two other types. - Either.Left<A> - Record Class in org.moddingx.launcherlib.util
- Either.Right<B> - Record Class in org.moddingx.launcherlib.util
- elements - Variable in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- elementType() - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
-
Gets the type of this lists elements.
- END - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
Marks the end of a
compoundtag. - equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
- equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.IntArrayTag
- equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.LongArrayTag
- equals(Object) - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
- equals(Object) - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.moddingx.launcherlib.util.Artifact
- equals(Object) - Method in record class org.moddingx.launcherlib.util.Either.Left
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.moddingx.launcherlib.util.Either.Right
-
Indicates whether some other object is "equal to" this one.
F
- FieldMappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for field mappings.
- FieldMappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.FieldMappingVisitor
- FieldMappingVisitor(FieldMappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.FieldMappingVisitor
- FLOAT - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
float tag. - from(String) - Static method in class org.moddingx.launcherlib.util.Artifact
-
Creates a new artifact from the given descriptor.
- from(String, String, String) - Static method in class org.moddingx.launcherlib.util.Artifact
-
Creates a new artifact from the given values.
- from(String, String, String, String) - Static method in class org.moddingx.launcherlib.util.Artifact
-
Creates a new artifact from the given values.
- from(String, String, String, String, String) - Static method in class org.moddingx.launcherlib.util.Artifact
-
Creates a new artifact from the given values.
G
- get() - Method in class org.moddingx.launcherlib.util.LazyValue
-
Gets the value, computing it on first access.
- get(boolean, boolean) - Static method in enum class org.moddingx.launcherlib.util.Side
-
Gets a side object that matches the given availability on client and server.
- get(int) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Gets the element at the given index.
- get(int) - Static method in enum class org.moddingx.launcherlib.nbt.TagType
-
Gets a tag type by its id.
- get(String) - Static method in enum class org.moddingx.launcherlib.launcher.VersionType
-
Gets a version type by id.
- get(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Gets a value from this tag.
- get(Function, Function) - Method in interface org.moddingx.launcherlib.util.Either
-
Gets a value from this
Either. - getByte(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getByte(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getClassifier() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts classifier or
nullif there is none. - getCompound(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getCompound(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getDescriptor() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts descriptor.
- getDouble(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getDouble(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getExtension() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts extension or
nullif there is none. - getFloat(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getFloat(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getGroup() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts group.
- getInt(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getInt(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getList(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getList(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getLong(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getLong(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getName() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts name.
- getOrThrow(Function, Function) - Method in interface org.moddingx.launcherlib.util.Either
-
Gets a value from this
Eitherif it is aEither.Leftor throws an exception if it is aEither.Right. - getPath() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the path of the artifact inside a maven repository.
- getPom() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets an artifact describing the POM of this artifact.
- getShort(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getShort(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getString(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- getString(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- getVersion() - Method in class org.moddingx.launcherlib.util.Artifact
-
Gets the artifacts version.
- GZIP - Enum constant in enum class org.moddingx.launcherlib.nbt.NBT.Compression
-
GZIP compression.
H
- has(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Gets whether this tag contains a value assigned to the given key.
- has(String, TagType) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Gets whether this tag contains a value assigned to the given key that is of type
type. - hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.ByteArrayTag
- hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.IntArrayTag
- hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.LongArrayTag
- hashCode() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
- hashCode() - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
-
Returns a hash code value for this object.
- hashCode() - Method in class org.moddingx.launcherlib.util.Artifact
- hashCode() - Method in record class org.moddingx.launcherlib.util.Either.Left
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.moddingx.launcherlib.util.Either.Right
-
Returns a hash code value for this object.
I
- id - Variable in enum class org.moddingx.launcherlib.util.Side
-
The id of this side.
- id() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets this versions name.
- id() - Method in enum class org.moddingx.launcherlib.nbt.TagType
-
Gets the id of the tag type.
- INSTANCE - Enum constant in enum class org.moddingx.launcherlib.launcher.cache.NoCache
- INT - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
An
int tag. - INT_ARRAY - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
An
int array tag. - IntArrayTag - Class in org.moddingx.launcherlib.nbt.tag
-
Int array tag (
TagType.INT_ARRAY). - IntArrayTag() - Constructor for class org.moddingx.launcherlib.nbt.tag.IntArrayTag
-
Creates an empty int array tag.
- IntArrayTag(int[]) - Constructor for class org.moddingx.launcherlib.nbt.tag.IntArrayTag
-
Creates a new int array tag with the given contents.
- IntArrayTag(List) - Constructor for class org.moddingx.launcherlib.nbt.tag.IntArrayTag
-
Creates a new int array tag with the given contents.
- InvalidNbtException - Exception Class in org.moddingx.launcherlib.nbt
-
Thrown when attempting to parse invalid
NBT. - InvalidNbtException(String) - Constructor for exception class org.moddingx.launcherlib.nbt.InvalidNbtException
- InvalidNbtException(String, Throwable) - Constructor for exception class org.moddingx.launcherlib.nbt.InvalidNbtException
- IoFunction<T,
R> - Interface in org.moddingx.launcherlib.util -
A
Functionimplementation that can throwIOException. - iterator() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- iterator() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
J
- java() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the java version required to run this minecraft version.
K
- key() - Method in class org.moddingx.launcherlib.launcher.Library
-
Gets the unique library key.
- keys() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Gets a set of all keys in this tag.
L
- latestRelease() - Method in class org.moddingx.launcherlib.launcher.Launcher
-
Gets the latest release version.
- latestSnapshot() - Method in class org.moddingx.launcherlib.launcher.Launcher
-
Gets the latest snapshot version.
- Launcher - Class in org.moddingx.launcherlib.launcher
-
Provides access to the launcher metadata.
- Launcher() - Constructor for class org.moddingx.launcherlib.launcher.Launcher
-
Creates a new uncached
Launcherinstance. - Launcher(Path) - Constructor for class org.moddingx.launcherlib.launcher.Launcher
- Launcher(LauncherCache) - Constructor for class org.moddingx.launcherlib.launcher.Launcher
-
Creates a new
Launcherinstance using a custom cache logic. - LauncherCache - Interface in org.moddingx.launcherlib.launcher.cache
-
Provides logic on how a
Launcherinstance should cache its downloaded files. - LazyValue<T> - Class in org.moddingx.launcherlib.util
-
A lazy value that is initialised when first needed.
- LazyValue(Supplier) - Constructor for class org.moddingx.launcherlib.util.LazyValue
-
Creates a new lazy value.
- left() - Method in interface org.moddingx.launcherlib.util.Either
-
Gets the left value of this
Eitherif this is aEither.Left. - left() - Method in record class org.moddingx.launcherlib.util.Either.Left
- left() - Method in record class org.moddingx.launcherlib.util.Either.Right
- left(A) - Static method in interface org.moddingx.launcherlib.util.Either
-
Creates a new
Either.Lefteither. - Left(A) - Constructor for record class org.moddingx.launcherlib.util.Either.Left
-
Creates an instance of a
Leftrecord class. - libraries() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets all libraries required to launch the game.
- Library - Class in org.moddingx.launcherlib.launcher
-
A library for the game.
- Library(LauncherCache, String, String, Artifact, URL, Set) - Constructor for class org.moddingx.launcherlib.launcher.Library
- LIST - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
list tag. - listIterator() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- listIterator(int) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- ListTag - Class in org.moddingx.launcherlib.nbt.tag
-
List tag (
TagType.LIST). - ListTag() - Constructor for class org.moddingx.launcherlib.nbt.tag.ListTag
-
Creates an empty list tag.
- ListTag(List) - Constructor for class org.moddingx.launcherlib.nbt.tag.ListTag
-
Creates a new list tag with the given contents.
- LONG - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
long tag. - LONG_ARRAY - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
- LongArrayTag - Class in org.moddingx.launcherlib.nbt.tag
-
Long array tag (
TagType.LONG_ARRAY). - LongArrayTag() - Constructor for class org.moddingx.launcherlib.nbt.tag.LongArrayTag
-
Creates an empty long array tag.
- LongArrayTag(long[]) - Constructor for class org.moddingx.launcherlib.nbt.tag.LongArrayTag
-
Creates a new long array tag with the given contents.
- LongArrayTag(List) - Constructor for class org.moddingx.launcherlib.nbt.tag.LongArrayTag
-
Creates a new long array tag with the given contents.
M
- make(InputStream, IoFunction) - Static method in class org.moddingx.launcherlib.launcher.Launcher
- make(URL, IoFunction) - Static method in class org.moddingx.launcherlib.launcher.Launcher
- map(Function, Function) - Method in interface org.moddingx.launcherlib.util.Either
-
Maps this
Eitherwith different mapper functions depending on whether this is aEither.Leftor aEither.Right. - mapLeft(Function) - Method in record class org.moddingx.launcherlib.util.Either.Left
- mapLeft(Function) - Method in interface org.moddingx.launcherlib.util.Either
-
Maps this
Eitherif it is aEither.Left. - mapLeft(Function) - Method in record class org.moddingx.launcherlib.util.Either.Right
- MappingHelper - Class in org.moddingx.launcherlib.mappings
- MappingHelper() - Constructor for class org.moddingx.launcherlib.mappings.MappingHelper
- MappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for mappings.
- MappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.MappingVisitor
- MappingVisitor(MappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.MappingVisitor
- MappingWriter - Class in org.moddingx.launcherlib.mappings
-
A
MappingVisitorthat assembles anIMappingFilefrom the things it visits. - MappingWriter() - Constructor for class org.moddingx.launcherlib.mappings.MappingWriter
- mapRight(Function) - Method in interface org.moddingx.launcherlib.util.Either
-
Maps this
Eitherif it is aEither.Right. - mapRight(Function) - Method in record class org.moddingx.launcherlib.util.Either.Right
- mapRight(Function) - Method in record class org.moddingx.launcherlib.util.Either.Left
- merge(List) - Static method in class org.moddingx.launcherlib.mappings.MappingHelper
-
Merges multiple mapping files into one.
- merge(IMappingFile...) - Static method in class org.moddingx.launcherlib.mappings.MappingHelper
-
Merges multiple mapping files into one.
- merge(CompoundTag) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Puts all values from the given
CompoundTaginto thisCompoundTag, recursively merging entries, where both tags contain aCompoundTag. - merge(Side...) - Static method in enum class org.moddingx.launcherlib.util.Side
- mergedMap() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the merged mappings for this version.
- MethodMappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for method mappings.
- MethodMappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.MethodMappingVisitor
- MethodMappingVisitor(MethodMappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.MethodMappingVisitor
N
- NBT - Class in org.moddingx.launcherlib.nbt
-
Class to read and write binary NBT.
- NBT() - Constructor for class org.moddingx.launcherlib.nbt.NBT
- NBT.Compression - Enum Class in org.moddingx.launcherlib.nbt
-
A compression method used to read and write NBT.
- NoCache - Enum Class in org.moddingx.launcherlib.launcher.cache
-
An implementation of
LauncherCachethat does not perform any caching. - NONE - Enum constant in enum class org.moddingx.launcherlib.nbt.NBT.Compression
-
Uncompressed data.
- NumberTag - Class in org.moddingx.launcherlib.nbt.tag
-
A numeric tag.
O
- onAdd(Tag) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- onAdd(T) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- openStream() - Method in class org.moddingx.launcherlib.launcher.Library
-
Opens an
InputStreamto download the library. - org.moddingx.launcherlib.launcher - package org.moddingx.launcherlib.launcher
- org.moddingx.launcherlib.launcher.cache - package org.moddingx.launcherlib.launcher.cache
- org.moddingx.launcherlib.mappings - package org.moddingx.launcherlib.mappings
- org.moddingx.launcherlib.mappings.visitor - package org.moddingx.launcherlib.mappings.visitor
- org.moddingx.launcherlib.nbt - package org.moddingx.launcherlib.nbt
- org.moddingx.launcherlib.nbt.tag - package org.moddingx.launcherlib.nbt.tag
- org.moddingx.launcherlib.util - package org.moddingx.launcherlib.util
P
- PackageMappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for package mappings.
- PackageMappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.PackageMappingVisitor
- PackageMappingVisitor(PackageMappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.PackageMappingVisitor
- ParameterMappingVisitor - Class in org.moddingx.launcherlib.mappings.visitor
-
Provides an ASM-like visitor for parameter mappings.
- ParameterMappingVisitor() - Constructor for class org.moddingx.launcherlib.mappings.visitor.ParameterMappingVisitor
- ParameterMappingVisitor(ParameterMappingVisitor) - Constructor for class org.moddingx.launcherlib.mappings.visitor.ParameterMappingVisitor
- path() - Method in class org.moddingx.launcherlib.launcher.Library
-
Gets the path inside a library structure to download that library to.
- PathCache - Class in org.moddingx.launcherlib.launcher.cache
-
An implementation of
LauncherCachethat caches all downloads under a given base directory. - PathCache(Path) - Constructor for class org.moddingx.launcherlib.launcher.cache.PathCache
- put(String, Tag) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Puts a new value into this tag.
- put(Map.Entry) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Puts a new value into this tag.
- putAll(Map) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Puts multiple values into this tag.
- putAll(CompoundTag) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Puts multiple values into this tag.
- putByte(String, byte) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putDouble(String, double) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putFloat(String, float) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putInt(String, int) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putLong(String, long) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putShort(String, short) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- putString(String, String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
R
- read(InputStream) - Static method in class org.moddingx.launcherlib.nbt.NBT
-
Reads GZIP compressed NBT from the given
InputStream. - read(InputStream, NBT.Compression) - Static method in class org.moddingx.launcherlib.nbt.NBT
-
Reads NBT from the given
InputStream. - read(Reader) - Static method in class org.moddingx.launcherlib.nbt.SNBT
-
Reads SNBT from the given
Reader. - read(String) - Static method in class org.moddingx.launcherlib.nbt.SNBT
-
Parses the given SNBT string.
- RELEASE - Enum constant in enum class org.moddingx.launcherlib.launcher.VersionType
-
The
releaseversion type. - releaseTime() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the release time of this minecraft version.
- remove(int) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Removes the value at the given index.
- remove(int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- remove(String) - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Removes the value assigned to the given key.
- removeMeta(IMappingFile) - Static method in class org.moddingx.launcherlib.mappings.MappingHelper
-
Returns new
IMappingFilethat has the same mappings as the givenIMappingFilebut with all metadata mappings removed. - removeParameters(IMappingFile) - Static method in class org.moddingx.launcherlib.mappings.MappingHelper
-
Returns new
IMappingFilethat has the same mappings as the givenIMappingFilebut with all parameter mappings removed. - result() - Method in class org.moddingx.launcherlib.mappings.MappingWriter
-
Gets the resulting mappings.
- right() - Method in record class org.moddingx.launcherlib.util.Either.Left
- right() - Method in interface org.moddingx.launcherlib.util.Either
-
Gets the right value of this
Eitherif this is aEither.Right. - right() - Method in record class org.moddingx.launcherlib.util.Either.Right
- right(B) - Static method in interface org.moddingx.launcherlib.util.Either
-
Creates a new
Either.Righteither. - Right(B) - Constructor for record class org.moddingx.launcherlib.util.Either.Right
-
Creates an instance of a
Rightrecord class.
S
- server - Variable in enum class org.moddingx.launcherlib.util.Side
-
Whether this side includes the dedicated server.
- server() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Downloads the server.
- SERVER - Enum constant in enum class org.moddingx.launcherlib.util.Side
-
Only the dedicated server without the client.
- serverMap() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the server mappings for this version.
- set(int, Tag) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- set(int, T) - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Changes the value at the given index.
- setByte(int, byte) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setDouble(int, double) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setFloat(int, float) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setInt(int, int) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setLong(int, long) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setShort(int, short) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- setString(int, String) - Method in class org.moddingx.launcherlib.nbt.tag.ListTag
- SHORT - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
short tag. - shouldDownloadOn(String) - Method in class org.moddingx.launcherlib.launcher.Library
-
Gets whether this library should be downloaded on the given operating system.
- Side - Enum Class in org.moddingx.launcherlib.util
-
Marks a physical side for a mod to be placed in.
- size() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
-
Gets the size of this tag.
- size() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
-
Gets the size of this tag.
- SNAPSHOT - Enum constant in enum class org.moddingx.launcherlib.launcher.VersionType
-
The
snapshotversion type. - SNBT - Class in org.moddingx.launcherlib.nbt
-
Class to read and write SNBT.
- SNBT() - Constructor for class org.moddingx.launcherlib.nbt.SNBT
- stream() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- stream() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- STRING - Enum constant in enum class org.moddingx.launcherlib.nbt.TagType
-
A
string tag. - StringTag - Record Class in org.moddingx.launcherlib.nbt.tag
-
A string tag of type
TagType.STRING. - StringTag(String) - Constructor for record class org.moddingx.launcherlib.nbt.tag.StringTag
-
Creates an instance of a
StringTagrecord class. - swap() - Method in record class org.moddingx.launcherlib.util.Either.Left
- swap() - Method in record class org.moddingx.launcherlib.util.Either.Right
- swap() - Method in interface org.moddingx.launcherlib.util.Either
-
Swaps the order of the elements.
T
- Tag - Interface in org.moddingx.launcherlib.nbt.tag
- TagType - Enum Class in org.moddingx.launcherlib.nbt
-
A tag type for a NBT tag.
- toString() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- toString() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- toString() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
- toString() - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
-
Returns a string representation of this record class.
- toString() - Method in class org.moddingx.launcherlib.util.Artifact
- toString() - Method in record class org.moddingx.launcherlib.util.Either.Left
-
Returns a string representation of this record class.
- toString() - Method in record class org.moddingx.launcherlib.util.Either.Right
-
Returns a string representation of this record class.
- tryWith(Supplier) - Static method in interface org.moddingx.launcherlib.util.Either
-
Executes the given
Supplierand returns aEither.Leftwith the result. - type() - Method in class org.moddingx.launcherlib.launcher.VersionInfo
-
Gets the type of this minecraft version.
- type() - Method in class org.moddingx.launcherlib.nbt.tag.ArrayTag
- type() - Method in class org.moddingx.launcherlib.nbt.tag.CompoundTag
- type() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
- type() - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
- type() - Method in interface org.moddingx.launcherlib.nbt.tag.Tag
-
Gets the
TagTypefor this tag.
V
- value() - Method in class org.moddingx.launcherlib.nbt.tag.NumberTag
-
Gets the value of this tag.
- value() - Method in record class org.moddingx.launcherlib.nbt.tag.StringTag
-
Returns the value of the
valuerecord component. - value() - Method in record class org.moddingx.launcherlib.util.Either.Left
-
Returns the value of the
valuerecord component. - value() - Method in record class org.moddingx.launcherlib.util.Either.Right
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.launcherlib.launcher.VersionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.launcherlib.nbt.NBT.Compression
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.launcherlib.nbt.TagType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.moddingx.launcherlib.util.Side
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.moddingx.launcherlib.launcher.cache.NoCache
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.launcherlib.launcher.VersionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.launcherlib.nbt.NBT.Compression
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.launcherlib.nbt.TagType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.moddingx.launcherlib.util.Side
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version(String) - Method in class org.moddingx.launcherlib.launcher.Launcher
-
Gets the
VersionInfofor a given minecraft version. - VersionInfo - Class in org.moddingx.launcherlib.launcher
-
Launcher metadata for one specific minecraft version.
- VersionInfo(LauncherCache, JsonObject, String) - Constructor for class org.moddingx.launcherlib.launcher.VersionInfo
- versions() - Method in class org.moddingx.launcherlib.launcher.Launcher
-
Gets all known minecraft versions in order.
- VersionType - Enum Class in org.moddingx.launcherlib.launcher
-
A minecraft version type.
- visitClass(String, String) - Method in class org.moddingx.launcherlib.mappings.MappingWriter
- visitClass(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.MappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.MappingWriter
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.FieldMappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.MappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.MethodMappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.PackageMappingVisitor
- visitEnd() - Method in class org.moddingx.launcherlib.mappings.visitor.ParameterMappingVisitor
- visitField(String, String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- visitMeta(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- visitMeta(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.FieldMappingVisitor
- visitMeta(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.MethodMappingVisitor
- visitMeta(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.PackageMappingVisitor
- visitMeta(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.ParameterMappingVisitor
- visitMethod(String, String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.ClassMappingVisitor
- visitPackage(String, String) - Method in class org.moddingx.launcherlib.mappings.MappingWriter
- visitPackage(String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.MappingVisitor
- visitParameter(int, String, String) - Method in class org.moddingx.launcherlib.mappings.visitor.MethodMappingVisitor
W
- withClassifier(String) - Method in class org.moddingx.launcherlib.util.Artifact
-
Returns a copy of this artifact with the given classifier and no explicit extension.
- withClassifier(String, String) - Method in class org.moddingx.launcherlib.util.Artifact
-
Returns a copy of this artifact with the given classifier and extension.
- write(Tag) - Static method in class org.moddingx.launcherlib.nbt.SNBT
-
Converts the given
Tagto a string. - write(Tag, OutputStream) - Static method in class org.moddingx.launcherlib.nbt.NBT
-
Writes GZIP compressed NBT to the given
OutputStream. - write(Tag, OutputStream, NBT.Compression) - Static method in class org.moddingx.launcherlib.nbt.NBT
-
Writes NBT to the given
OutputStream. - write(Tag, Writer) - Static method in class org.moddingx.launcherlib.nbt.SNBT
-
Writes SNBT to the given
Writer. - write(Tag, Writer, boolean) - Static method in class org.moddingx.launcherlib.nbt.SNBT
-
Writes SNBT to the given
Writer.
All Classes and Interfaces|All Packages|Serialized Form