mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Add colors to the custom materials, same as regular tool materials
This commit is contained in:
1 parent
6ca11c5dbf
commit
7c3e21be8d
6 files changed
+63
-11
No files matched your search
@@ -8,6 +8,15 @@ public class BowstringMaterial extends CustomMaterial
|
||||
public final float drawspeedModifier;
|
||||
public final float flightSpeedModifier;
|
||||
|
||||
public BowstringMaterial(int materialID, int value, ItemStack input, ItemStack craftingItem, float durability, float drawspeed, float flightspeed, int color)
|
||||
{
|
||||
super(materialID, value, input, craftingItem, color);
|
||||
this.durabilityModifier = durability;
|
||||
this.drawspeedModifier = drawspeed;
|
||||
this.flightSpeedModifier = flightspeed;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public BowstringMaterial(int materialID, int value, ItemStack input, ItemStack craftingItem, float durability, float drawspeed, float flightspeed)
|
||||
{
|
||||
super(materialID, value, input, craftingItem);
|
||||
|
||||
Reference in new issue
Block a user