Skip to content

Commit

Permalink
Some rendering stuff and fixes with bolts/arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 19, 2014
1 parent f31e414 commit e7454a5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -213,8 +213,6 @@ public void onPlayerStoppedUsing (ItemStack weapon, World world, EntityPlayer pl
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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/weaponry/WeaponryClientProxy.java
Expand Up @@ -69,7 +69,7 @@ private void registerMaterialRendering()
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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/weaponry/ammo/BoltAmmo.java
Expand Up @@ -101,7 +101,7 @@ protected int getDefaultColor(int renderPass, int materialID) {

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;

Expand Down

0 comments on commit e7454a5

Please sign in to comment.