public class AdvancementManager extends java.lang.Object implements IResourceManagerReloadListener
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTENSION_LENGTH |
static int |
PATH_PREFIX_LENGTH |
| Constructor and Description |
|---|
AdvancementManager() |
| Modifier and Type | Method and Description |
|---|---|
Advancement |
getAdvancement(ResourceLocation id) |
java.util.Collection<Advancement> |
getAllAdvancements() |
java.util.Map<ResourceLocation,Advancement.Builder> |
loadCustomAdvancements(IResourceManager p_195439_1_) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResourceTypepublic static final int PATH_PREFIX_LENGTH
public static final int EXTENSION_LENGTH
public java.util.Map<ResourceLocation,Advancement.Builder> loadCustomAdvancements(IResourceManager p_195439_1_)
@Nullable public Advancement getAdvancement(ResourceLocation id)
public java.util.Collection<Advancement> getAllAdvancements()
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload in interface IResourceManagerReloadListener