Posted January 26, 201510 yr Ok so I have a tile entity and everything but I was wondering how I can use the rf api
January 26, 201510 yr Take a look at this code, add it to your project, and implement whichever interface you need (depending on what you want to do with RF. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
January 26, 201510 yr Well, add it to your project. Then, take a look at the various interfaces and figure out which one applies to what you want to use RF for. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
January 26, 201510 yr Ive never used this api so I really dont understand how to use it It's quite simple to use, all you need to do apart from adding the files to you project is implement or extend the provided interfaces and classes on your own tile entities. If implemented correctly any mod that uses this API will work with yours For example, if you implement the "IEnergProvider" the tile entity should be a provider of energy and other tile entities will use it to receive energy from it. Now the actual implementation is in your hands, RFApi only gives you the basic interfaces. P.S. Make sure that the files beginning with "I" are never altered as they are the interfaces between mods, changing them will break compatibility I require Java, both the coffee and the code
January 27, 201510 yr Take a look at EnergyStorage, add field which is an instance of EnergyStorage to your TileEntity. But don't forget to have it read and write to NBT when your TileEntity does. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.