• 0

    posted a message on ModLoader + Cake Textures Question
    Anyone?
    Posted in: Modification Development
  • 0

    posted a message on ModLoader + Cake Textures Question
    I'm not quite sure how to add a texture for a custom-class cake. I can render the shape fine, but the texture goes completely bonkers if I use an Override with an image of the three cake parts as in terrain.png.

    customcake.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "xmas/image.png");


    Any ideas?
    Posted in: Modification Development
  • 0

    posted a message on ModLoader Torch?
    Quote from skillinazn

    Make sure you put the index texture first before registering the block. In other words it should look like this:

    myTorch.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "xmas/myTorch.png");
    ModLoader.RegisterBlock(mytorch);



    Ah, thank you! It seems a lot of tutorials are very outdated.
    Quote from skillinazn

    Make sure you put the index texture first before registering the block. In other words it should look like this:

    myTorch.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "xmas/myTorch.png");
    ModLoader.RegisterBlock(mytorch);



    Ah, thank you! It seems a lot of tutorials are very outdated.
    Posted in: Modification Development
  • 0

    posted a message on ModLoader Torch?
    Quote from Xnet

    I might take a look at the coding in morning...


    Never mind, you were right. Forgot there was a cap on Block IDs and not Item IDs. I do have another problem, though:

    myTorch.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "xmas/myTorch.png");


    That successfully changes the texture of the torch while placed, but not in the inventory. Any help?
    Posted in: Modification Development
  • 0

    posted a message on [16x][1.0!] SleekBuild - Sexy 16x16 Minimalist Theme [New Cart and Boat]
    Should work fine with 1.9 Pre 5. Let me know if I am wrong.
    Posted in: Resource Packs
  • 0

    posted a message on ModLoader Torch?
    Quote from Xnet

    I haven't really tried modding torches yet, but it might be something with the item ID, try change the ID, because to high ID's make the game crash sometimes...


    I'm using others in the 3000s and they are working fine :tongue.gif:
    Posted in: Modification Development
  • 0

    posted a message on ModLoader Torch?
    Oct 30, 2011 6:36:39 PM ModLoader init
    FINE: ModLoader Beta 1.8.1 Initializing...
    Oct 30, 2011 6:36:39 PM ModLoader readFromClassPath
    FINER: Adding mods from /Users/john/Library/Application Support/minecraft/bin/minecraft.jar
    Oct 30, 2011 6:36:39 PM ModLoader readFromClassPath
    FINER: Directory found.
    Oct 30, 2011 6:36:39 PM ModLoader addMod
    FINE: Mod Loaded: "mod_TooManyItems 1.8.1 2011-09-27" from mod_TooManyItems.class
    Oct 30, 2011 6:36:39 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,xmas/lollipop.png,38). 117 left.
    Oct 30, 2011 6:36:39 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,xmas/lollipop-red.png,46). 116 left.
    Oct 30, 2011 6:36:39 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,xmas/lollipop-blue.png,102). 115 left.
    Oct 30, 2011 6:36:39 PM ModLoader addOverride
    FINER: addOverride(/gui/items.png,xmas/lollipop-green.png,108). 114 left.
    Oct 30, 2011 6:36:39 PM ModLoader addMod
    FINE: Failed to load mod from "mod_xmas.class"
    Oct 30, 2011 6:36:39 PM ModLoader addMod
    FINER: THROW
    java.lang.ExceptionInInitializerError
    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 ModLoader.addMod(ModLoader.java:275)
    at ModLoader.readFromClassPath(ModLoader.java:1129)
    at ModLoader.init(ModLoader.java:825)
    at ModLoader.AddAllRenderers(ModLoader.java:186)
    at aam.<init>(aam.java:61)
    at aam.<clinit>(aam.java:10)
    at net.minecraft.client.Minecraft.a(SourceFile:259)
    at net.minecraft.client.Minecraft.run(SourceFile:629)
    at java.lang.Thread.run(Thread.java:680)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 3005
    at lr.<init>(SourceFile:265)
    at lr.<init>(SourceFile:287)
    at mg.<init>(SourceFile:11)
    at mod_xmas.<clinit>(mod_xmas.java:46)
    ... 15 more
    Posted in: Modification Development
  • 0

    posted a message on ModLoader Torch?
    I want to create a new torch. It's the same as the regular torch, just with a new texture. Searching told me to do this:

    lollitorch = new BlockTorch(3005, 0).setHardness(0.1F).setResistance(0.1F).setBlockName("lollitorch");


    But it just throws a ModLoader error. Does anyone know how to do this, and set a custom texture?
    Posted in: Modification Development
  • 0

    posted a message on Can't Figure Out ModLoader Recipes
    Quote from meeees

    make sure you're trying it with the stick above the sugar


    Ah wow, that was it! XD
    Posted in: Modification Development
  • 0

    posted a message on Can't Figure Out ModLoader Recipes
    Tried that as well, as so:

    ModLoader.AddRecipe(new ItemStack(lollipop, 1), new Object[]{
    			"X", "Y", Character.valueOf('X'), Item.stick, Character.valueOf('Y'), Item.sugar
    		});


    Worked perfectly fine when it was just a dirt block, but now it's not.
    Posted in: Modification Development
  • 0

    posted a message on Can't Figure Out ModLoader Recipes
    Thanks guys, I've figured that out. I'm still a little confused, though. I want to make a recipe of a piece of sugar above a stick, so I tried this:

    ModLoader.AddRecipe(new ItemStack(lollipop, 1), new Object[]{
    			" X ", " Y ", Character.valueOf('X'), Item.stick, Character.valueOf('Y'), Item.sugar
    		});


    But it doesn't seem to work.
    Posted in: Modification Development
  • 0

    posted a message on Can't Figure Out ModLoader Recipes
    I need some help. I am trying to create a recipe in Modloader, but to no avail.

    public void AddRecipes(CraftingManager craftingmanager)
    	{
    		craftingmanager.addRecipe(new ItemStack(Item.lollipop, 1), new Object[]{
    			" X ", Character.valueOf('X'), Block.dirt
    		});
    	}


    It doesn't seem to yield anything when I put a piece of dirt into the crafting grid. Any help?
    Posted in: Modification Development
  • 0

    posted a message on What Should I Post For My Youtube Monetizing Claim
    I've had over 100 videos monetized using seven words. It's not hard.
    Posted in: General Off Topic
  • 0

    posted a message on [16x][1.0!] SleekBuild - Sexy 16x16 Minimalist Theme [New Cart and Boat]
    Support for 1.9p4 now added! All blocks and items should be good to go; notify me of any problems.

    Download: http://is.gd/4RIQA0
    Posted in: Resource Packs
  • 0

    posted a message on [16x][1.0!] SleekBuild - Sexy 16x16 Minimalist Theme [New Cart and Boat]
    Quote from rkosome9

    can you make the new block from the sky realm look like a fluorescent light thats a little blue.that would be great


    I'm not really going to work too heavily on that block just yet, since we still don't know if there will be any other uses for it. Thanks for your suggestion, though!
    Posted in: Resource Packs
  • To post a comment, please .