public class ResourceWithFallback
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ResourceWithFallback |
ensureTexture() |
static ResourceWithFallback |
from(net.minecraft.util.ResourceLocation resource) |
static ResourceWithFallback |
from(net.minecraft.util.ResourceLocation resource,
net.minecraft.util.ResourceLocation fallback) |
net.minecraft.util.ResourceLocation |
get() |
net.minecraft.util.ResourceLocation |
getFallback() |
net.minecraft.util.ResourceLocation |
getResource() |
void |
reset() |
static void |
resetAll() |
boolean |
usingFallback() |
public static ResourceWithFallback from(net.minecraft.util.ResourceLocation resource)
public static ResourceWithFallback from(net.minecraft.util.ResourceLocation resource, net.minecraft.util.ResourceLocation fallback)
public static void resetAll()
public net.minecraft.util.ResourceLocation get()
public ResourceWithFallback ensureTexture()
public void reset()
public net.minecraft.util.ResourceLocation getResource()
public net.minecraft.util.ResourceLocation getFallback()
public boolean usingFallback()