public class LootConditionManager extends JsonDataLoader
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,JsonObject> 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,JsonObject> map, ResourceManager resourceManager, Profiler profiler)
apply in class SinglePreparationResourceReloadListener<Map<Identifier,JsonObject>>public Set<Identifier> getIds()