Changes

Line 59: Line 59:  
* <code>.apply</code> is used to apply a function or condition. These themselves can have multiple operations.
 
* <code>.apply</code> is used to apply a function or condition. These themselves can have multiple operations.
   −
After all attributes have been added the <code>LootPool.Builder</code> can be used to make a <code>LootTable.Builder</code> of the proper <code>LootParameterSets</code>. This builder can then be added to the <code>lootTables</code> map made in the previous section (in the overwritten abstract method).
+
After all attributes have been added the <code>LootPool.Builder</code> can be used to make a <code>LootTable.Builder</code> of the proper <code>LootParameterSets</code>. This builder can then be added to an entry in the <code>lootTables</code> map made in the previous section (you should do this in the overwritten abstract method).
 
<syntaxhighlight lang="java">
 
<syntaxhighlight lang="java">
 
LootPool.Builder builder = LootPool.lootPool()
 
LootPool.Builder builder = LootPool.lootPool()
25

edits