Everything posted by coolboy4531
-
[1.7.2] Simple Question: How to make a crafting Recipe for Self Made Items?
You need to get the instance of your item.
-
GitHub
This isn't about Forge, I don't think. Why not trying using the GitHub tutorials?
-
[1.7.2/1.6.4] How to change Minecraft main menu?
There is another post going on about the exact same question. If you don't want to bother looking at it - you should use GuiOpenEvent. Check if the event's GUI is an instance of GuiMainMenu, cancel it - and override it with your own version of the main-menu.
-
[1.6.4] Edit MainMenu
e.gui is null. You need to check if (e.gui) is an instance of (the gui you want)
-
[1.7.2] [~Solved] How to set 'damageDrop' (with chance) depending on 'itemDrop'?
Have you ever wondered (on the top of the class) that there are fields?
-
Furnace only faces one direction
Lel. Dat exaggeration. Here's one: http://www.minecraftforge.net/forum/index.php?topic=17688.0
-
Furnace only faces one direction
If you search on Google, you will see that this question has been asked 9000+ times on the Forge (Modder Support) forums already.
-
EntityThrowable damage
Try looking at EntitySnowball, on how it does damage to mobs (especially to Blazes)
-
Why can't i smelt my own Ore ?
ffdsaklfj. How do you not understand what he's trying to tell you to do? You are suppose to "register" your items BEFORE you call your addSmelting() method, or the game will not recognize the items because they are even created yet!
-
[1.7.2] When I debug this is whta happens
You've accidentally added some breakpoints to Eclipse. Try removing them. How to remove (disable) ALL breakpoints from Eclipse: Look for Run. Click on: > Remove all Breakpoints --- You can also press Skip all Breakpoints --- How to remove SOME breakpoints from Eclipse: Look for Window. Hover over Show View. Click on Other... Open the Folder named "Debug" Click on Breakpoints. Uncheck the breakpoints OR right-click and delete them.
-
Modifying Smelting
By coremod, he most likely means to use ASM. If you are unfamiliar to ASM, I suggest you not to try it. More Info: http://asm.ow2.org/
-
[1.6.4] Edit MainMenu
Try using GuiOpenEvent and cancel the gui for the main menu (GuiMainMenu), override it with your own main menu gui.
-
Issue with Textures and Block Names
Can we see the log when Forge (Minecraft) runs? Then we can see what error springs up when it tries to load your texture.
-
[1.7.2] why is there no tnt if i die?
@Recipes I replied to it in another post, wasn't sure if it was yours, or someone elses but you'll find it on the Modder Support Forum (this forum)
-
Hide mob name ...
Hmm. We need to see your code since we don't know what is really happening.
-
[1.7.2] remove a crafting recept
No no no. Don't do that. You can get the list of the recipes, and remove them. First what you need to do is get the list of <IRecipe> which is CraftingManager's instance of .getRecipeList(). Do a loop, for the size of the recipe list, and get the recipe during each loop. Do an (if) statement to check if its an instance of ShapedRecipes/ShapelessRecipes. Check if the itemstack is the same as the recipe's output, and if they are, remove them.
-
[1.7.2] Advanced Potion Effects?
You could save a data value (seperately) in LivingUpdateEvent, then if the data value is correct you can use the overlay event.
-
[1.7.2] Teleporting Player Like Enderman
You could use that code or... player.setPositionAndUpdate(//fields) You can get a random value (Random.class), and place it in the fields for teleportation like an enderman.
-
[1.7.2]Avoid destroying blocks using own sword
What do you mean by calling it? You can put that in your main class and use that Enum for registration.
-
i don't understand this achivement tutorial rightly!
You are suppose to use: BlockEvent.BreakEvent First of all, learn basic Java - first. "event" is the event not the block/thing you are breaking. You need to get the [block] you are breaking, and add an achievement if its breaks.
-
i don't understand this achivement tutorial rightly!
event.toString().contains("CopperOre") You're kidding right.
-
[1.7.2]Avoid destroying blocks using own sword
You can extend ItemSword, even if you want to use your own enum. Forge has there own ToolMaterial Enum handler for tools. Example: static ToolMaterial NAME = EnumHelper.addToolMaterial("NAME", int par1, int par2, float par3, float par4, int par5); par1- Harvest Level par2- Max Uses par3- Efficiency on Proper Material par4- Damage VS Entity par5- Enchantability
-
[1.7.2-10.12.1.1061] Crash when placing specific item in a crafting table GUI
Why do you register your items like that? ...
-
always crashes at mojang screen please help
Caused by: java.lang.IllegalArgumentException: Duplicate enchantment id! at net.minecraft.enchantment.Enchantment.<init>(Enchantment.java:113) at mods.XW.tools.EnchantmentweaponForge.<init>(EnchantmentweaponForge.java:12) at mods.XW.tools.XWTools.<clinit>(XWTools.java:56) That is the error. One of your mods or (a mod) has compatibility issues with enchantment ids. It's happening wiht the XWTools mod.
-
[1.7.2-10.12.1.1061] Crash when placing specific item in a crafting table GUI
Give us the class for the Item that causes the crash.
IPS spam blocked by CleanTalk.