Jump to content

azathoth22

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

azathoth22's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I would like your oppinion on this. I need to add two jar files to the mod classpath. Basically they come from the Reflections library http://code.google.com/p/reflections/ The need comes from me wanting to register blocks, items, entities,fluids, etc automatically using annotations in the following manner : To define my blocks like this @ObjectInfo(name="Sculpted Stone", unlocalizedName="sculpted.block") @BlockInfo(textureName="sculpted", creativeTab=CreativeTabs.tabBlock, material=Material.stone) public class SculptedBlock extends BlockContainer { public function addRecipes(List<IRecipe> recipes) { } ... And then all the blocks, items, entities, fluids, etc contained within the mod package hierarchy get registered properly into the gameregistry. The part of the code that does this is all implemented and working, however i'm running into the problem of distributing my mod, and it needs to include two other jars. So the question is really, "What is the nicest way to do that ?" I can always check for the classes and if they are not present, download and inject them into the mods folder. Is this a nice thing to do ? I'm open for suggestions
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.