public abstract class ResourceLocationAPI<R> extends AbstractWrapped<R>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceLocationAPI.Pseudo<V>
Specifically made for 1.12.2 integer dimension IDs so everything else doesn't have work around them
|
wrappedBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Modifier | Constructor and Description |
|---|---|
protected |
ResourceLocationAPI(java.lang.Object instance) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
bind(MinecraftAPI<?> mc) |
abstract java.lang.String |
getNamespace() |
abstract java.lang.String |
getPath() |
abstract int |
getSpriteFrames()
Returns the number of frames in a sprite sheet if a mcmeta file is detected
|
java.lang.String |
toString() |
equals, getWrapped, getWrappedClassclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefaultpublic abstract void bind(MinecraftAPI<?> mc)
public abstract int getSpriteFrames()
public abstract java.lang.String getNamespace()
public abstract java.lang.String getPath()
public java.lang.String toString()
toString in class AbstractWrapped<R>