public class LootTableManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
LootTableManager.Loader |
Modifier and Type | Field and Description |
---|---|
private java.io.File |
baseFolder |
private static com.google.gson.Gson |
GSON_INSTANCE |
private static org.apache.logging.log4j.Logger |
LOGGER |
private com.google.common.cache.LoadingCache<ResourceLocation,LootTable> |
registeredLootTables |
Constructor and Description |
---|
LootTableManager(java.io.File folder) |
Modifier and Type | Method and Description |
---|---|
LootTable |
getLootTableFromLocation(ResourceLocation ressources) |
void |
reloadLootTables() |
private static final org.apache.logging.log4j.Logger LOGGER
private static final com.google.gson.Gson GSON_INSTANCE
private final com.google.common.cache.LoadingCache<ResourceLocation,LootTable> registeredLootTables
private final java.io.File baseFolder
public LootTable getLootTableFromLocation(ResourceLocation ressources)
public void reloadLootTables()