Package net.tnemc.item.component.helper
Class ToolRule
java.lang.Object
net.tnemc.item.component.helper.ToolRule
ToolRule
- Since:
- 0.2.0.0
- Author:
- creatorfromhell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMaterials
(List<String> materials) clone()
float
getSpeed()
boolean
isDrops()
static ToolRule
readJSON
(JSONHelper json) void
setDrops
(boolean drops) void
setMaterials
(List<String> materials) void
setSpeed
(float speed) org.json.simple.JSONObject
toJSON()
-
Constructor Details
-
ToolRule
public ToolRule() -
ToolRule
-
-
Method Details
-
toJSON
-
readJSON
-
getMaterials
-
addMaterials
-
setMaterials
-
getSpeed
-
setSpeed
-
isDrops
-
setDrops
-
clone
- Throws:
CloneNotSupportedException
-