What's up guys =D So, since yesterday (01/07/2013) i started the development of an API of infinite sprites index using ModLoader. For who don't now, the ModLoader itself (whithout any other mods/api's) have a texture limit that can be used, after that it isn't possible to create any new items/blocks with custom sprite.
This is API have the goal of extend the max number of avaliable textures. Note:It still limited by the array bound of the itemList(32000), but i think it won't generate any issue.
It's very simple to use, after i'll make a video explaining how it works(in portuguese_BR), by now we have a basic written tutorial.
Like forge, you can use a method to select another texture with 256 pixels. For that we use the .setTextureLocation("/imagefolder/imagefile.png") method and then you should use the minecraft native method .setIconIndex(textureNumber) (Starting from left to right) to select the correct texture. And remember, the index number starts from 0
here is an example:
public static Item example = new Item(150).setTextureLocation("/resources/example.png").setIconIndex(2).setItemName("example").setCreativeTab(CreativeTabs.tabMisc);
So, this item will have the image in the third square of the texture example.png in the folder resources (which is inside of minecraft.jar).
And a image exemple:
You can use many textures of 256x256px as you want with the .setTextureLocation() method, but it must be 256x256.
It's easy to install, you just have to put all the files inside minecraft.jar and decompile as usual. And to send your mod, you must send this API too or it will not work !
Any problem post here or here. (it is a brazillian forum, but we will answer you even if ur american, english, autralian...)
Team:
Leow_pinheiro: Programmer, owner.
Mouder: Programmer, searcher of the Minecraft Documentation, class reference and tester.
Expllosao: Programmer, translator(Sorry for my poor english :x)
Resources: Here is the 256x256px image to use as a base
Note: By now the API is just avaliable for item textures, but on version 1.0 we are going to add the block texture function.
Because forge has lots of features that i don't even think of using it, i prefer a more "selective" API that don't throw away performance and simplicity.
Because forge has lots of features that i don't even think of using it, i prefer a more "selective" API that don't throw away performance and simplicity.
Forge indeed has a lot of amazing features. So what? It doesn't throw away performance at all. For me, it makes the game run smoother than vanilla, AND it is simple to use.
This is API have the goal of extend the max number of avaliable textures. Note:It still limited by the array bound of the itemList(32000), but i think it won't generate any issue.
It's very simple to use, after i'll make a video explaining how it works(in portuguese_BR), by now we have a basic written tutorial.
Like forge, you can use a method to select another texture with 256 pixels. For that we use the .setTextureLocation("/imagefolder/imagefile.png") method and then you should use the minecraft native method .setIconIndex(textureNumber) (Starting from left to right) to select the correct texture. And remember, the index number starts from 0
here is an example:
So, this item will have the image in the third square of the texture example.png in the folder resources (which is inside of minecraft.jar).
And a image exemple:
You can use many textures of 256x256px as you want with the .setTextureLocation() method, but it must be 256x256.
It's easy to install, you just have to put all the files inside minecraft.jar and decompile as usual. And to send your mod, you must send this API too or it will not work !
Any problem post here or here. (it is a brazillian forum, but we will answer you even if ur american, english, autralian...)
Download
You can make a API for the hooks? This it's epic.
Woah woah!
but there are lots of people that don't like to use forge, this API is for ModLoaders users such as me.
i'll see what i can do =D
Then, explain to me *WHY* you don't like Forge.
Because forge has lots of features that i don't even think of using it, i prefer a more "selective" API that don't throw away performance and simplicity.
Forge indeed has a lot of amazing features. So what? It doesn't throw away performance at all. For me, it makes the game run smoother than vanilla, AND it is simple to use.
How can an API that optimizes Minecraft slow you down?