Welcome to PokeAPI!
This API is a combination and improvement on my other two APIs.
Notes:
If you would like me to add a feature just request it in the replies; I'm not the best at creating APIs but I will do what I can :smile.gif:
Description:
This API is made to make modding easier. For example: Usually you would have to edit classes to make new Tools. But With this API you can do more without editing classes.
This API will let you:
Add ItemStacks to creative, whether it be blocks or items
Make new ToolMaterials Easily
Add Blocks to the mining list of tools(Including Shears!)
Modding Information: If your not a modder, just skip to the download section for players.
ToolMaterials
To make a new ToolMaterial put the following into your mod_* class:
public static EnumToolMaterial MaterialName = PokeAPI.createToolMaterial(Level, Durability, MiningSpeed, Damage);
Please note that:
MaterialName = the name of your Material
Level = An Int that determines what the tool can mine
Durability = An Int that determines the maximum number of times a single Item can be used.
MiningSpeed = A Float that determines the MiningSpeed of tools.
Damage = An Int that determines the amount of damage dealt to entitys such as mobs.
Creative Items
To put an item that isn't availiable in the creative mode inventory into it. Add this to the constructor of your mod_* file:
ExampleBlock = The Reference of your block or item. If the block or item is in another class such as the Item or Block class just say Block.ExampleBlock or Item.ExampleItem.
Tool Mining Lists
For Shears:
PokeAPI.Minables.Shears.add(Block, MiningSpeed);
For Other Tools:
PokeAPI.Minables.Tool.add(Block, MiningLevel);
Please note that:
Block = The block you want to add to the tools mining list, Examples: Block.dirt, Block.stone.
Tool = The Tool You want to use, Examples: Pickaxe, Shovel, Axe, Shears.
MiningSpeed = A float value which is the speed at which shears will mine the specific block.
MiningLevel = An int value which is the level at which the tool must be to mine that block, Examples: 0=All, 1=Stone, 2=Iron, 3=Diamond.
Good job on making an API but I think it would be better if you helped Minecraft Forge since that's kind of the biggest API right now. (If there is anything not in Minecraft Forge that you have.)
Rollback Post to RevisionRollBack
If a post helps you, press that green button in the bottom right. || .
Good job on making an API but I think it would be better if you helped Minecraft Forge since that's kind of the biggest API right now. (If there is anything not in Minecraft Forge that you have.)
I'll give that some thought but the thing is how would I go about contacting them anyway...just PM?
just so you know, all items automatically add to creative mode automatically when you code them and install the mod. its just blocks that don't do it automatically :tongue.gif:
just so you know, all items automatically add to creative mode automatically when you code them and install the mod. its just blocks that don't do it automatically :tongue.gif:
Yes Blocks aren't. Items are.
But!...Multiple items with the same id are also not added to creative.
So this API can add that functionality.
Added The Ability to add blocks to tool mining lists in a way that should be compatible with both forge and shockahpi(If it is not please let me know :smile.gif: )
Welcome to PokeAPI!
This API is a combination and improvement on my other two APIs.
Notes:
Description:
This API is made to make modding easier. For example: Usually you would have to edit classes to make new Tools. But With this API you can do more without editing classes.
This API will let you:
Modding Information:
If your not a modder, just skip to the download section for players.
Please note that:
Please note that:
For Other Tools:
Please note that:
Downloads:
For Players:
[1.8.1]:V1.1: Download
[1.8.1]:V1.0: Download
For Modders:
V1.1: Download Source
V1.0: Download Source
Banner:
Created by: oxysoft
If you want you can add the banner to your signature here's what to put as your signature:
It helps promote the API :wink.gif:
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYay, Thanks :biggrin.gif:
they usually look like this:
Ok Thanks :smile.gif:
I'll give that some thought but the thing is how would I go about contacting them anyway...just PM?
Message SpaceToad or Eloraam or any of the other Forge devs. Preferably one that is online.
Thanks :smile.gif:
Yes Blocks aren't. Items are.
But!...Multiple items with the same id are also not added to creative.
So this API can add that functionality.
I think i'm going to wait first, it might be a better idea to wait until this API has more features before combining with forge. :wink.gif:
It shouldn't do that.
Do you have any more info?
-
View User Profile
-
View Posts
-
Send Message
Curse Premium