Skip to content

Commit

Permalink
Merge pull request #52 from Qwertygiy/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Qwertygiy authored Feb 8, 2019
2 parents dd08e78 + d4daecb commit d19d744
Show file tree
Hide file tree
Showing 21 changed files with 823 additions and 664 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repositories {

apply plugin: 'forge'

version = "1.0.0-a.46"
version = "1.0.0-a.47"
group= "com.kbi.qwertech" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "qwertech"

Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/kbi/qwertech/ClientProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,10 @@ public void registerModels()
registerModel(EntityPhasianidae.class, 1, 3, new ModelGallusGallusJabouille());
//grey junglefowl
registerModel(EntityPhasianidae.class, 2, -1, new ModelGallusGallusJabouille());

//turkey
registerModel(EntityPhasianidae.class, 3, -1, new ModelTurkeyFat());
//sri lankan junglefowl
registerModel(EntityPhasianidae.class, 4, -1, new ModelGallusLafayetti());
}

@Override
Expand All @@ -213,6 +214,7 @@ public void onRenderPre(TickEvent.RenderTickEvent rte)
@SubscribeEvent
public void onTooltip(ItemTooltipEvent event)
{
if (event.itemStack == null || event.entity == null || event.isCanceled()) return;
if (ArmorUpgradeRegistry.instance.getUpgrade(event.itemStack) != null)
{
event.toolTip.add(LH.Chat.GOLD + "Can be used to upgrade armor");
Expand Down
Loading

0 comments on commit d19d744

Please sign in to comment.