mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Restore Tic-Tooltips compatibility so it doesn't crash anymore with new stuff
This commit is contained in:
1 parent
e47b570915
commit
5187f3bb31
4 files changed
+15
-1
No files matched your search
@@ -16,4 +16,7 @@ public class ArrowMaterial
|
||||
{
|
||||
this(weight, breakChance);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public float accuracy = 0f; // tic-tooltips compatibility
|
||||
}
|
||||
@@ -16,4 +16,7 @@ public class BowMaterial
|
||||
{
|
||||
this(drawspeed, attack);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public int durability = 0; // tic-tooltips compatibility
|
||||
}
|
||||
@@ -35,4 +35,7 @@ public class FletchingMaterial extends CustomMaterial
|
||||
{
|
||||
this(materialID, value, oredict, craftingItem, accuracy, 0.01f, 1f, 0xffffffff);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public float mass = 0; // tic-tooltips compatibility
|
||||
}
|
||||
@@ -47,10 +47,15 @@ public class TinkerTools
|
||||
public static ToolProxyCommon proxy;
|
||||
|
||||
// backwards compatibility
|
||||
@Deprecated
|
||||
public static Item bowstring;
|
||||
public static DynamicToolPart arrowhead;
|
||||
@Deprecated
|
||||
public static Item arrowhead;
|
||||
@Deprecated
|
||||
public static Item fletching;
|
||||
@Deprecated
|
||||
public static ToolCore shortbow;
|
||||
@Deprecated
|
||||
public static ToolCore arrow;
|
||||
|
||||
// Crafting blocks
|
||||
|
||||
Reference in new issue
Block a user