Hey, there is a way to actually do this. I had the same problem but figured
it out. You have to make your own EnumToolMaterial class. In my code I just
made a copy of it and called it EnumToolMaterialCustom, therefore I could
make multiple different materials using the method robbie used in the
video. I then had to copy the ItemTool class and made my own called
ItemToolCustom. In this class, all you do is replace every EnumToolMaterial
with EnumToolMaterialCustom.
//Sword ModLoader.addName(ObsidianSword, "Obsidian Sword") ;
ObsidianSword.iconIndex = ModLoader.addOverride("/gui/items.png",
"ObsidianSword.png"); ModLoader.addRecipe(new ItemStack (ObsidianSword, 1)
, Object[]( " # ", " # ", " X ", Character.ValueOf("#"), block.Obsidian,
Character.ValueOf("X"), Item.Stick }); Can someone Please Help me? I'm
getting an error with the "M" In Modloader.addRecipe, with "Modloader" in
Modloader.addName and also with "iconIndex"
@Zei33 That would be impossible to do and still keep your mod compatible
with others. Blocks are made of certain "Materials" and those materials
give it general properties, for example all things "wood" can burn, but all
things "rock" can't. In order to make this you would have to change the
Materials class which by itself could work, but would create errors if
using more than one mod together.
You then need to make a new ItemSword, ItemPickaxe, etc. for every tool you
intend to make. For example, for the sword, I called mine ItemSwordCustom.
In each of the tool classes you make, you then change every
EnumToolMaterial to EnumToolMaterialCustom, and at the top if the class
extends ItemTool, you change ItemTool to ItemToolCustom. And it all works
fine. :)
there are two ways really you could just add loads of different types e.g
woodWithSteel, woodWithGold ext or you can make a mod that adds
reinforcement bonuses with and i added a few extra classes so its still
compatable with other mods can make a tutorial for u if u still want to do
this know ur comment was a few months ago now
In agreement with CreeperDoom, you said in an earlier Bug Test video that
modifying the already made arrow class was wrong, and that a new class
should be made. I feel there has to be a way to make a new EnumToolMaterial
class, so that the already existing one does not have to be modified.
Hey Robbie. I want to have tools in my mod that can be reinforced with
steel rods, diamond rods, and gold rods to make them more durable, but what
confuses me is how i would do that. Could i add more tools of the type but
with different recpies or something? It's confusing me! HELP! PLZ!
You can make this more compatible with other mods if u get
enumtoolmaterial,itempickaxe,itemtool and the other item classes and make
enumtoolmaterialmod and then change all all the enumtoolmaterial to
enumtoolmaterialmod in the other classes just helps make this mod more
compatible
Do you think you could do a tutorial on making a Blockium version of the
Flint and Steel? Flint and Blockium ingot rather than iron. Could you make
the fire it makes never go out no matter what block it's on e.g. dirt and
stone.
Yeah yeah I know 8 month old comment told yell at me :o But I think that
copying and pasting code is a stupid way create mods, you don't really
learn anything more than changing a few things around.
@blacklightningair no just put the "public static final" part for each
right under each other then the recipe and stuff right under each other.
(make sure to set each item to the right settings)
I have set up all my code correctly but when I load into the game and make
my pickaxe when I try to mine my game crashes any suggestions please msg
asap gotta do an assignment :P
@Zei33 what about instead of makeing blockfire it makes blockblockiumfire
and the fires part that tells it to go out and/or burn away its "fuel"
(block) are commented out
My minecraft crashes when i recompile and start client or debug from inside
eclipse it says it cant find the image i did it how you did but it didnt
work, please help
@x2robbie2x you could probably make a new flame that burns on any surface
would that be possible to make what @Zei33 wants possible but the new flame
doesnt spread
@chandogrogo Did you watch the full video? The pickaxe/hoe thing happened
to me in the video, and I fixed it at the end. As for the helmet, I have no
clue, it happens to everyone and it's just some little error. I don't
remember but I know it happens very frequently, I suggest posting on my
MCforum thread, check my most recent modding tutorials, the link is in the
description.
had that too with the mod look abit into the crash message if it says
ANYTHING about the addRecipe its cuz 1 of the "xxx" places might be shorter
than the rest causing incompattability with each other (example: i had the
flaw that i made my hoe "xx", " y ", " y " and cuz the first block (the
"xx") was shorter than the rest it wouldnt load the mod.
First off i'd say great jobs with these tuts, 2days ago i had no idea about
coding i'd never even seen java code and now thanks to you and your tuts i
have a full mod half done, and its a big mod withs lots of new items,
blocks, ores, tools, furnace. etc. Or a least its big for sum1 with 2days
off coding behind him.
I can't get the textures for my tools to work. I have them all named
correctly and put into the MCP/bin/minecraft folder. My pickaxe has the
texture of my custom hoe, and all the other tools have the texture of a
leather helmet. Any advice?
@chandogrogo yes I have the same exact problem, I wanna check out your code
so I can see what i have to change on the forum I justdon't know your
account name. what is it? I just need it so i can see your code files. thx
I have an idea.. Make a tut on how to make materials with unique features
like an item that (similar to ur solar panels) produces power, but charges
a certain special way. Or a portable chest for extra storage space.
@Ace4Blades I can't really tell you what's wrong if you don't post any
actual info. Go to my recent modding tutorials, there is a link to Minecrat
Forum in the description and post it here, I'll look at it there.
@x2robbie2x Yes I watched the whole video. The names on the items itself
are perfect is just assigned the wrong textures. I'll post on your forum
with my code.
@jaxfrank Don't have much experience with this but I'll look into it, next
on my list is NPC's :D
Minecraft Crafting Guide: Tools
You are still paying for shipping on Amazon? Sign up for Amazon Prime for free for the first 30 days. Get free shipping and a ton of amazing new shows to watch.
im new to minecraft on the computer because i usually play minecraft pe so
i have a mouse with only one button, idot kow if its left or right click so
i dont know how to craft in mine craft what do i do besides buying a new
mouse that has left and right click!!!!!
this is really good.. for shitty new starters like me .. from last time.. i
searched despratly for some1 to teach me how the fuck to build tools and
mine things.. ~~~ i learned by multiplayer XP ~~~
How do you swap between you items in the bottom thing
Minecraft 1.3+ SMP Tools + Recipe Book + Download Links
Program created by me for Minecraft 1.3+ it is a SMP/SSP/Admin Tool package. Included is a recipe book as well. This works for single player games as well as ...
Hey man, I don't monitor this account, sorry I missed your message. You
don't have to install it. It's a stand-a-lone program I created. You can
download it from a link on the other video on my channel.
ziek gedaan Joris en ge weet het als ge minigames gaat doen of ge gaat
survival doen en ge hebt een gast nodig in de video dan moogt ge mij altijd
contacteren ;)