Changes

8 bytes removed ,  06:34, 29 November 2020
m
monospaced font for certain header texts
Line 2: Line 2:  
Tools are simply an extension of the <code>Item</code> class. All of the logic is handled directly through one class with the others just being helpers to specify an exact tool type. Their implementations rely mainly on extending a specific class, it's properties, and the use of a tier system.
 
Tools are simply an extension of the <code>Item</code> class. All of the logic is handled directly through one class with the others just being helpers to specify an exact tool type. Their implementations rely mainly on extending a specific class, it's properties, and the use of a tier system.
   −
== <code>IItemTier</code> ==
+
== <tt>IItemTier</tt> ==
    
To create any tool that does not derive from vanilla tiers, you will need your own implementation of <code>IItemTier</code>. This is the basis of which all tool levels are created. If you would like to use a vanilla tier, then you should specify one of the enums within <code>ItemTier</code>.
 
To create any tool that does not derive from vanilla tiers, you will need your own implementation of <code>IItemTier</code>. This is the basis of which all tool levels are created. If you would like to use a vanilla tier, then you should specify one of the enums within <code>ItemTier</code>.
Line 27: Line 27:       −
== <code>ToolItem</code> ==
+
== <tt>ToolItem</tt> ==
    
<code>ToolItem</code> is the base of which all tool items extend. You do not necessarily have to use this or any of its supertypes/subtypes. However, it is convenient if you are looking for standard behavior. The subtypes normally referenced are <code>AxeItem</code>, <code>HoeItem</code>, <code>PickaxeItem</code>, <code>ShovelItem</code>.
 
<code>ToolItem</code> is the base of which all tool items extend. You do not necessarily have to use this or any of its supertypes/subtypes. However, it is convenient if you are looking for standard behavior. The subtypes normally referenced are <code>AxeItem</code>, <code>HoeItem</code>, <code>PickaxeItem</code>, <code>ShovelItem</code>.
297

edits