
DarkNinja2462
Forge Modder-
Posts
56 -
Joined
-
Last visited
Everything posted by DarkNinja2462
-
I got dis for you. I found it in the WritableBook and EditableBook classes This is what i had: ItemStack tomeStack = new ItemStack(Item.writableBook); NBTTagList bookPages = new NBTTagList("pages"); bookPages.appendTag(new NBTTagString("1", "Insert text here.")); bookPages.appendTag(new NBTTagString("2", "Insert moar text here.")); tomeStack.setTagInfo("pages", bookPages); tomeStack.setTagInfo("author", new NBTTagString("author", "Author name here")); tomeStack.setTagInfo("title", new NBTTagString("title", "Title here")); tomeStack.itemID = Item.writtenBook.itemID;
-
Okay, I got the Enchantment, but I cannot apply it to the special ItemBlock (a new class I made) but I can apply the enchantment on the book to anything in the anvil in survival mode.
-
I would like to make an enchantment. I know that I have to extend the class "Enchantment". I want to enchant an ItemBlock of a specific type. And then make it place a different block if it is enchanted with a certain level and enchantment. My main obstacle is making the enchantment.
-
I want to change if an enderman attacks you if you are wearing a different item aside from a pumpkin and i want to remove the enderman-blocking functionality on the enderman. Unfortunately, this is directly in the enderman code. This will be hard/impossible :'(
-
Don't server-side mods remove recipes from in-game stuff? Isn't there a more efficient and less cpu-heavy way?
-
I tried to remove a vanilla recipe by deleting it from the list. It is the recipe for making pumpkin seeds. ShapedRecipes noRecipe1 = this.getShapedRecipesFromRecipe(new ItemStack(Item.pumpkinSeeds, 4), new Object[] {"M", 'M', Block.pumpkin}); CraftingManager.getInstance().getRecipeList().remove(noRecipe1); FYI: getShapedRecipesFromRecipe is a method I made that mimics the CraftingManager.addRecipe except it doesn't add the recipe to the list. Please tell me what I am doing wrong.
-
Fine. How would I add a new generation while deleting the old one to the BiomeDecoration. P.S. Can you show me a way to remove recipes from vanilla?
-
I need to change a block that is generated in WorldGenPumpkin but I do not want to re-invent the block pumpkin
-
There is this method i want to change in a base class. Can I do something like BaseClass.Method = MyClass.NewMethod
-
Okay...... I just need to change what block spawns in the world. Like, if i change the block type that generates in pumpkin patches so it becomes stone patches .
-
Okay, that works. But is the number in [] the block id and can I use Block.blocklist[164] = new BlockDerp(164) instead of making a new block or will it crash?
-
I want to edit the BlockStem or at least change pumpkinStem in Block. Like: Block.pumpkinStem = new NewBlockStem....... When I tried it. i cannot because it has the final modifier. I do not want to edit the Block class.
-
I need to edit a file. More specifically, change a method in a vanilla file. Could I set the method like I would do with any object or do I directly have to edit the file? I also want to change a block into a new class but it is listed as final. If I do any of this, would there be a need of a certain change in the way my mod is distributed or something?
-
I have the main code, with an item that changes a block (like a hoe) How would one spawn an item on the ground. Like if I use a hoe on dirt, it will spawn a block of dirt on the ground. I also want it to fountain out of the top of the block (like 4 different items fly out the top)
-
Wait, do i need to install it into minecraft_server.jar too? Like thaumcraft3, i need extrabiomes, forge, and forestry, or just thaumcraft 3 and forge into the minecraft.jar and minecraft_server.jar? EDIT: I tried it, added forge and thaumcraft3 into minecraft.jar and minecraft_server.jar. Removed extrabiomes and forestry folders from both. Got this ...............normal stuff............... > Creating Retroguard config files !! Missing client jar file. Aborting !! ! Modified jar detected. Unpredictable results !! Decompiling server using fernflower > Creating SRGs > Applying Retroguard “C:\Progran Piles\Java\jdkl.7.0_01\bin\java” —cp ‘runtime\bin\retroguard.jar;lib;lib\*;jars\minecraf…' failed : 1 == ERRORS FOUND == Unrecoverable error during obfuscation, see log file for details. RetroGuard error: COM.rl.obf.classfile.ClassPileException: ClassNotFound ats Deconpile failed Press any key to continue . . .
-
classnotfound when i tried
-
listen, the beardedoctonemesis thing sounds too complex at command line. The MCP way probably changed cuz u did it in 1.2.5. Please provide a user-friendly way, and an up-to-date way. Look at my first post.
-
I already searched this on Google, and i got results that don't work and are either: too old, not forge, too vague, or senseless. I want to do this wit MCP. I don't know of anything else. I just want to make a mod that uses another mod's api, but i don't know how to use certain things. I have the api source, but not the mod itself. I am getting really frustrated with Google so HELP ME!!!!! :'(
-
How to get the buckets back when crafting?
DarkNinja2462 replied to Wanghh's topic in General Discussion
If that is not the answer you are looking form then in your item declaration do Item derp = new Item(number).setItemName("derp").setContainerItem(derpyContainerItem); P.S. It's the setContainerItem -
[1.4.2]Creating Dimension Need Help.
DarkNinja2462 replied to McMissmag's topic in General Discussion
Yea... I need help too so um... bump? P.S. I just need my dimension to be empty, except for a small house in the middle of nowhere and a portal to take me back -
There should be a hook to disable a crafting recipe, and this can also be only server-side. Like on a server that thinks making computercraft computers are too OP. Or this could be a mod that reinvents a new recipe.
-
[Idea] Central location for in-game editing of mod options.
DarkNinja2462 replied to alexanderpas's topic in Suggestions
I have seen this once before, but on Mo' Creatures (I think), but this idea seems better . It should be like config.save and .load for the api. Maybe they should also add more subcategories like Options > [My Mod] > [Option category] > [Option Button], and we would use code like config.addSubCategory and config.addOption. Each option should also be its own object like Option derp = new Option(id); -
Can you make an event called by a food being eaten that returns: food item, how much hunger filled, hunger before eating
-
I am running multi mc with no optifine and i get this