mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Spontanously added slimeleaf fletchling
This commit is contained in:
1 parent
e7666e031b
commit
26181dd916
9 files changed
+21
-16
No files matched your search
@@ -69,11 +69,11 @@ public class WeaponryClientProxy extends WeaponryCommonProxy {
|
||||
ToolCore arrow = TinkerWeaponry.arrowAmmo;
|
||||
String pre = Reference.resource(arrow.getDefaultFolder()) + "/";
|
||||
|
||||
String[] shaft = {"wood", "bone", "blaze", "reed"};
|
||||
String[] fletching = { "feather", "leaf", "slime", "blueslime" };
|
||||
String[] shaft = {"wood", "bone", "blaze", "reed", null};
|
||||
String[] fletching = { "feather", "leaf", "slime", "blueslime", "slimeleaf" };
|
||||
|
||||
// we register different textures for the different parts per index
|
||||
for(int i = 0; i < 4; i++) {
|
||||
for(int i = 0; i < 5; i++) {
|
||||
String handletex = pre + shaft[i] + arrow.getIconSuffix(2);
|
||||
String acctex = pre + fletching[i] + arrow.getIconSuffix(3);
|
||||
arrow.registerAlternatePartPaths(i, new String[]{null, null, handletex, acctex});
|
||||
@@ -82,7 +82,7 @@ public class WeaponryClientProxy extends WeaponryCommonProxy {
|
||||
|
||||
// for bolts too
|
||||
pre = Reference.resource(TinkerWeaponry.boltAmmo.getDefaultFolder()) + "/";
|
||||
for(int i = 0; i < 4; i++) {
|
||||
for(int i = 0; i < 5; i++) {
|
||||
String acctex = pre + fletching[i] + TinkerWeaponry.boltAmmo.getIconSuffix(3);
|
||||
TinkerWeaponry.boltAmmo.registerAlternatePartPaths(i, new String[]{null, null, null, acctex});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user