• 0

    posted a message on How to change mob droppings?
    Glad to help!
    Oops didn't see that there. Eh...... not quite so easy. You can't simply change the texture of the skin to whatever you want, but you can more easily base a new mob with the same shape as any of the mobs. There are also other steps involved. To make a completely custom mob requires a lot more work.
    Posted in: Modification Development
  • 0

    posted a message on How to change mob droppings?
    Hello, yes, you can, I recommend Minecraft Coder Pack, look into EntityPig.java, change the item in getDropItemId(). (If you're new to modding, check out them great tutorials on the forums)
    Hm.. that should be brief enough for ya.. Happy modding!
    Posted in: Modification Development
  • 0

    posted a message on [HELP] My Tree Wont Generate
    uh.. show some code? maybe? I'm a little confused as to what you're talking about. Also, modloader or no modloader?
    Posted in: Mods Discussion
  • 0

    posted a message on Help with new furnace
    Hello there! Looking at the BlockFurnace.java should help.
    There there's getBlockTexture() and getBlockTextureFromSide(). I don't know how exactly to use this, but it might be possible to put YourBlock.getBlockTextureFromSide(Modload.addOverride("/terrain.png","yourimage")) and make your image be in a similar format to that of the furnace in terrain.png. Sorry, I haven't tried yet.
    But for the recipes, you are using the put() function of java.util.Map. However, you can't just add another parameter to the put function. Originally, the regular :Furnace: uses
    Integer.valueOf(i), itemstack
    but you added another Integer, making it
    Integer.valueOf(i), Integer.valueOf(j), itemstack
    which isn't support by put(). I suggest finding another way to input items.

    Er hopefully this helps? Happy modding!
    Posted in: Mods Discussion
  • 0

    posted a message on [HELP]throwing knife mod(fixed)
    In that case I would check that everything's referencing the right things.
    Posted in: Mods Discussion
  • 0

    posted a message on Looking for something, need help
    WorldEdit works fantastically viewtopic.php?t=100267
    However it may contain more features than you need. The feature that should help you is the super pickaxe, enabled/disabled by //
    Posted in: Mods Discussion
  • 0

    posted a message on [HELP]throwing knife mod(fixed)
    The thing is that you can't just create any texture file. You'd have to modify the RenderKunaithrown.java so that it takes your model and uses and renders it properly. However I don't know anything about that, so good luck :/
    Posted in: Mods Discussion
  • 0

    posted a message on [HELP] Light bulb mod
    Quote from Halo 2 91 »
    Hello I'm new here, does anyone know of any tutorials of how to make a item with light coming out like a torch? My Idea is a lightbulb that you place in the celling of your house, and replaces the block you put it on with a block with a lightbulb in it? And it would also burn out and you would have to replace it every 40 days. Any Ideas? THANKS!

    Hello there, also new. If you don't have the Minecraft Coder Pack already, I would highly recommend you getting it. Once you have that set up (plenty of tutorials on how to), you can open up Block.java and search for any light-emitting blocks such as lightstone (glowstone). You'll notice that it has a property attached to it.
    .setLightValue(1.0F)
    meaning it emits a light value of 15.
    Inside your block file, you can just put
    this.setLightValue(1.0F);
    inside your main function to limit your dependency on changing the original minecraft files.

    Happy modding! Sorry it wasn't very in-depth, I'm kind of busy at the moment.
    Posted in: Mods Discussion
  • 0

    posted a message on [Help] Blocks with Damage Values
    I'm not to great with any of this stuff, so I'll point you to BlockCrops.java which has some functions examples that you can use for damage values. For example, to set a block's damage (metadata):
    world.setBlockMetadataWithNotify(blockXposition, blockYposition, blockZposition, damage/metadata)

    Getting block metadata (returns the metadata/damage value):
    world.getBlockMetadata(blockXposition, blockYposition, blockZposition)

    Changing textures per metadata, see the function:
    getBlockTextureFromSideAndMetadata(int i, int j)


    Hope this helps, happy modding!
    btw nice puzzles :biggrin.gif: original
    Posted in: Mods Discussion
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Hello again,
    Java is case-sensitive, so all you need to fix is make blockSnowBlock capitalized like in the file, BlockSnowBlock. Has fun! Mod looks awesome.
    Posted in: Tutorials
  • 0

    posted a message on [Creating Mods] Modding tutorials [21/5/11]
    Hello Mgalekgolo!
    Reading the error log can really help you out.
    Let's fix the errors in order.

    For the first error, <edit> see below

    For the second error, your problem is the package you're importing. You don't want your mod to import itself; you want to import the rest of Minecraft so it can use its tools. So at "package net.minecraft.src.BlockIceBlock;", change that to "package net.minecraft.src;"

    I believe that should fix almost all of the errors. Also, in your BlockIceBlock.java, you can change Material.rock to something else like Material.ice or something (darn no ice smily). Open the Materials.java to see your whole list of options.
    Posted in: Tutorials
  • To post a comment, please or register a new account.