Small little question, do you happen to know where the Minecraft stores it's key bindings? I'm trying to get what key is used in the binding for the inventory.
Nah, I'll just stick with a TickHandler. I think I'll need it later in a little bit.
And what do you mean by my TickHandler is not returning null in "public EnumSet<TickType> ticks()"?
I just made a TickHandler and registered it. Not sure if detecting a key press is supposed to be placed inside a TickHandler, hopefully it's the right way.
My TickHandler:
My problem is that it never prints anything.
I have this in my error log
2013-07-25 11:52:27 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: deathman12e3:textures/items/item.woodPaxel.png
Here's a little folder tree
src
>minecraft
>>deathman12e3
>>>textures
>>>>items
>>>>>woodPaxel.png
Would this work too?
@Override
public void registerIcons(IconRegister reg)
{
this.itemIcon = reg.registerIcon("deathman12e3." + this.getUnlocalizedName() + ".png");
}
I put this into my preInit
try
{
Class c = Class.forName("com.deathman12e3.paxels.DefaultPaxels.class");
}
catch(Exception e)
{
PaxelData.defaultPaxels = false;
}
And this into my init
if(PaxelData.defaultPaxels == true)
{
System.out.println("HIIIIIIIIIIIIIIIIII");
}
I'm trying to have my mod check for files. So far it prints nothing (the init() method in DefaultPaxels prints HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)
Placed this into my init:
File defaultPaxels = new File("com.deathman12e3.paxels.DefaultPaxels");
if(defaultPaxels.exists())
{
DefaultPaxels.init();
}
Here's a file tree:
src
>com
>>deathman12e3
>>>mod_LegendaryPaxels
>>>ClientProxy
>>>CommonProxy
>>paxels
>>>DefaultPaxels