public static enum ResourceManager.class_5353 extends Enum<ResourceManager.class_5353> implements ResourceManager
ResourceManager.class_5353| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsResource(Identifier identifier) |
Collection<Identifier> |
findResources(Identifier identifier,
Predicate<String> predicate) |
Collection<Identifier> |
findResources(String string,
Predicate<String> predicate) |
Set<String> |
getAllNamespaces() |
List<Resource> |
getAllResources(Identifier identifier) |
Resource |
getResource(Identifier identifier) |
Stream<ResourcePack> |
method_29213() |
static ResourceManager.class_5353 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceManager.class_5353[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceManager.class_5353 INSTANCE
public static ResourceManager.class_5353[] values()
for (ResourceManager.class_5353 c : ResourceManager.class_5353.values()) System.out.println(c);
public static ResourceManager.class_5353 valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Environment(value=CLIENT) public Set<String> getAllNamespaces()
getAllNamespaces in interface ResourceManagerpublic Resource getResource(Identifier identifier) throws IOException
getResource in interface ResourceManagerIOException@Environment(value=CLIENT) public boolean containsResource(Identifier identifier)
containsResource in interface ResourceManagerpublic List<Resource> getAllResources(Identifier identifier)
getAllResources in interface ResourceManagerpublic Collection<Identifier> findResources(Identifier identifier, Predicate<String> predicate)
findResources in interface ResourceManagerpublic Collection<Identifier> findResources(String string, Predicate<String> predicate)
findResources in interface ResourceManager@Environment(value=CLIENT) public Stream<ResourcePack> method_29213()
method_29213 in interface ResourceManager