Jump to content

RANKSHANK

Members
  • Posts

    305
  • Joined

  • Last visited

Everything posted by RANKSHANK

  1. You're going to want to keep the crafting manager's list 'safe' since the code is run both on integrated and client threads, that is to say say to prevent dual thread access errors you'll need List<IRecipe> l = new ArrayList<IRecipe>(); l.addAll(CraftingManager.instance.getRecipeList()); then iterate the list l to find recipes which have outcomes matching Item.brewingStand Then use CraftingManager.instance.getRecipeList().remove(recipe/*the recipe you grabbed through itsra */);
  2. RANKSHANK

    Gui

    No that's stackTagCompound, same thing is done in container entities. And changing metadata is extremely simple. Look at writable book for opening a GUI and then run a raytrace to grab the block and increment/decrement the metadata as needed.
  3. Looks like you've either excluded the paulscode soundsystem from your lib path or deleted it. Also its safer letting forge install itself in a clean directoey, since it sets up MCP for you...
  4. Guys we're dealing with strings.... public static final String blood_O = "aqtik"; public static final String blood_Opos = "rhnsb"; /**pass the first char of username*/ public void handleBlood(char c){ if(blood_O.contains(c)) //dostuff; else if(blood_Opos.contains(c)) //dostuff; } Fast and legible
  5. Perhaps try using the forums search bar or an obscure site named Google... seriously topic has been beaten half to death all over the web.
  6. Or you could just go with the whole vanilla onUpdate() thing since it gives you the entity there anyways
  7. Make sure you have glEnable(GL_LIGHTING); in your rendering filles if you are disabling lighting. (pretty sure that's all it is) Nice looking stuff by the way
  8. Vec3 Pool Size: ~~ERROR~~ NullPointer :-XException: null cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: psntacticz.mod.mootools.common.moblocks I'd need to look at the class but it seems like you've got a missing import, or are referencing a class on the wrong side(client v server)
  9. Just out of curiosity, why wouldn't you grab an accessible instance of CraftingManager.instance and replace it with your modified crafting manager with some reflection?
×
×
  • Create New...

Important Information

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