• 0

    posted a message on Block code Problem!!!
    From what I see I would attempt the following. Give the SlimeBlock a higher ID, because I believe that ID is already occupied by a vanilla item.
    Also try and change:
    public static Final Block SlimeBlock = new BlockSam(97,0).setHardness(0,1F).setResistance(1,0F).setBlockName("slime").setLightValue(1F);


    to

    public static Final Block SlimeBlock = new BlockSam(97,0).setHardness(0.1F).setResistance(1.0F).setLightValue(1F).setBlockName("SlimeBlock");


    Now I've made 4 alterations, I switched setLightValue and setBlockName around, I also changed the setBlockName value to "SlimeBlock" instead of slime. But I also noticed that for setHardness and setResistance you used a comma to separate the two numbers (0,1F) (1,0F) instead of a period.

    If I had to guess the fact you used a comma instead of a period in those two settings is what is causing the errors.
    Posted in: Modification Development
  • 0

    posted a message on WHYS THIS NOT WORKING
    Well I tested the code, the only thing I had to change was the ID number, try a high number like 250 because I believe the ID you used is already taken by a vanilla item.

    Also make sure you have the image inside your minecraft.jar or when you run the client it will crash.
    Posted in: Modification Development
  • 0

    posted a message on Creating a new WorkBench
    Quote from thehelpfulbees

    I think that he means "how do you design a mod involving a custom workbench"


    That is correct sir.
    Posted in: Mods Discussion
  • 0

    posted a message on Creating a new WorkBench
    Quote from Wirsbo

    So you mean with a custom GUI too? I could belp you with the block, but not the GUI sorry


    Yes sir, really I just need 2 slots for the GUI but I do appreciate you trying to help none the less. I pretty much need everything to be custom seeing as it only serves one function.
    Posted in: Mods Discussion
  • 0

    posted a message on Creating a new WorkBench
    Quote from Wirsbo

    package net.minecraft.src;
    
    import java.util.Random;
    
    public class BlockWorkbenchNamehere extends BlockWorkbench
    {
    
        public BlockWorkbenchNamehere(int i, int j)
        {
            super(i, j);
        }
    
    }

    maybe`?


    I think that the workbench requires more files then just a Block file, though I appreciate your effort. I also appreciate you read the whole post and realized I wasn't asking how to create a workbench in game. I've reworded the OP so hopefully people don't keep assuming that.

    I guess I'll just poke around the minecraft source and see what I can do until someone can help me out.
    Posted in: Mods Discussion
  • 0

    posted a message on Creating a new WorkBench
    I think you guys misunderstood, I'm talking about modding. I guess it's my fault for not being specific. I want to know how to create a custom work bench via ModLoader.
    Posted in: Mods Discussion
  • 0

    posted a message on Creating a new WorkBench
    So for the past couple of hours I've been cruising around various sites trying to find a tutorial on creating a custom workbench via ModLoader. So far I've had no luck but while doing so I've seen people say to just create a custom furnace instead.

    So my question is does anyone have a link to a tutorial for creating a custom Workbench? Or is my only alternative to create a custom Furnace and convert it to a custom Workbench? I'm hesitant to do so because the purpose for my workbench does not require fuel and I don't want this to cause problems.

    I'm not asking how to create a workbench/furnace in-game, I know how to do that and that doesn't have anything to do with what I'm asking

    Thanks for your help ahead of time.
    Posted in: Mods Discussion
  • 0

    posted a message on [1.8.1] SomeTurtle's Mods [ModLoader]
    Quote from DwarfishMiner

    Possibly add some backpacks?
    Either worn as an item or when holding right click and it opens the holding GUI.

    Backpacks woold be crafted as so:

    :Bacon: :Bacon: :Bacon:
    :Bacon: :chestfront: :Bacon:
    :Bacon: :Bacon: :Bacon:

    Where bacon is leather.

    When upgrading, it would look like this:

    :Bacon: :: :Bacon:
    :Bacon: :chestfront: :Bacon:
    :Iron: :Iron: :Iron:

    Where the chest is previous back-pack, bacon is leather, and iron would be swapped out with gold/diamond to upgrade it further.


    Interesting idea and I'll look into it. I first want to make the custom work bench(or item) that allows for quicker stacking, but I'll defiantly look into it.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] SomeTurtle's Mods [ModLoader]
    Quote from King Dedede

    I am very much a pack-rat in reality, so this should be useful. However, I just have one suggestion, shouldn't Wheat Blocks be called Hay Bails? Just a suggestion of a course.


    EDIT: also, no Cookie Trays? D:


    I think I will call them Hay Bails, it sounds better and is probably more accurate. As stupid as it sounds I didn't wanna assume that wheat equaled hay.

    Also I haven't a clue how I didn't include Cookie Trays, it will defiantly be getting adding thanks for the suggestion.

    On a side note, I was going to add all of the dyes, but I couldn't get them to work properly until then they will be left out.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] SomeTurtle's Mods [ModLoader]
    Quote from BioHazard21

    i prefer to have all that space open so i can just tranfer my items in instead of having to craft them into bundled versions every time i need space. cool mod though.


    I 100% agreed and that's why for the next update I'd like to add a unique crafting table that allows you just to place a stack in one slot and automatically figures out how many bundles it can make out of the stack provided. I just didn't want to do too much at once.
    Posted in: Minecraft Mods
  • 5

    posted a message on [1.8.1] SomeTurtle's Mods [ModLoader]

    Pack Rat Mod v1.1


    Pack Rat Mod is a mod that allows you to compress certain items for even more storage. Items such as string, coal, and redstone can be crafted into a "bundled" version to allow a more compact storage. As well there are also "recycle" recipes that allow you to take certain items (Chests, Damaged Tools/Armors, etc) and recycle them to have uses elsewhere. It also has 4 misc recipes I thought would be nice to have and now PIE!


    Changelog v1.1

    -Added bundle recipes for all dyes in the form of "Bottled <color> Dye" (-Except Blue for Obvious Reasons-).
    -Cookies can now be bundled into "Cookie Trays"
    -Coal Blocks can now be used as fuel, they are equivalent to 9 coals.
    -Wheat Block renamed to "Hay Bail"
    -Slime Blocks are now Semi-Transparent
    -Added Two craftable pies, Cherry and Pumpkin. Pumpkin restores 6 "hunger slots" while Berry restores 4 "hunger slots".
    -Reduced amount of class files from 22 to 6.
    -Reduced amount of ID's used from 23 to 9.
    -Items and Blocks have new ID's:
    ......Coal Block ID now 230
    ......Redstone Block ID now 231
    ......Hay Bail ID now 232
    ......Flint Block ID now 233
    ......Slime Block ID now 234
    ......Most Items are split between ID's 600-601
    ......Pumpkin Pie Slice ID is 602
    ......Berry Pie Slice ID is 603
    Warning:If you used Pack Rat Mod v1 and are upgrading, please unbundle all items in your world. I changed the ID's and changed how items and blocks work, so if you don't this will most likely cause issues.



    Recipes

    //Pack Rat Recipes

    - Pile O' Bones

    - Coal Block

    - Carton of Eggs

    - Bundled Feathers

    - Flint Block

    - Gun Powder Flask

    - Brown Mushroom Basket

    - Red Mushroom Basket

    - Stacked Paper

    - Ender Pearl Necklace

    - Pumpkin Seed Packet

    - Melon Seed Packet

    - Wheat Seed Packet

    - Redstone Block

    - Bundled Reeds

    - Slime Block

    - Bundled Sticks

    - Spool of String

    - Bag of Sugar

    - Wheat Block

    - Cookie Sheet

































    //Recycle Recipes
































    //Berry and Pumpkin Pie Recipes

    - Berries
    - Pumpkin Puree
    - Pie Crust
    - Berry Pie
    - Pumpkin Pie
    - Berry Pie Slices - Restores 4 "hunger slots"

    - Pumpkin Pie Slices - Restores 6 "hunger slots"


    //Misc Recipes






    Install/Uninstall Instructions

    Install
    1.) Make sure you already have ModLoader Installed.
    2.) Locate your Minecraft bins folder; Windows 7 "\AppData\Roaming\.minecraft\bin\".
    3.) Before installing this mod backup minecraft.jar to make for an easier uninstall.
    4.) Extract the file, Pack Rat Mod v1.1.zip, you just downloaded.
    5.) Drag the contents in "/MOD/" onto minecraft.jar.
    6.) Congrats the Mod Should be installed now!

    Uninstall

    If you made a backup of minecraft.jar, delete the minecraft.jar that contains this mod then reinstate the backup of minecraft.jar.

    If not, here is a list of all of the files from this mod for you to delete manually:

    /PackRatMod/ <----Folder
    BlockPRMBundledBlocks.class
    BlockPRMBundledSlime.class
    BlockPRMBundledWheat.class
    ItemPRMBundledItemsA.class
    ItemPRMBundledItemsB.class
    mod_PackRatMod.class


    Things Currently Done for v1.2

    I decided to keep a list of things I've completed for the next version and will add them here as I complete them.

    -Nothing

    Wishlist (The Future)

    There are some things I'd like to personally to accomplish and add to this mod as well as I've already received some nice suggestions. So for my reference and yours, here's a list of what I hope to accomplish with updates.

    -A special crafting table, or an item, that converts stacks of items into their corresponding bundle so you won't have to fill all 9 crafting slots each time to make a bundle.
    -A backpack with upgrades(upgrades contain more storage). (Suggested by DwarfishMiner)
    -A special recycling table that can be used to gain even more recycled materials from an item. I.E. Instead of getting 6 Silver Nuggets from a Rail, you could get 8 Silver Ingots.


    Mystery Block v1


    Mystery Block Mod adds a new block to Minecraft. This block can be found throughout the world and when mined can yield up to 10 valuable items that include; Coal, Iron, Gold, Diamond, Watermelon Seeds, Pumpkin Seeds, and even Golden Apples. It can also be crafted if your feeling lucky!


    Video


    (NOTE: THIS PICTURE IS ONLY A REFRENCE, THEY DO NOT SPAWN LIKE THIS AND ONLY HAVE VEINS UP TO TWO AND ARE QUITE RARE!)

    Recipes


    Install/Uninstall Instructions

    Install
    1.) Make sure you already have ModLoader Installed.
    2.) Locate your Minecraft bins folder; Windows 7 "\AppData\Roaming\.minecraft\bin\".
    3.) Before installing this mod backup minecraft.jar to make for an easier uninstall.
    4.) Extract the file, Mystery Mod v1.zip, you just downloaded.
    5.) Drag the contents in "/MOD/" onto minecraft.jar.
    6.) Congrats the Mod Should be installed now!

    Uninstall

    If you made a backup of minecraft.jar, delete the minecraft.jar that contains this mod then reinstate the backup of minecraft.jar.

    If not, here is a list of all of the files from this mod for you to delete manually:

    /MysteryBlock/ <----Folder
    BlockMysteryBlock.class
    mod_MysteryBlock.class


    *NEW* Creeper Proof v1 *NEW*


    Creeper Proof Mod gives you the ability to make blocks resistant to TNT blasts and Creeper Blasts. You can craft two wands, Wand of Resistance and Wand of Compliance. When you right click on a block with the Wand of Resistance, all blocks of that type become resistant to explosions from TNT and Creepers. When you right click on a block with the Wand of Compliance, the blocks return to their normal resistance.

    Video

    Recipes
    Wand of Resistance

    Wand of Compliance


    Install/Uninstall Instructions

    Install
    1.) Make sure you already have ModLoader Installed.
    2.) Locate your Minecraft bins folder; Windows 7 "\AppData\Roaming\.minecraft\bin\".
    3.) Before installing this mod backup minecraft.jar to make for an easier uninstall.
    4.) Extract the file, Pack Rat Mod v1.1.zip, you just downloaded.
    5.) Drag the contents in "/MOD/" onto minecraft.jar.
    6.) Congrats the Mod Should be installed now!

    (WARNING: I HIGHLY RECOMMEND MAKING A BACKUP OF MINECRAFT.JAR BEFORE INSTALLING!!!!!!!!!!!!)
    (UNINSTALLING WILL MOST LIKELY REQUIRE YOU TO DELETE MINECRAFT.JAR AND FORCE UPDATE OTHERWISE!!!!!)

    Uninstall

    If you made a backup of minecraft.jar, delete the minecraft.jar that contains this mod then reinstate the backup of minecraft.jar.

    If not, here is a list of all of the files from this mod for you to delete manually:

    /CreeperProof/ <----Folder
    ItemWandA.class
    ItemWandB.class
    mod_CreeperProof.class



    I just want everyone to realize that when you use the "Wand of Resistance" on a block, every block of that type will be resistant to TNT and Creepers, not just the block you clicked on. As of right now that is the only way I can get this to work I am looking into making only the blocks you click gain the resistance properties, until then this will have to suffice and that is why I provided the "Wand of Compliance". Also there are only a few blocks unaffected for now, one of them being wool. But most blocks used for building(Bark, Wooden Planks, Cobblestone, Mossy Cobblestone, etc) are all or should be all covered by this mod!




    Downloads
    Pack Rat Mod v1.1
    Pack Rat Mod v1.1 - MediaFire(AdCraft)
    Pack Rat Mod v1.1 - MediaFire
    Mystery Block v1
    Mystery Block v1 - MediaFire(AdCraft)
    Mystery Block v1 - MediaFire
    Creeper Proof v1
    Creeper Proof v1 - MediaFire(AdCraft)
    Creeper Proof v1 - MediaFire

    Please feel free to leave any comments or suggestions, feedback is always appreciated. If you find any bugs or having any problems leave a message and I'll do my best to help.
    Posted in: Minecraft Mods
  • 0

    posted a message on Using Tools in Crafting Recipes
    Quote from SomeTurtle026

    I have a recipe that calls for a Tool as an ingredient, the problem is that if the Tool has been used at all the recipe doesn't work. If it hasn't been used then the recipe works fine. I did some digging and couldn't figure out how to fix this so I was wondering if someone could help.

    Here is the code I have(In which Unused Tools work but Used Tools don't):
    ModLoader.AddShapelessRecipe(new ItemStack(SpecialItem, 3), new Object[]
    { Item.pickaxeSteel, SpecialIngredient });


    Thanks for your help ahead of time.


    Well sorry for another unneeded topic, figured it out.

    If anyone is curious I changed Item.pickaxeSteel to new ItemStack(Item.pickaxeSteel, 1, -1) and it worked.
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    Don't forget to capitalize the "B" in "block.glass", otherwise the recipe won't work. Java is very case sensitive.

    Also if you want the recipe to give you your ItemGlasses item, you have to change itemHenry to ItemGlasses.

                    ModLoader.AddRecipe(new ItemStack(ItemGlasses, 12), new Object[]{
                            "* *", "* *", "***", Character.valueOf('*'), Block.glass
                    });
    Posted in: Modification Development
  • 0

    posted a message on Using Tools in Crafting Recipes
    I have a recipe that calls for a Tool as an ingredient, the problem is that if the Tool has been used at all the recipe doesn't work. If it hasn't been used then the recipe works fine. I did some digging and couldn't figure out how to fix this so I was wondering if someone could help.

    Here is the code I have(In which Unused Tools work but Used Tools don't):
    ModLoader.AddShapelessRecipe(new ItemStack(SpecialItem, 3), new Object[]
    { Item.pickaxeSteel, SpecialIngredient });


    Thanks for your help ahead of time.
    Posted in: Modification Development
  • 0

    posted a message on Help fixing Mod Error Reports
    Just a heads up for my mod I'm using Minecraft 1.8.1, MCP 4.4, and ModLoader 1.8.1.

    When recompiling the files using MCP I get no errors, when testing the client using "startclient.bat" I get this error report.


    Sep 28, 2011 2:53:36 AM net.minecraft.src.ModLoader init
    FINE: ModLoader Beta 1.8.1 Initializing...
    Sep 28, 2011 2:53:36 AM net.minecraft.src.ModLoader readFromClassPath
    FINER: Adding mods from C:\Users\Person.PersonPC\Desktop\packrat\mcp44\bin\minecraft
    Sep 28, 2011 2:53:36 AM net.minecraft.src.ModLoader readFromClassPath
    FINER: Directory found.
    Sep 28, 2011 2:53:36 AM net.minecraft.src.ModLoader addMod
    FINE: Failed to load mod from "mod_PackRatMod.class"
    Sep 28, 2011 2:53:36 AM ModLoader addMod
    FINER: THROW
    java.lang.NullPointerException
    	at net.minecraft.src.ItemBlock.<init>(ItemBlock.java:19)
    	at net.minecraft.src.ItemPRMDyedWood.<init>(ItemPRMDyedWood.java:7)
    	at net.minecraft.src.mod_PackRatMod.<init>(mod_PackRatMod.java:58)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at java.lang.Class.newInstance0(Class.java:355)
    	at java.lang.Class.newInstance(Class.java:308)
    	at net.minecraft.src.ModLoader.addMod(ModLoader.java:224)
    	at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1027)
    	at net.minecraft.src.ModLoader.init(ModLoader.java:692)
    	at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:121)
    	at net.minecraft.src.RenderManager.<init>(RenderManager.java:72)
    	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:168)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:140)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:438)
    	at java.lang.Thread.run(Thread.java:662)
    Sep 28, 2011 2:53:36 AM ModLoader init
    FINER: THROW
    java.lang.NullPointerException
    	at net.minecraft.src.ItemBlock.getItemName(ItemBlock.java:101)
    	at net.minecraft.src.Item.getStatName(Item.java:206)
    	at net.minecraft.src.ModLoader.initStats(ModLoader.java:741)
    	at net.minecraft.src.ModLoader.init(ModLoader.java:708)
    	at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:121)
    	at net.minecraft.src.RenderManager.<init>(RenderManager.java:72)
    	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:168)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:140)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:438)
    	at java.lang.Thread.run(Thread.java:662)




    I've been trying to figure it out myself for the last hour or two with no luck. If you decide to help I really do appreciate it and in the mean time I'll keep trying to figure out the root of the problem.

    Edit: I fixed it, it had something to do with the way I was trying to create Multiple Blocks from one Block ID, I traded it out and treated each block as it's own and got it to work.

    Thanks for taking a look anyways.
    Posted in: Modification Development
  • To post a comment, please .