Changes

Line 2: Line 2:  
Loot Tables are not so polished like the other Providers. You need need to do some work to get them to a good state.
 
Loot Tables are not so polished like the other Providers. You need need to do some work to get them to a good state.
   −
== Preperation ==
+
==Preperation==
First you would need a new Class that extend the <code>LootTableProvider</code>. In this class you would override the <code>act</code> and optionally <code>getName</code> Method.  
+
First you would need a new Class that extend the <code>LootTableProvider</code>. In this class you would override the <code>run</code> and optionally <code>getName</code> Method.  
 
In the <code>getName</code> you just return the Name shown in the Logs.  
 
In the <code>getName</code> you just return the Name shown in the Logs.  
 
Also you should create a abstract Method which you would override in subclasses but this is not strictly needed.
 
Also you should create a abstract Method which you would override in subclasses but this is not strictly needed.
25

edits