package crazypants.enderzoo.waila;

import java.util.List;

//TEMPORARY: removed for 1.11.2 initial port
//Sam<Lothrazar>

import crazypants.enderzoo.entity.IEnderZooMob;
//import mcp.mobius.waila.api.IWailaConfigHandler;
//import mcp.mobius.waila.api.IWailaEntityAccessor;
//import mcp.mobius.waila.api.IWailaEntityProvider;
//import mcp.mobius.waila.api.IWailaRegistrar;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.text.translation.I18n;
import net.minecraft.world.World;

public class WailaCompat //implements IWailaEntityProvider
{
//
//  private static final WailaCompat INSTANCE = new WailaCompat();
//
//  public static void load(IWailaRegistrar registrar) {
//    registrar.registerBodyProvider(INSTANCE, IEnderZooMob.class);
//  }
//
//  @Override
//  public Entity getWailaOverride(IWailaEntityAccessor accessor, IWailaConfigHandler config) {
//    return null; // not used
//  }
//
//  @Override
//  public List<String> getWailaHead(Entity entity, List<String> currenttip, IWailaEntityAccessor accessor, IWailaConfigHandler config) {
//    return null; // not used
//  }
//
//  @Override
//  public List<String> getWailaBody(Entity entity, List<String> currenttip, IWailaEntityAccessor accessor, IWailaConfigHandler config) {
//    String name = EntityList.getEntityString(entity);
//    //name = name.substring(EnderZoo.MODID.length() + 1, name.length());    
//    String locKey = "entity." + name + ".desc.";
//    String loc = null;
//    for (int line = 1; !(loc = I18n.translateToLocal(locKey + line)).equals(locKey + line); line++) {
//      currenttip.add(loc);
//    }
//    return currenttip;
//  }
//
//  @Override
//  public List<String> getWailaTail(Entity entity, List<String> currenttip, IWailaEntityAccessor accessor, IWailaConfigHandler config) {
//    return null;
//  }
//
//  @Override
//  public NBTTagCompound getNBTData(EntityPlayerMP player, Entity ent, NBTTagCompound tag, World world) {
//    return tag;
//  }
}

@@ -57,70 +57,44 @@
 t;%0A%0A
-//TEMPORARY: removed for 1.11.2 initial port%0A//Sam%3CLothrazar%3E%0A
+import crazypants.enderzoo.EnderZoo;
 %0Aimp
@@ -138,18 +138,16 @@
 ZooMob;%0A
-//
 import m
@@ -183,26 +183,24 @@
 figHandler;%0A
-//
 import mcp.m
@@ -237,18 +237,16 @@
 cessor;%0A
-//
 import m
@@ -287,18 +287,16 @@
 ovider;%0A
-//
 import m
@@ -609,18 +609,16 @@
 aCompat 
-//
 implemen
@@ -643,21 +643,17 @@
 vider%0A%7B%0A
-//%0A//
+%0A
   privat
@@ -709,21 +709,17 @@
 mpat();%0A
-//%0A//
+%0A
   public
@@ -761,26 +761,24 @@
 egistrar) %7B%0A
-//
     registra
@@ -831,27 +831,21 @@
 class);%0A
-//
   %7D%0A
-//%0A//
+%0A
   @Overr
@@ -840,34 +840,32 @@
  %7D%0A%0A  @Override%0A
-//
   public Entity 
@@ -934,34 +934,32 @@
 ndler config) %7B%0A
-//
     return null;
@@ -962,32 +962,14 @@
 ull;
- // not used%0A//  %7D%0A//%0A//
+%0A  %7D%0A%0A
   @O
@@ -968,34 +968,32 @@
  %7D%0A%0A  @Override%0A
-//
   public List%3CSt
@@ -1104,34 +1104,32 @@
 ndler config) %7B%0A
-//
     return null;
@@ -1132,32 +1132,14 @@
 ull;
- // not used%0A//  %7D%0A//%0A//
+%0A  %7D%0A%0A
   @O
@@ -1138,34 +1138,32 @@
  %7D%0A%0A  @Override%0A
-//
   public List%3CSt
@@ -1278,26 +1278,24 @@
 r config) %7B%0A
-//
     String n
@@ -1340,16 +1340,12 @@
 y);%0A
-//
     
-//
 name
@@ -1411,18 +1411,16 @@
 ));    %0A
-//
     Stri
@@ -1460,18 +1460,16 @@
 desc.%22;%0A
-//
     Stri
@@ -1483,18 +1483,16 @@
 = null;%0A
-//
     for 
@@ -1581,26 +1581,24 @@
 ; line++) %7B%0A
-//
       curren
@@ -1616,18 +1616,14 @@
 c);%0A
-//
     %7D%0A
-//
     
@@ -1641,27 +1641,21 @@
 enttip;%0A
-//
   %7D%0A
-//%0A//
+%0A
   @Overr
@@ -1650,34 +1650,32 @@
  %7D%0A%0A  @Override%0A
-//
   public List%3CSt
@@ -1790,26 +1790,24 @@
 r config) %7B%0A
-//
     return n
@@ -1815,19 +1815,13 @@
 ll;%0A
-//
   %7D%0A
-//%0A//
+%0A
   @O
@@ -1828,18 +1828,16 @@
 verride%0A
-//
   public
@@ -1933,18 +1933,16 @@
 orld) %7B%0A
-//
     retu
@@ -1953,10 +1953,8 @@
 ag;%0A
-//
   %7D%0A

Reimplement waila compat