mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
Tool API 0.1
This commit is contained in:
1 parent
e6deb3dc4a
commit
b89fbce46f
623 files changed
+1132
-657
No files matched your search
@@ -44,4 +44,27 @@ public class Pickaxe extends HarvestTool
|
||||
{
|
||||
return TConstructContent.binding;
|
||||
}
|
||||
|
||||
protected String getRenderString (int renderPass, boolean broken)
|
||||
{
|
||||
switch (renderPass)
|
||||
{
|
||||
case 0:
|
||||
return "_pickaxe_handle.png";
|
||||
case 1:
|
||||
if (broken)
|
||||
return "_pickaxe_head_broken.png";
|
||||
else
|
||||
return "_pickaxe_head.png";
|
||||
case 2:
|
||||
return "_pickaxe_accessory.png";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
protected String getEffectString (int renderPass)
|
||||
{
|
||||
return "_pickaxe_effect.png";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user