public class LootConditionManager extends JsonDataLoader
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
LootConditionManager.AndCondition |
ResourceReloadListener.Synchronizer| Modifier and Type | Field and Description |
|---|---|
private Map<Identifier,LootCondition> |
conditions |
private static Gson |
GSON |
private static Logger |
LOGGER |
| Constructor and Description |
|---|
LootConditionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(Map<Identifier,JsonElement> map,
ResourceManager resourceManager,
Profiler profiler) |
LootCondition |
get(Identifier id) |
Set<Identifier> |
getIds() |
preparereloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameprivate static final Logger LOGGER
private static final Gson GSON
private Map<Identifier,LootCondition> conditions
@Nullable public LootCondition get(Identifier id)
protected void apply(Map<Identifier,JsonElement> map, ResourceManager resourceManager, Profiler profiler)
apply in class SinglePreparationResourceReloadListener<Map<Identifier,JsonElement>>public Set<Identifier> getIds()