mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Fix animated icon textures and deprecate old tinkers stuff
This commit is contained in:
1 parent
26181dd916
commit
ef0ae6141a
4 files changed
+6
-3
No files matched your search
@@ -14,6 +14,7 @@ import tconstruct.library.tools.FletchingMaterial;
|
||||
import tconstruct.library.tools.ToolCore;
|
||||
import tconstruct.weaponry.TinkerWeaponry;
|
||||
|
||||
@Deprecated
|
||||
public class Arrow extends ToolCore
|
||||
{
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ import tconstruct.tools.TinkerTools;
|
||||
import tconstruct.tools.entity.ArrowEntity;
|
||||
import tconstruct.util.config.PHConstruct;
|
||||
|
||||
@Deprecated
|
||||
public abstract class BowBase extends ToolCore
|
||||
{
|
||||
public BowBase()
|
||||
|
||||
@@ -14,6 +14,7 @@ import tconstruct.library.tools.BowstringMaterial;
|
||||
import tconstruct.tools.TinkerTools;
|
||||
import tconstruct.weaponry.TinkerWeaponry;
|
||||
|
||||
@Deprecated
|
||||
public class Shortbow extends BowBase
|
||||
{
|
||||
public Shortbow()
|
||||
|
||||
@@ -245,9 +245,9 @@ public abstract class ProjectileWeapon extends ToolCore implements IAccuracy, IW
|
||||
switch (renderPass)
|
||||
{
|
||||
case 0: return getCorrectAnimationIcon(animationHandleIcons, tags.getInteger("RenderHandle"), progress);
|
||||
case 1: return getCorrectAnimationIcon(animationHeadIcons, tags.getInteger("renderHead"), progress);
|
||||
case 2: return getCorrectAnimationIcon(animationAccessoryIcons, tags.getInteger("renderAccessory"), progress);
|
||||
case 3: return getCorrectAnimationIcon(animationExtraIcons, tags.getInteger("renderExtra"), progress);
|
||||
case 1: return getCorrectAnimationIcon(animationHeadIcons, tags.getInteger("RenderHead"), progress);
|
||||
case 2: return getCorrectAnimationIcon(animationAccessoryIcons, tags.getInteger("RenderAccessory"), progress);
|
||||
case 3: return getCorrectAnimationIcon(animationExtraIcons, tags.getInteger("RenderExtra"), progress);
|
||||
}
|
||||
|
||||
return emptyIcon;
|
||||
|
||||
Reference in new issue
Block a user