2015-04-26 20:07:57 +02:00
|
|
|
package ellpeck.actuallyadditions.waila;
|
|
|
|
|
2015-07-01 21:32:48 +02:00
|
|
|
import ellpeck.actuallyadditions.util.ModUtil;
|
2015-04-26 20:07:57 +02:00
|
|
|
import mcp.mobius.waila.api.IWailaConfigHandler;
|
|
|
|
import mcp.mobius.waila.api.IWailaDataAccessor;
|
|
|
|
import mcp.mobius.waila.api.IWailaDataProvider;
|
|
|
|
import mcp.mobius.waila.api.IWailaRegistrar;
|
2015-06-12 19:12:06 +02:00
|
|
|
import net.minecraft.entity.player.EntityPlayerMP;
|
2015-04-26 20:07:57 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
public class WailaDataProvider implements IWailaDataProvider{
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack getWailaStack(IWailaDataAccessor accessor, IWailaConfigHandler config){
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2015-05-20 22:39:43 +02:00
|
|
|
public List<String> getWailaHead(ItemStack stack, List<String> currentTip, IWailaDataAccessor accessor, IWailaConfigHandler config){
|
2015-04-26 20:07:57 +02:00
|
|
|
return currentTip;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2015-05-20 22:39:43 +02:00
|
|
|
public List<String> getWailaBody(ItemStack stack, List<String> currentTip, IWailaDataAccessor accessor, IWailaConfigHandler config){
|
2015-04-27 17:08:50 +02:00
|
|
|
return currentTip;
|
|
|
|
}
|
2015-04-26 21:09:25 +02:00
|
|
|
|
2015-04-26 20:07:57 +02:00
|
|
|
@Override
|
2015-05-20 22:39:43 +02:00
|
|
|
public List<String> getWailaTail(ItemStack stack, List<String> currentTip, IWailaDataAccessor accessor, IWailaConfigHandler config){
|
2015-04-26 20:07:57 +02:00
|
|
|
return currentTip;
|
|
|
|
}
|
|
|
|
|
2015-04-26 21:09:25 +02:00
|
|
|
@Override
|
2015-06-12 19:12:06 +02:00
|
|
|
public NBTTagCompound getNBTData(EntityPlayerMP player, TileEntity te, NBTTagCompound tag, World world, int x, int y, int z){
|
2015-04-26 20:07:57 +02:00
|
|
|
return tag;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void register(IWailaRegistrar registrar){
|
2015-07-01 21:32:48 +02:00
|
|
|
ModUtil.LOGGER.info("Initializing Waila Plugin...");
|
2015-04-26 20:07:57 +02:00
|
|
|
}
|
2015-06-18 13:14:57 +02:00
|
|
|
}
|