net.minecraft.server.packs.resources

public class FallbackResourceManager

implements ResourceManager

adn
net.minecraft.server.packs.resources.FallbackResourceManager
net.minecraft.class_3294
net.minecraft.resource.NamespaceResourceManager
net.minecraft.src.C_67_
net.minecraft.server.packs.resources.ResourceManagerFallback

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
b
LOGGER
field_14285
LOGGER
f_10600_
protected final List<PackResources>
a
fallbacks
field_14283
packList
f_10599_
private final PackType
c
type
field_14284
type
f_10601_
private final String
d
namespace
field_21561
namespace
f_10602_

Constructor summary

ModifierConstructor
public (PackType type, String namespace)

Method summary

Modifier and TypeMethod
public void
a(acv arg0)
add(PackResources arg0)
method_24233(class_3262 arg0)
addPack(ResourcePack pack)
m_10608_(C_50_ arg0)
public Set<String>
a()
getNamespaces()
method_14487()
getAllNamespaces()
m_7187_()
public Resource
a(ww arg0)
getResource(ResourceLocation arg0)
method_14486(class_2960 arg0)
getResource(Identifier arg0)
m_142591_(C_5265_ arg0)
public boolean
b(ww arg0)
hasResource(ResourceLocation arg0)
method_18234(class_2960 arg0)
containsResource(Identifier arg0)
m_7165_(C_5265_ arg0)
protected InputStream
a(ww arg0, acv arg1)
getWrappedResource(ResourceLocation arg0, PackResources arg1)
method_14476(class_2960 arg0, class_3262 arg1)
open(Identifier id, ResourcePack pack)
m_10615_(C_5265_ p_10617_, C_50_ arg1)
private void
e(ww arg0)
validateLocation(ResourceLocation arg0)
method_14472(class_2960 arg0)
validate(Identifier id)
m_10626_(C_5265_ arg0)
private boolean
f(ww arg0)
isValidLocation(ResourceLocation arg0)
method_18221(class_2960 arg0)
isPathAbsolute(Identifier id)
m_10628_(C_5265_ arg0)
public List<Resource>
c(ww arg0)
getResources(ResourceLocation arg0)
method_14489(class_2960 arg0)
getAllResources(Identifier arg0)
m_7396_(C_5265_ arg0)
public Collection<ResourceLocation>
a(String arg0, Predicate<String> arg1)
listResources(String arg0, Predicate<String> arg1)
method_14488(String arg0, Predicate<String> arg1)
findResources(String arg0, Predicate<String> arg1)
m_6540_(String p_10612_, Predicate<String> arg1)
public Stream<PackResources>
b()
listPacks()
method_29213()
streamResourcePacks()
m_7536_()
static ResourceLocation
d(ww arg0)
getMetadataLocation(ResourceLocation arg0)
method_14473(class_2960 arg0)
getMetadataPath(Identifier id)
m_10624_(C_5265_ p_10625_)