Some rendering stuff and fixes with bolts/arrows

This commit is contained in:
Bernhard Bonigl committed 2014-10-19 15:45:08 +02:00
1 parent f31e41447c
commit e7454a56ac
5 files changed
+2 -4

No files matched your search

@@ -213,8 +213,6 @@ public abstract class ProjectileWeapon extends ToolCore implements IAccuracy, IW
public HashMap<Integer, IIcon[]> animationExtraIcons = new HashMap<Integer, IIcon[]>();
public HashMap<Integer, IIcon[]> animationEffectIcons = new HashMap<Integer, IIcon[]>();
// todo: animated effects
/**
* return true if the current renderpass should use animations.
* 0 == handle
@@ -69,7 +69,7 @@ public class WeaponryClientProxy extends WeaponryCommonProxy {
ToolCore arrow = TinkerWeaponry.arrowAmmo;
String pre = Reference.resource(arrow.getDefaultFolder()) + "/";
String[] shaft = {"wood", "bone", "blaze", "reed", null};
String[] shaft = {"wood", "bone", "reed", "blaze", null};
String[] fletching = { "feather", "leaf", "slime", "blueslime", "slimeleaf" };
// we register different textures for the different parts per index
@@ -101,7 +101,7 @@ public class BoltAmmo extends AmmoItem {
CustomMaterial mat = TConstructRegistry.getCustomMaterial(materialID, FletchingMaterial.class);
if(mat == null)
TConstructRegistry.getCustomMaterial(materialID, FletchlingLeafMaterial.class);
mat = TConstructRegistry.getCustomMaterial(materialID, FletchlingLeafMaterial.class);
if(mat == null)
return 0xffffff;