Open main menu
Home
Random
Log in
Settings
About Forge Community Wiki
Disclaimers
Forge Community Wiki
Search
Changes
← Older edit
Newer edit →
Datageneration/Loot Tables
(view source)
Revision as of 19:15, 15 July 2021
No change in size
,
19:15, 15 July 2021
m
→Preperation
Line 14:
Line 14:
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create();
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create();
−
protected final Map<Block, LootTable.Builder> lootTables = new
HashSet
<>();
+
protected final Map<Block, LootTable.Builder> lootTables = new
HashMap
<>();
public static Map<ResourceLocation, LootTable> tables = new HashMap<>();
public static Map<ResourceLocation, LootTable> tables = new HashMap<>();
protected final DataGenerator generator;
protected final DataGenerator generator;
Ferri Arnus
25
edits