mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +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
@@ -116,4 +116,32 @@ public class BattleSign extends Weapon
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public int getRenderPasses (int metadata)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
protected String getRenderString (int renderPass, boolean broken)
|
||||
{
|
||||
switch (renderPass)
|
||||
{
|
||||
case 0:
|
||||
return "_battlesign_handle.png";
|
||||
case 1:
|
||||
if (broken)
|
||||
return "_battlesign_head_broken.png";
|
||||
else
|
||||
return "_battlesign_head.png";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
protected String getEffectString (int renderPass)
|
||||
{
|
||||
return "_battlesign_effect.png";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user