• 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987
    The recipe i was using was shapeless correct, it was using grass and seeds to make a grass block :)

    I've found the bug, it was a silly mistake, basically I typoed the name of a variable and it changed it to the wrong variable which was causing the issue, I'll update with a bugfix in a few minutes, I'll also try to fix the server syncing bug I have in the known bugs section of the main post as it shouldnt be hard to fix.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987

    Hey, been playing with the latest update and found an issue :) not angry or anything don't worry i am also not saying you're bad because you are far from that!

    But i found a bug, it seems to be when using a recipe you made with op on world on a non OP survival world, here's the situation it happened in...

    I went onto a creative world to make some recipes to try and made them and tested them all on the created OP world but then when i went into the survival world and tried to use one of them it crashed my game and gave me this Crash Report (bellow) then i logged back into minecraft and tried to use them in the creative OP world again and they had all seemed to be either removed or disabled (or just not working)

    Time: 20/07/14 23:46
    Description: Updating screen events

    java.lang.NullPointerException: Updating screen events
    at net.minecraft.item.crafting.ShapelessRecipes.func_77569_a(SourceFile:36)
    at net.minecraft.item.crafting.CraftingManager.func_82787_a(CraftingManager.java:323)
    at net.minecraft.inventory.ContainerWorkbench.func_75130_a(SourceFile:53)
    at net.minecraft.inventory.InventoryCrafting.func_70299_a(SourceFile:81)
    at net.minecraft.inventory.Slot.func_75215_d(Slot.java:77)
    at net.minecraft.inventory.Container.func_75144_a(SourceFile:157)
    at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:419)
    at codechicken.nei.guihook.GuiContainerManager.handleSlotClick(GuiContainerManager.java:534)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:636)
    at net.minecraft.client.gui.inventory.GuiContainer.public_func_146984_a(GuiContainer.java)
    at codechicken.nei.guihook.DefaultSlotClickHandler.callHandleMouseClick(DefaultSlotClickHandler.java)
    at codechicken.nei.guihook.DefaultSlotClickHandler.handleSlotClick(DefaultSlotClickHandler.java:17)
    at codechicken.nei.guihook.GuiContainerManager.handleMouseClick(GuiContainerManager.java:464)
    at net.minecraft.client.gui.inventory.GuiContainer.managerHandleMouseClick(GuiContainer.java)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java:588)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Stacktrace:
    at net.minecraft.item.crafting.ShapelessRecipes.func_77569_a(SourceFile:36)
    at net.minecraft.item.crafting.CraftingManager.func_82787_a(CraftingManager.java:323)
    at net.minecraft.inventory.ContainerWorkbench.func_75130_a(SourceFile:53)
    at net.minecraft.inventory.InventoryCrafting.func_70299_a(SourceFile:81)
    at net.minecraft.inventory.Slot.func_75215_d(Slot.java:77)
    at net.minecraft.inventory.Container.func_75144_a(SourceFile:157)
    at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:419)
    at codechicken.nei.guihook.GuiContainerManager.handleSlotClick(GuiContainerManager.java:534)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:636)
    at net.minecraft.client.gui.inventory.GuiContainer.public_func_146984_a(GuiContainer.java)
    at codechicken.nei.guihook.DefaultSlotClickHandler.callHandleMouseClick(DefaultSlotClickHandler.java)
    at codechicken.nei.guihook.DefaultSlotClickHandler.handleSlotClick(DefaultSlotClickHandler.java:17)
    at codechicken.nei.guihook.GuiContainerManager.handleMouseClick(GuiContainerManager.java:464)
    at net.minecraft.client.gui.inventory.GuiContainer.managerHandleMouseClick(GuiContainer.java)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146286_b(GuiContainer.java:588)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:306)
    at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)

    -- Affected screen --
    Details:
    Screen name: net.minecraft.client.gui.inventory.GuiCrafting



    Again, i'm not trying to in anyway provide a negative impact on your Mod i am simple trying to help you in getting it all perfect :)

    Hope that crash report helps in anyway :)

    I'll take a look into it and try to repeat the bug, could you tell me the exact recipe you were using? It seems to be a shapeless recipe, correct? Also is this the 1.7.2 or 1.7.10 version?

    EDIT: I see where the error is occurring but it's a very strange error, I'll look into it!
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987

    My browser didn't seem to want to see the new version of the post, but now it's there.

    I'm testing the new version now and it seems to be awesome! Great job.

    I would like to suggest one thing, that's if you're not already working on it but a way to remove the recipes because i cant find the file that contains them to remove the recipe i mad to test (which uses dirt to make diamonds)

    That is already in the works, but if you want to reset your file, it's located in the same place as the old XML file was, in your .minecraft folder, in a folder called Personalized Recipies, and the file is recipes.dat, It's saved with minecraft NBT file format so if you use a program like NBTExplorer: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1262665-nbtexplorer-nbt-editor-for-windows-and-mac you can actually go in and remove the recipe manually, it will likely be called 0 if it was the only recipe you added, but I'd recommend not messing with the file unless you know what youre doing as it can be very fiddly. I'd recommend just deleting it.

    Quote from asilyad
    Take your time, I'm in no hurry. Minecraft is the only game I've found where I can turn off the monsters and CREATE cool things instead of blow them up. Yeah, yeah, I'm a weird little rebel. Have fun.


    I'll probably have another update released either tonight or tomorrow night, it will be mostly a bug fix though. Maybe I'll get around to removing recipes though, that'd be nice.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987

    There's an updated version in the main post? i cant seem to find it...

    It's definitely there I promise :P I rewrote the entire first post about 30 minutes ago, the new update is version 0.2.132 and it's in the downloads section as well as a bunch of new relevant information on how the mod works now, the video should also be done uploading shortly. i'm not much of a youtuber so I apologize if it's really bad haha.

    EDIT: The video is now in the main post.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    UPDATE: The main post has been updated with the new version, the video on how to use the mod is processing currently, but I will add it to the description as soon as it's ready. Until then there is a text description on how to use the mod.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987

    To write the code is simple when you understand :) it's just plain English eg, here's an example for smelting rottenflesh into potatoes cus' why not

    The item you want to be given it's as simple as: "outputitem="minecraft:potato"

    and the item to input is "itemstack item="minecraft_rotten_flesh" Then all you have to do is add the XML code into i so the mod recocnises that it is a recipe and you're done so...





    and you just place that between the: and

    That's correct, but it's also important to note that you also need to tell it what kind of output you want to make so instead of just "outputitem="minecraft:potato" it would be "smelting outputItem="minecraft:potato"" and smelting can be replaced with shaped or shapeless as well, (furnace also works but is the same as smelting). But you don't really need to worry anymore because I think Ive got the new version that doesnt use XML ready now! :D I'm going to release it as a beta for testing, there may still be some game breaking bugs left in it, so you'll need to use it at your own risk. I'll update the main post with links within 30 minutes, just putting the final touches on now.

    EDIT: So I sort of jumped the gun a little bit I got so excited that I got the shaped recipes done, that I forgot I still needed to finish the shapeless recipes and furnace recipes xD. That said it shouldn't take too long and I'll have it out today along with a tutorial on how to use the mod.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987
    Isn't that park of what the "shaped" recipes are? they are shaped so you can only make them in one specific way, or do you want it so if there is only one item then it converts it so shapeless?

    Well yes and no, the main issue with it is that the shaped recipes wont work in your 2x2 crafting grid in your inventory. because it HAS to be exactly like the recipe you put in AKA it must be done in a crafting bench. Which is not how it is supposed to work. I could have it so there is a 2x2 and 3x3 shaped recipe, but i dont like doing things that way.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quick update: I've got the new version working with the commands and saving the recipes and loading them back up, but it isn't ready for release just yet, currently it won't work on multiplayer which is what I need to work on tomorrow, I spent about 5 hours trying to fix a bug where the shaped recipes will only work exactly the way you create them (this bug is present in the original version as well) and was unable to solve it, for example if you make this recipe:

    :: :: ::
    :: :tnt: :: = :goldore:

    :: :: ::



    you cant put this in:



    :: :tnt: ::

    :: :: ::

    :: :: ::

    I'll try to get it fixed after I work on syncing the recipes on multiplayer tomorrow, but no promises.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Well I should hopefully have the new version out today, it's been a lot more troublesome than I thought, and some of the shaped recipes dont work, but Im working on it!
    Posted in: Minecraft Mods
  • 1

    posted a message on Personalized Recipes Mod
    Quote from Bobdan987

    could you take a look at the my custom recipe's because i can only get the smelting to work, i have looked through and it seems to be fine but still nothing works.

    Here are my custom recipe's
    take in mind that my file does in fact have indentations when needed and are all correct so ignore there not being any here :)
    <recipes>
    <smelting outputItem="minecraft:leather">
    <itemstack item="minecraft:rotten_flesh">
    </smelting>

    <shaped outputItem="minecraft:potato" outputCount="1">
    <itemstack item="minecraft:water_bucket" position="4"/>
    <itemstack item="minecraft:apple" position="1"/>
    </shaped>

    <shaped outputItem="minecraft:carrot" outputCount="1">
    <itemstack item="minecraft:water_bucket" position="4"/>
    <itemstack item="minecraft:wheat" position="1"/>
    </shaped>

    <shaped outputItem="minecraft:flint" outputCount="1">
    <itemstack item="minecraft:gravel" position="4"/>
    </shaped>
    </recipes>


    I can see the error, and I believe it's a error I made in the XML's comments I remember seeing it before and thinking "Oops"



    <smelting outputItem="minecraft:leather">
    <itemstack item="minecraft:rotten_flesh">
    </smelting>

    is what you have, you itemstack line is where the issue starts:

    <smelting outputItem="minecraft:leather">
    <itemstack item="minecraft:rotten_flesh"/>
    </smelting>

    notice the / on the end of the itemstack.

    Also as a side note I'd recommend using shapeless recipes instead of shaped for your recipes. It just makes it easier :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Yes it is, you just put outputCount="5" in your recipe XML, so to followup your example you would do.

    <smelting outputItem="minecraft:iron_ingot" outputCount="5">

    <itemstack item="minecraft:diamond"/>
    </smelting>
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Im glad to hear that :D, I wanted to have the new version ready tonight, but it doesn't look like its going to happen, the codes really been kicking my butt, but I know how to fix it and I should be able to get it done tomorrow.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from JaviertINC
    Great, but you have to post screenshots and a tutorial. ;)

    Haha yeah I will, it will be really simple this time though, I promise!
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    I'm doing a fairly major rework of the system currently, I should have an update in a day or two ready, but be warned because all your old recipes will likely no longer work, but don't worry it will be easy to add new ones, no more messing around with XML files, it will all be done ingame.
    Posted in: Minecraft Mods
  • 0

    posted a message on Personalized Recipes Mod
    Quote from JaviertINC
    ok, I know how to make a recipe ... I spent all night thinking ... but do not know how to do this. You can leave the code crafting. I do not speak English. I use the google translator. me why it's hard to understand this mod.

    Ah alright, I'm actually going to add in a command and an interface ingame so you can create the recipes ingame, if you would like to tell me what language you speak I can try and find a translator for when I get the command done, but in the mean time the recipe you're looking for is either:


    <shaped outputItem="minecraft:stonebrick" outputMeta="3">
    <itemstack item="minecraft:stone_slab" position="4"/>
    <itemstack item="minecraft:stone_slab" position="7"/>
    </shaped>

    <shapeless outputItem="minecraft:stonebrick" outputMeta="3">

    <itemstack item="minecraft:stone_slab" metadata="5"/>
    <itemstack item="minecraft:stone_slab" metadata="5"/>

    </shapeless>

    I hope this helps.
    Posted in: Minecraft Mods
  • To post a comment, please .