A cool thing.
This commit is contained in:
parent
f07e6c5a27
commit
c1826b8cf4
|
@ -276,7 +276,7 @@ public class ItemRendering
|
|||
registerMeta(ItemsAether.dart_shooter, Aether.locate("golden_dart_shooter"), Aether.locate("poison_dart_shooter"), Aether.locate("enchanted_dart_shooter"));
|
||||
registerMeta(ItemsAether.dart, Aether.locate("golden_dart"), Aether.locate("poison_dart"), Aether.locate("enchanted_dart"));
|
||||
registerMeta(ItemsAether.phoenix_bow, Aether.locate("phoenix_bow"), Aether.locate("phoenix_bow_pulling_0"), Aether.locate("phoenix_bow_pulling_1"), Aether.locate("phoenix_bow_pulling_2"));
|
||||
registerMeta(ItemsAether.notch_hammer, Aether.locate("notch_hammer"), Aether.locate("hammer_projectile"));
|
||||
registerMeta(ItemsAether.notch_hammer, Aether.locate("notch_hammer"), Aether.locate("hammer_projectile"), Aether.locate("jeb_hammer"));
|
||||
}
|
||||
|
||||
public static void register(Item item, int meta, String model)
|
||||
|
|
|
@ -9,12 +9,13 @@ import com.legacy.aether.Aether;
|
|||
public class NotchHammerDefinition implements ItemMeshDefinition
|
||||
{
|
||||
|
||||
public ModelResourceLocation notch_hammer, notch;
|
||||
public ModelResourceLocation notch_hammer, notch, jeb_hammer;
|
||||
|
||||
public NotchHammerDefinition()
|
||||
{
|
||||
this.notch_hammer = new ModelResourceLocation(Aether.modAddress() + "notch_hammer", "inventory");
|
||||
this.notch = new ModelResourceLocation(Aether.modAddress() + "hammer_projectile", "inventory");
|
||||
this.jeb_hammer = new ModelResourceLocation(Aether.modAddress() + "jeb_hammer", "inventory");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -24,8 +25,14 @@ public class NotchHammerDefinition implements ItemMeshDefinition
|
|||
{
|
||||
return this.notch;
|
||||
}
|
||||
|
||||
return this.notch_hammer;
|
||||
if (stack.getDisplayName().toLowerCase().equals("hammer of jeb"))
|
||||
{
|
||||
return this.jeb_hammer;
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.notch_hammer;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 381 B |
Loading…
Reference in a new issue