|
Quilt Loader 1
|
Represents a value entry inside of mod metadata. More...
Classes | |
| interface | LArray |
Represents an LType#ARRAY value. More... | |
| interface | LObject |
Represents an LType#OBJECT value. More... | |
| enum | LType |
| The possible types of a loader value. More... | |
Public Member Functions | |
| LType | type () |
| String | location () |
| LObject | asObject () |
Coerces this custom value to an LType#OBJECT. | |
| LArray | asArray () |
Coerces this custom value to an LType#ARRAY. | |
| String | asString () |
Coerces this custom value to a LType#STRING. | |
| Number | asNumber () |
Coerces this custom value to a LType#NUMBER. | |
| boolean | asBoolean () |
Coerces this custom value to a LType#BOOLEAN. | |
| boolean | equals (Object obj) |
| int | hashCode () |
Represents a value entry inside of mod metadata.
| LArray org.quiltmc.loader.api.LoaderValue.asArray | ( | ) |
Coerces this custom value to an LType#ARRAY.
| ClassCastException | if this value is not an array |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.
| boolean org.quiltmc.loader.api.LoaderValue.asBoolean | ( | ) |
Coerces this custom value to a LType#BOOLEAN.
| ClassCastException | if this value is not a boolean |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.
| Number org.quiltmc.loader.api.LoaderValue.asNumber | ( | ) |
Coerces this custom value to a LType#NUMBER.
| ClassCastException | if this value is not a number |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.
| LObject org.quiltmc.loader.api.LoaderValue.asObject | ( | ) |
Coerces this custom value to an LType#OBJECT.
| ClassCastException | if this value is not an object |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.
| String org.quiltmc.loader.api.LoaderValue.asString | ( | ) |
Coerces this custom value to a LType#STRING.
| ClassCastException | if this value is not a string |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.
| boolean org.quiltmc.loader.api.LoaderValue.equals | ( | Object | obj | ) |
location() equals the given LoaderValue. Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.BooleanImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NullImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NumberImpl, and org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.StringImpl.
| int org.quiltmc.loader.api.LoaderValue.hashCode | ( | ) |
location(). Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.BooleanImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NullImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NumberImpl, and org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.StringImpl.
| String org.quiltmc.loader.api.LoaderValue.location | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.ArrayImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.BooleanImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NullImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NumberImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.ObjectImpl, and org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.StringImpl.
| LType org.quiltmc.loader.api.LoaderValue.type | ( | ) |
Implemented in org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.ArrayImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.BooleanImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NullImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.NumberImpl, org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.ObjectImpl, and org.quiltmc.loader.impl.metadata.qmj.JsonLoaderValue.StringImpl.