mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 08:54:12 +00:00
Added backwards compatibility to 4c410e
This commit is contained in:
1 parent
f6e6798f8d
commit
97c8789fca
1 file changed
+8
@@ -11,6 +11,7 @@ public class ToolMaterial
|
||||
// Reinforced level, shoddy/spiny level, color/style on name
|
||||
|
||||
public final String materialName;
|
||||
public final String displayName;
|
||||
public final int harvestLevel;
|
||||
public final int durability;
|
||||
public final int miningspeed; // <-- divided by 100
|
||||
@@ -21,9 +22,16 @@ public class ToolMaterial
|
||||
public final String tipStyle;
|
||||
public final String ability;
|
||||
|
||||
@Deprecated
|
||||
public ToolMaterial(String name, String displayName, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability)
|
||||
{
|
||||
this(name, level, durability, speed, damage, handle, reinforced, stonebound, style, ability);
|
||||
}
|
||||
|
||||
public ToolMaterial(String name, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability)
|
||||
{
|
||||
this.materialName = name;
|
||||
this.displayName = prefixName();
|
||||
this.harvestLevel = level;
|
||||
this.durability = durability;
|
||||
this.miningspeed = speed;
|
||||
|
||||
Reference in new issue
Block a user