What ever I do it can't find the images.... it worked for a while but then I added the armor code and it failed again... where do I put the files... they are in the MCP folder and in the Jar and in the temp folder and in the eclipse folder but it still can't find it
My item isnt kryptonite. It is called Erbium... I got as far as making ItemErbium"Tool" at around 1:06:00, and I got the Pick, Spade, and Axe done, but whenever I do the Sword or Hoe, it gives me an error that says "The constructor ItemErbiumHoe(int, EnumEribiumMaterial) is undefined."
Here is what my code looks like
ErbiumHoe = (new ItemErbiumHoe(9009, EnumErbiumMaterial.ERBIUM)).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mods/ErbiumHoe.png")).setItemName("Erbium Hoe");
@Mintok97 OK, I know I am replying to my own comment and I hope this doesn't count as spam. I found out what was wrong. I forgot to change some of the EnumToolMaterial into EnumErbiuimMaterial in the sword and hoe files. Thanks for the awesome tut and I can't wait for more.
@EpikC0wz ummm if you are modding the most current version of minecraft with the 1.0.0 modloader(same version) you need to instead of the Version() you need to do the getVersion()
If any1 has teamviewer or something could you please help me with making it for 1.0.0 please? I had made it fully working for 1.7.3 but it wont work for 1.0.0 and its broken for 1.7.3 :(
@MeGaHaCkErZzZ check the BlockIds. With the new update to 1.0.1, a few blocks have been added, and thus more ids have been used. Check blocks.java for the largest BlockID and make yours bigger than that.
@RandomAnimator101 If you could reply and tell us what the code is now/where it is located for the ChunkProviderGenerate file that you copy pasted from. We need it for 1.0.0.
Could Someone help me please, when i put the reobfuscated files and the mod map (with the textures) in my minecraft it gives an minecraft crash, and it closes so fast that i cant see what the error is about. Please help me
I have one question. When I test the mod on a regular Minecraft client, the armor on the player when it is worn has a rendering glitch. The armor looks like a retarded snow armor. Any answer?
@TaylorTechable If you give youtube your username to youtube from the uplode page and it will send you a code. you put the code in the box on youtube after you put in your phone number then you can uplode longer.
Great help thanks, really helpful, but when modders make big mods like aether and industrial craft etc. do they make the mod with or without modloader?
@NastyShoesGaming He tells you in the very first block mod videos (part two & three of HTMAMM). I think you just leave the drop thing blank, but I don't remember. But he definately mentions it in those videos
@lolimnotstupid Look at the leather armor set in your minecraft folder... notice that each image is two pieces of armor. That's why you only have two.
@Haloproper1000 make sure you got the correct spelling for everything and are not using the same override twice. if you have 2 blocks using the same PNG with different overrides, you will have a problem.
I'm getting some problems with adding achievements, I use OnItemPickup but it says "void is an invalid type for the variable OnItemPickup". Also the code .addStat says "The method addStat(StatBase, int) in the type Entity Player is not applicable for the arguments (Item, int)" Any ideas?
java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source)
@RandomAnimator101 Got it now, works fine. Do you think you could do a tutorial on how to make a new type of container. Like a furnace, and make it do a certain thing, like only accept a specific item/block?
Hey mate i got stuck once before and then you told me how to fix it and it helped a load! But i am sought of stuck again well i was just wondering if the ore generator code chunk still works for 1.8 because i was trying to find it and i found a ravine and still couldnt find it but i don't know :S
@MinecraftFirestar Im, I am not sure. Haven't gotten a chance to play arround with that. It could be perhaps that ModLoader takes care of that for ou, so I think you might code it the same in your mod_ file.
What if i want my block to be generated at ground level and not underground? Your ore has the number 16 at the world generation thingy but what number is ground level?
plz help, i got everything going well but now the block is to easy to break (you can break it with a wooden pickaxe). i have tried changing to hardness and the resistance but all it does is change the time it takes to mine. plz help
@TubbyT98 sweet :D. I was able to convince her to let me do it in class... but not as class work. But at least I can play MC in school without getting in trouble. XD
@Haloproper1000 you have to create the constructor in BlockDirtstone.java you know the part that says >> public BlockDirtstone(int i) { other stuf... }
well, that is the constructor. it has to have spots for the 2 int's you are putting in. Otherwise it will give you that error.
@RandomAnimator101 yeah i had a spelling error, thanks. But can you please make a tutorial on how to make a mob? I want to make a "Dirt gnome" for my mod :D
@TooManyQuestions15 yep. You have to make the armor textures. Not the normal Item ones, there is a different texture that you have to make. pay close attention here... 02:23 make sure you have the armor pictures in the right place and stuff.
hey RandomAnimator101 you've probably been asked this already, but, the chunks for the generation of Coal,Diamond and such are no longer in ChunkProviderGenerate.java would you be able to point me in the right direction of these chunks so i can continue with my mod thanks in advance,
@OutSn1ped ummm, Unfortunately, I have not had a chance to explore 1.8.1 fully yet. But either way, I am pretty sure that ModLoader would interpret the generating the same either way. I know they changed the generation... I have to look into that...
@Shupsta3 Yeah, we are gonna do that once we are done with Blocks. They are very close to being done. Only another 2 videos. The we will start to get into making Items have special behaviors like shooting stuff and interacting with specific Blocks.
hi i got a problem when i run the eclipse test it lets me on to my world and i can craft the ore but when i place or try to break said ore it crashes and says nullpointerexception any suggestions?
The ore generation code is NOT working. I even made 500 tries with 50 blocks each: public void GenerateSurface(World world, Random random, int chunkX, int chunkZ) { int pozY; int pozX; int pozZ; int tries = 500; for(int i = 0; i < tries; i++) { pozX = chunkX + random.nextInt(16); pozY = random.nextInt(120); pozZ = chunkZ + random.nextInt(16); (new WorldGenMinable(Block.oreDiamond.blockID, 50)).generate(world, random, pozZ, pozY, pozZ); } }
@ToXicGam3Rx Did you make sure that you regenerated the chunk? you can't use an existing save file, you will have to make a new world every test because it has to regenerate it.
Ah Nvm! Got it, thanks so much for this mate, helped me soo much! Subbed. Now, can you please make a tutorial on some more advanced things, like npcs etc, that'd be a great help :)
help me :(!! I recompiled and reobfuscated it, no errors what so ever, but when i go to install it to my mc.jar, it crashes my game, ive got modloader, ive got all the pictures, everything.. :/
@berkelik I found it !! :D In the static tools part I didnt change the id of them so there was 9005 on all of them so thats why it keeps giving me sword :) !
@Undeadflayme LoL thats funny. Ok, so what you need to do is make sure that you named the armor correctly and stuff. Also make sure that you created the Armor textures correctly. I do not mean the item sprites, I mean the actual rendering stuff. They are found in armor folder of the minecraft jar.
@rockonwood007 hmm. So when you test it in eclipse, it runs perfectly. but when you re-obfuscate it and put it in a mine craft jar, it errors out, is that it??
in my tool enum i made it effective against my block, but it doesn't mine any faster depending on which tool i use (ex: wooden pick mines as fast as my pick)
@pie2these If you look in ItemPickaxe.java, it has a list of Blocks that it is effective against. Currently, the only thing you can do is modify that to fix that problem.
@bottz2 You wanna change the IdDropped. Take a look at BlockLeaves and notice that it drops saplings rather than the block itself. Do that for your Item.
@RandomAnimator101 On topic of this comment, how would you make it so a block so that, 90% of the time it would drop one thing, and 10% it would drop another? I need to modify the redstone ore to do this.
if the "random" part gives you an error, add this line:
Random random = new Random();
and this to the top of the page:
import java.util.Random;
basically, that codes generates a random number from 0-10. and then the IF statement checks if it is less-than-or-equal-to 9. And if it is, drop 90% item, if its not drop the 10% item.
maybe because I have 1.1 ?
Hippijump105 1 day ago
it says: mod_smaragd cannot be resolved to a variable :S help! And thanks for the tutorial, it's realy helpful! :)
Hippijump105 1 day ago
thanks dude this tutiorial is really helpful
ALEXANDERdk007 1 week ago
I have followed every step of this tut, but when i run thew cilent, it crashes:
java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jezzaoly1123 1 week ago
PLZ
TheMinecraftBuddy 1 week ago
I dont Work make new vids
TheMinecraftBuddy 1 week ago
Comment removed
kiko0804 2 weeks ago
It says that "addOverride" in ".setIconIndex(ModLoader.addOverride(Bla bla, bla bla)
is wrong.
"The Method addOverride(string) is undefined for the type ModLoader
MhMikman 2 weeks ago
Guys, these tutorials i outdated. Much is still the same though. Btw, you are awesome for doing these!
GameMaster337 2 weeks ago
Not 1 of these comments say " thanks dude this tutiorial is really helpful". Thumbs up if you think he rocks
WASDMASTERc 2 weeks ago 6
IF YOU GET ERRORS, THIS MAY BE WHY:
public String Version();
SHOULD NOW BE:
public String getVersion();
Username1One 2 weeks ago
@Username1One getVersion() works for me when i make another line with:
public void load() {}
MhMikman 2 weeks ago
can u plzz make a modding tut for 1.0.1??
EpikC0wz 3 weeks ago
@EpikC0wz yeah. I will soon. actually, Ill make them for 1.2, since thats not too far away.
RandomAnimator101 3 weeks ago
i can't find the Block.oreRedstone.blockID in the ChunkProviderGenerate.java
Help!!!
TheGethster 3 weeks ago
What ever I do it can't find the images.... it worked for a while but then I added the armor code and it failed again... where do I put the files... they are in the MCP folder and in the Jar and in the temp folder and in the eclipse folder but it still can't find it
Stumpy0073 1 month ago
@Stumpy0073 make sure everything is spelled right. like amybe you added an extra E or something somwhere.
BTW, for armour, you need to put it in the Armor folder of the Jar. and it must be named the same thing as your armour.
RandomAnimator101 1 month ago
@RandomAnimator101 It's not the armor I'm having trouble with though... I added the code for the Armor but it now can't find any of the images
Stumpy0073 3 weeks ago
@Stumpy0073 hmmm. So you put them in the MCP/jars/bin/minecraft.jar right? make sure they are in the correct path and stuff....
ummm. I don't know what to tel you. I would have to look at the code and stuff myself.
RandomAnimator101 3 weeks ago
@Stumpy0073 ANY of the images? or just the armor images?
RandomAnimator101 3 weeks ago
@RandomAnimator101 It cant find ANY of them :(
Stumpy0073 3 weeks ago
My item isnt kryptonite. It is called Erbium... I got as far as making ItemErbium"Tool" at around 1:06:00, and I got the Pick, Spade, and Axe done, but whenever I do the Sword or Hoe, it gives me an error that says "The constructor ItemErbiumHoe(int, EnumEribiumMaterial) is undefined."
Here is what my code looks like
ErbiumHoe = (new ItemErbiumHoe(9009, EnumErbiumMaterial.ERBIUM)).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mods/ErbiumHoe.png")).setItemName("Erbium Hoe");
Please help
Mintok97 1 month ago
@Mintok97 OK, I know I am replying to my own comment and I hope this doesn't count as spam. I found out what was wrong. I forgot to change some of the EnumToolMaterial into EnumErbiuimMaterial in the sword and hoe files. Thanks for the awesome tut and I can't wait for more.
Mintok97 1 month ago in playlist Uploaded videos
@Mintok97 lol yeah :P
RandomAnimator101 1 month ago
@Mintok97 You have to change the ItemErbiumHoe(int i, EnumToolMaterial)
to ItemErbiumHoe(int i, EnmuYourSpecialEnum).
otherwise it errors out.
RandomAnimator101 1 month ago
i want to make a sort of flaming sword, but how can I if I hit someone, hit him AND light him on fire?
MyMinecrafter97 1 month ago
dude problem:
package net.minecraft.src;
public class mod_Recipe extends BaseMod
{ public String Version() { return "New Stufflol"; }
}
public class mod_Recipe extends BaseMod asks it to be public abstract class mod_Recipe extends BaseMod instead.....
EpikC0wz 2 months ago
@EpikC0wz ummm if you are modding the most current version of minecraft with the 1.0.0 modloader(same version) you need to instead of the Version() you need to do the getVersion()
mylifeprogrammer 2 months ago
@EpikC0wz the Version has been changed to getVerion() as of 1.1
Also, everything that goes into the mod_Recipe() {registers and recipes and stuff goes here}...
yeah, all that has been moved to load();
so its...
ublic void load() {registers and recipes and all that.}
RandomAnimator101 1 month ago
@RandomAnimator101 i didnt really understand what u meant by that
EpikC0wz 3 weeks ago
What do I do if I got two ores I add in the world generation. For me it is just generation one ore
MultiGMAG 2 months ago
@MultiGMAG i have no idea. Generation took a major change with 1.1
RandomAnimator101 1 month ago
@MultiGMAG I have only made 1 ore in my 1.0.0 mod and I just used the same tekst as randomanimator's video and it worked fine...
TheLozerPwner 1 month ago
If any1 has teamviewer or something could you please help me with making it for 1.0.0 please? I had made it fully working for 1.7.3 but it wont work for 1.0.0 and its broken for 1.7.3 :(
MeGaHaCkErZzZ 2 months ago in playlist More videos from RandomAnimator101
@MeGaHaCkErZzZ check the BlockIds. With the new update to 1.0.1, a few blocks have been added, and thus more ids have been used. Check blocks.java for the largest BlockID and make yours bigger than that.
RandomAnimator101 2 months ago
Can you post the code to generate ore in Minecraft 1.0.0? :)
TheThiorix 2 months ago
@TheThiorix I have no idea how. I have stopped modding until the mod-system comes out.
RandomAnimator101 2 months ago
@RandomAnimator101 ow :( Okay, thanks anyway! :) These tutorials are awesome!
TheThiorix 2 months ago
This is what I have:
package net.minecraft.src;
public class mod_toxic extends BaseMod
{ public String Version() { return "Toxic Armor and Tools 1.0.0"; }
}
and the part where it say public class mod_toxic it says "mod_toxic must implement the inherited abstract method BaseMod.getVersion and BaseMod.load
Please Help!
MeGaHaCkErZzZ 2 months ago in playlist More videos from RandomAnimator101
@MeGaHaCkErZzZ Do you have Steam? If you do add me "mrgamer107" Or just give my your team viewer info, i had this same prob.
lTheOnlyLanixl 2 months ago
@lTheOnlyLanixl I think I fixed it m8 do you just have 'add unimplemented methods'? a.k.a load and getVersion
MeGaHaCkErZzZ 2 months ago
@MeGaHaCkErZzZ you could make is abstract, as thats what MC does now, or you could add that override stuff. It really doesn't matter.
lTheOnlyLanixl 2 months ago
@MeGaHaCkErZzZ heh, yeah just got what you were saying, yea, thats how you do it :P
lTheOnlyLanixl 2 months ago
Comment removed
MeGaHaCkErZzZ 2 months ago in playlist More videos from RandomAnimator101
How can I make it so that my ores will only mine with an stone pick or greater / iron pick or greater?
ThePokefan101 2 months ago
This has been flagged as spam show
Thanks for all of this! :)
But yes.
We need help with that new ChunkProviderGenerate file..
leonpoiss 2 months ago 2
@RandomAnimator101 If you could reply and tell us what the code is now/where it is located for the ChunkProviderGenerate file that you copy pasted from. We need it for 1.0.0.
RSZ3rker 2 months ago in playlist More videos from RandomAnimator101
Why isn't this video hq?
OneBIGxZER0 3 months ago
@RandomAnimator101
1.0.0 doesnt have the same ChunkProviderGenerate files :(
goodbyeash 3 months ago
you make armor a different way in 1.0.0 so now my armor doesn't work anymore :(
mari3okart5wii4 3 months ago
Does the items show on TMI?
TheJrd2000 3 months ago
Are you going to make this compatible with 1.0.0 because item id 97 =Stone Brick?
TheJrd2000 3 months ago
Could Someone help me please, when i put the reobfuscated files and the mod map (with the textures) in my minecraft it gives an minecraft crash, and it closes so fast that i cant see what the error is about. Please help me
MrRaoulio 3 months ago
I have one question. When I test the mod on a regular Minecraft client, the armor on the player when it is worn has a rendering glitch. The armor looks like a retarded snow armor. Any answer?
Haloproper1000 3 months ago
how can i make the ore only be mined by diamond?
Steveforthewin 3 months ago in playlist More videos from RandomAnimator101
@TaylorTechable If you give youtube your username to youtube from the uplode page and it will send you a code. you put the code in the box on youtube after you put in your phone number then you can uplode longer.
SuperiorMCGaming 4 months ago
Great help thanks, really helpful, but when modders make big mods like aether and industrial craft etc. do they make the mod with or without modloader?
ijuden123 4 months ago
@ijuden123 you can find that out on the forums, and check if the mod requiers modloader!
AKPaper 3 months ago
@TaylorTechable it cant be over 2 gigs youtube lies
TheBasinRran 4 months ago
You got my sub dude, Thankyou. This was the best tut EVER so you have my sub :)
CoconanMC 4 months ago
Comment removed
MinecraftToGo 4 months ago
you can put a link to it so I can try them :D
sarahmunch1 4 months ago
This has been flagged as spam show
When i recompile and reobfuscate it`s fine, but when i try to install it in minecraft it crashes. please help me :)
Nice Video !!
MrAwesomeCube 4 months ago
Comment removed
MrAwesomeCube 4 months ago
Oh my lord... Ill watch this when I have enough time :P
SirMacPeaches 4 months ago
When I try to set the item ID to over 9000, the game gives me all kinds of errors... any idea why?
rhettbutler13 4 months ago
How do you make your ore so that when broken you will only obtain it if you mined it with an iron pickaxe?
NastyShoesGaming 4 months ago in playlist More videos from RandomAnimator101
@NastyShoesGaming He tells you in the very first block mod videos (part two & three of HTMAMM). I think you just leave the drop thing blank, but I don't remember. But he definately mentions it in those videos
snuffysam 4 months ago in playlist How To Make a Minecraft Mod
could you come onto skype i need help............... please.
CRYSTALPALACE98 4 months ago
I made an i the ore and items like you said and i tried playing it and i get this error
Minecraft: Minecraft Beta 1.8.1
OS: Windows 7 (x86) version 6.1
Java: 1.7.0, Oracle Corporation
VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: GeForce 9300M GS/PCI/SSE2 version 3.1.0, NVIDIA Corporation
java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native M
Caused by: java.lang.ArrayIndexOutOfBoundsException: 900
n mor
ahris1972 4 months ago
hey where is the WorldGenMineable thing its not in chunkprovidergenerate anymore.........
CRYSTALPALACE98 4 months ago
where is the armor 1 and 2 from ? i have 4 ... 1 of each piece can someone answer me asap :( please
lolimnotstupid 4 months ago in playlist How To Make a Minecraft Mod
@lolimnotstupid Look at the leather armor set in your minecraft folder... notice that each image is two pieces of armor. That's why you only have two.
snuffysam 4 months ago in playlist How To Make a Minecraft Mod
Comment removed
lolimnotstupid 4 months ago in playlist How To Make a Minecraft Mod
hide the dirt crafting!
cat0181 4 months ago
I need help[again]! The picture i make doesnt show! It just shows sandstone!
Haloproper1000 4 months ago
@Haloproper1000 make sure you got the correct spelling for everything and are not using the same override twice. if you have 2 blocks using the same PNG with different overrides, you will have a problem.
RandomAnimator101 4 months ago
Comment removed
Haloproper1000 4 months ago
Comment removed
Haloproper1000 4 months ago
15:30
Haloproper1000 4 months ago
I'm getting some problems with adding achievements, I use OnItemPickup but it says "void is an invalid type for the variable OnItemPickup". Also the code .addStat says "The method addStat(StatBase, int) in the type Entity Player is not applicable for the arguments (Item, int)" Any ideas?
MattexFilms2006 4 months ago in playlist More videos from RandomAnimator101
@MattexFilms2006 hmmm. This is for 1.8 right?? hmmmm. I don't know. I haven;t tried this with 1.8 yet.
RandomAnimator101 4 months ago
@RandomAnimator101 it works for 1.8.1
Haloproper1000 4 months ago
@RandomAnimator101 It works for 1.8.1
GloopgeekGames 3 months ago
Hey thanks for this! It's really helped me a lot.
Slight problem... when I go to recompile, I get an error that says "source is an invalid option or argument." Any idea what I did wrong?
Also, is there a way to make a semi-transparent block? I want to know if I can make stained glass.
Thanks!
rhettbutler13 4 months ago
@rhettbutler13 ummmm. nope. Not as far as I know.
RandomAnimator101 4 months ago
I did your tutorial and got this.
java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source)
etc, any idea?
MattexFilms2006 5 months ago
@MattexFilms2006 probably the BlockID's 1.8.1 added a few blocks. so you will have to change the BlockID's so they are above 109.
RandomAnimator101 5 months ago
@RandomAnimator101 Got it now, works fine. Do you think you could do a tutorial on how to make a new type of container. Like a furnace, and make it do a certain thing, like only accept a specific item/block?
MattexFilms2006 4 months ago in playlist More videos from RandomAnimator101
@MattexFilms2006 yeah, Thats actually what the next tutorials build into.
RandomAnimator101 4 months ago
Hey mate i got stuck once before and then you told me how to fix it and it helped a load! But i am sought of stuck again well i was just wondering if the ore generator code chunk still works for 1.8 because i was trying to find it and i found a ravine and still couldnt find it but i don't know :S
MinecraftFirestar 5 months ago
@MinecraftFirestar Im, I am not sure. Haven't gotten a chance to play arround with that. It could be perhaps that ModLoader takes care of that for ou, so I think you might code it the same in your mod_ file.
RandomAnimator101 4 months ago
What if i want my block to be generated at ground level and not underground? Your ore has the number 16 at the world generation thingy but what number is ground level?
leosidenslife 5 months ago
@leosidenslife That gets a little complicated. you need to get the "height value." You get it like this.
posX = random.nextInt(16)
posZ = random.nextInt(16)
posX = world.getHegithValue(posX, posZ);
that getHeightValue() thing gets you the ground level at the coordinate.
RandomAnimator101 4 months ago
@RandomAnimator101 I cant get it working but thanks anyway.
leosidenslife 4 months ago
plz help, i got everything going well but now the block is to easy to break (you can break it with a wooden pickaxe). i have tried changing to hardness and the resistance but all it does is change the time it takes to mine. plz help
TubbyT98 5 months ago in playlist Mod making
@TubbyT98 hmmmm. Did you make sure that the Material is Material.stone and the it extends BlockStone
RandomAnimator101 4 months ago
Thank you so much dude, thanks to you I was able to convince my teacher to let me do this for school, how bloody awesome is that :D
TubbyT98 5 months ago
@TubbyT98 sweet :D. I was able to convince her to let me do it in class... but not as class work. But at least I can play MC in school without getting in trouble. XD
RandomAnimator101 5 months ago
nvm i fixed it
ellpimpo 5 months ago
for the public void GenerateSurface(World world, Random random it says Random cannot be resolved as a type?
Helppp
ellpimpo 5 months ago
@ellpimpo you nede to add this to the top of your file.
import java.util.Random;
Random doesn't exist natively, you have to *import* it.
RandomAnimator101 5 months ago
whenever i type shifted index it wont work, saying it doesnt exist, any idea how to fix it?
360PraNKsTer 5 months ago
@360PraNKsTer make sure you got no errors anywhere else. An error further up on your file could cause a problem where you are.
RandomAnimator101 5 months ago
I need help. :(
theres this problem it says The constructor BlockDirtstone(int, int) is undefined
please help me! BTW its on 15:30
Haloproper1000 5 months ago
@Haloproper1000 you have to create the constructor in BlockDirtstone.java you know the part that says >> public BlockDirtstone(int i) { other stuf... }
well, that is the constructor. it has to have spots for the 2 int's you are putting in. Otherwise it will give you that error.
RandomAnimator101 5 months ago
@RandomAnimator101 thx
Haloproper1000 4 months ago
Comment removed
Haloproper1000 4 months ago
Comment removed
Haloproper1000 4 months ago
Please help! Something went wrong and the textures didnt go in teh right place! For example: My ore replaced the dirt texture and idk what happened!
leosidenslife 5 months ago in playlist Minecraft Mods
@leosidenslife make sure you spelled everything right.
RandomAnimator101 5 months ago
@RandomAnimator101 yeah i had a spelling error, thanks. But can you please make a tutorial on how to make a mob? I want to make a "Dirt gnome" for my mod :D
leosidenslife 5 months ago
@leosidenslife its coming
RandomAnimator101 5 months ago
RandomAnimator,
For some reason, when i equip the armor, i become just a bunch of white cubes, instead of the actual armor pieces, did i miss a step?
TooManyQuestions15 5 months ago
@TooManyQuestions15 yep. You have to make the armor textures. Not the normal Item ones, there is a different texture that you have to make. pay close attention here... 02:23 make sure you have the armor pictures in the right place and stuff.
RandomAnimator101 5 months ago
@TooManyQuestions15 go to where you put AddArmor,
make sure the name you gave the string was something like,for example, emerald-Armor (where emerald is your element),
Then go into your minecraft jar and make sure that your custom armor skins have the EXACT same name with the _1 and _2 added on..
Hope this helps,
-Adam
OutSn1ped 5 months ago
Hey I'm getting problems with things that i haven't even messed with could i please send you the crash report so i can fix this :(
MinecraftFirestar 5 months ago
hey RandomAnimator101 you've probably been asked this already, but, the chunks for the generation of Coal,Diamond and such are no longer in ChunkProviderGenerate.java would you be able to point me in the right direction of these chunks so i can continue with my mod thanks in advance,
-Adam
OutSn1ped 5 months ago
@OutSn1ped ummm, Unfortunately, I have not had a chance to explore 1.8.1 fully yet. But either way, I am pretty sure that ModLoader would interpret the generating the same either way. I know they changed the generation... I have to look into that...
RandomAnimator101 5 months ago
@RandomAnimator101 its alright, i found out where they moved it..
The chunks are now located in BiomeDecorator! thanks anyway
OutSn1ped 5 months ago
@OutSn1ped Thank you. Just saved me some time trying to track it down :D THANKS
RandomAnimator101 5 months ago
can u do a tut on how to add a gun or somthing that shoots somthing
Shupsta3 5 months ago in playlist More videos from RandomAnimator101
@Shupsta3 Yeah, we are gonna do that once we are done with Blocks. They are very close to being done. Only another 2 videos. The we will start to get into making Items have special behaviors like shooting stuff and interacting with specific Blocks.
RandomAnimator101 5 months ago
Comment removed
Shupsta3 5 months ago
@RandomAnimator101 awesome cant wait
Shupsta3 5 months ago
hi i got a problem when i run the eclipse test it lets me on to my world and i can craft the ore but when i place or try to break said ore it crashes and says nullpointerexception any suggestions?
TandCgames 5 months ago
@TandCgames hmmmm. PM me the entire Error report.
RandomAnimator101 5 months ago
The ore generation code is NOT working. I even made 500 tries with 50 blocks each: public void GenerateSurface(World world, Random random, int chunkX, int chunkZ) { int pozY; int pozX; int pozZ; int tries = 500; for(int i = 0; i < tries; i++) { pozX = chunkX + random.nextInt(16); pozY = random.nextInt(120); pozZ = chunkZ + random.nextInt(16); (new WorldGenMinable(Block.oreDiamond.blockID, 50)).generate(world, random, pozZ, pozY, pozZ); } }
help
ToXicGam3Rx 5 months ago
@ToXicGam3Rx hmmmmm. I don't know what to tell you. were you unable to find diamond at all or something??
RandomAnimator101 5 months ago
@RandomAnimator101 yup. no diamond at all ( and btw i need it to be in nether :( )
ToXicGam3Rx 5 months ago
@ToXicGam3Rx Did you make sure that you regenerated the chunk? you can't use an existing save file, you will have to make a new world every test because it has to regenerate it.
RandomAnimator101 5 months ago
@RandomAnimator101 yep. i was making new world every try.
ToXicGam3Rx 5 months ago
And does this still work in 1.8?
yoshistr007 5 months ago
@yoshistr007 ummm, it should. I don't know yet because MCP for 1.8 isn't out yet.
RandomAnimator101 5 months ago
@RandomAnimator101 Its OUT :D \o/
ToXicGam3Rx 5 months ago
@RandomAnimator101 Its out ! now !
berkelik 5 months ago
How long have you been doing this?
yoshistr007 5 months ago
@yoshistr007 since the summer began, about 4 months now.
RandomAnimator101 5 months ago
@RandomAnimator101 do you get paid for doing this? or is it just a hobby?
yoshistr007 5 months ago
// i fixed it //
HjMarius 5 months ago in playlist HjMarius's Favorited Videos
@HjMarius great :D
RandomAnimator101 5 months ago
when i tried to craft the armor i got diamond instead of obsidian armor // why //
HjMarius 5 months ago in playlist HjMarius's Favorited Videos
@SettlerGaming at net.minecraft.src.CraftingManager.addRecipe(CraftingManager.java:261)
^^ main line to look at. It seems that you got a problem with your recipes.
RandomAnimator101 5 months ago
u should use too manyitems
LaxKilla56 5 months ago
@LaxKilla56 I prefer to mod without having another mod to decompile with first.
RandomAnimator101 5 months ago
Ah Nvm! Got it, thanks so much for this mate, helped me soo much! Subbed. Now, can you please make a tutorial on some more advanced things, like npcs etc, that'd be a great help :)
TheReVoLuTiiOnZz 5 months ago
@TheReVoLuTiiOnZz just qondering, you got everything fixed right??
about more tuts, yeah, that is coming this weekend...
RandomAnimator101 5 months ago
@RandomAnimator101 Yes everything is working now =) and great, cant wait :D
TheReVoLuTiiOnZz 5 months ago
help me :(!! I recompiled and reobfuscated it, no errors what so ever, but when i go to install it to my mc.jar, it crashes my game, ive got modloader, ive got all the pictures, everything.. :/
TheReVoLuTiiOnZz 5 months ago
My problem is I did everything you sad till the Tools part and when I test the tools here what happens:
When I try to craft Boots it gives me kryptonite Sword
When I try to craft other Tools (pickaxe, axe, shovel, hoe, sword) it gives me sword again..
What is the problem I couldnt find it please answer as possible you can!
berkelik 5 months ago
@berkelik I found it !! :D In the static tools part I didnt change the id of them so there was 9005 on all of them so thats why it keeps giving me sword :) !
berkelik 5 months ago
@berkelik Cuz you found it yourself, it makes it sooooo much more unlikely to happen again :P
RandomAnimator101 5 months ago
@RandomAnimator101 Yea :p But I dont know How am i gonna remember all these stuff if I wanna do it again thats the problem :/
berkelik 5 months ago
@berkelik trust me, all you gotta do is double check Item.java and stuff any time you need to.
RandomAnimator101 5 months ago
Comment removed
berkelik 5 months ago
when i make my armor and i gave it to my friends when they put it on they get white armor with the letters GT on their heads
Undeadflayme 6 months ago
@Undeadflayme LoL thats funny. Ok, so what you need to do is make sure that you named the armor correctly and stuff. Also make sure that you created the Armor textures correctly. I do not mean the item sprites, I mean the actual rendering stuff. They are found in armor folder of the minecraft jar.
RandomAnimator101 6 months ago
@RandomAnimator101 Oh whoops i forgot to put the armor folder in my minecraft.jar :P
Undeadflayme 6 months ago
@Undeadflayme :P well there you go.
RandomAnimator101 6 months ago
Eclipse says it's fine, it's when I have it installed and try to run minecraft.
rockonwood007 6 months ago
@rockonwood007 hmm. So when you test it in eclipse, it runs perfectly. but when you re-obfuscate it and put it in a mine craft jar, it errors out, is that it??
RandomAnimator101 6 months ago
I keep getting this error that says string index out of range:8. Any idea what's wrong?
rockonwood007 6 months ago
@rockonwood007 Where is it hapening? Eclipse should give a line-Number or something.
RandomAnimator101 6 months ago
in my tool enum i made it effective against my block, but it doesn't mine any faster depending on which tool i use (ex: wooden pick mines as fast as my pick)
pie2these 6 months ago
@pie2these If you look in ItemPickaxe.java, it has a list of Blocks that it is effective against. Currently, the only thing you can do is modify that to fix that problem.
RandomAnimator101 6 months ago
hey when i break my block i only get the ore back any sugestions
bottz2 6 months ago
@bottz2 You wanna change the IdDropped. Take a look at BlockLeaves and notice that it drops saplings rather than the block itself. Do that for your Item.
RandomAnimator101 6 months ago
@RandomAnimator101 instead i just made it smelt to get the ruby
bottz2 6 months ago
@bottz2 lol, well I geuss that works.
RandomAnimator101 6 months ago
@RandomAnimator101 On topic of this comment, how would you make it so a block so that, 90% of the time it would drop one thing, and 10% it would drop another? I need to modify the redstone ore to do this.
DMWGames 6 months ago in playlist How To Make a Minecraft Mod
@DMWGames put this in you idDropped thingy.
if (random.nextInt(10) <= 9)
{ return 90%-Item-here;
}
else return 10%-item-Here;
if the "random" part gives you an error, add this line:
Random random = new Random();
and this to the top of the page:
import java.util.Random;
basically, that codes generates a random number from 0-10. and then the IF statement checks if it is less-than-or-equal-to 9. And if it is, drop 90% item, if its not drop the 10% item.
RandomAnimator101 6 months ago