Hello, This is my tutorial page. On this page I will be posting direct links to all the tutorials I have written on my site. These tutorials will be for the Forge API and if you don't already have it you can find it here. The goal of my tutorials is to potentially help others out with their mods. If you want to contact me please refrain from sending me private messages or adding me on skype. If you need help with your mod you can join the #MinecraftForgeTuts irc channel on theEsper network. If I am not on that irc channel it is likely that someone else there can help you.
Disclaimer: The tutorials on my page are not meant to be copied and pasted into your mods. When you copy/paste it is highly likely that you will do something wrong and get an error. If you have your heart set on just copying and pasting my tutorials then I won't criticise you however I strongly urge you to read some java tutorials or at the very least read my tutorials and then type them out by hand rather than simply copying and pasting.
If you are interested in learning java here are a few good resources that I have found.
JavaTutorialHub - Great tutorials for beginners. Oracle - The oracle java tutorials. StackOverflow - This site is more of a forum site where you can talk with other java developers. I have used this site a few times. It is great when you need help getting your head around a concept. Lots of intelligent people and many different coding styles.
Can you please make a tutorial for food?
I can't find any tutorials for that: for forge ofc...
Found out by myself
if anyone interested I can make a tutorial on how to add food
+ custom potion effect to it (not custom potion, but like rotten flesh, add confusion or something)
oh wow i didn't realize anyone was actual reading this thanks for all the awesome feedback guys. to be honest i was going to close the thread but if you guys want me to continue i will surely add some tutorials
I have already tried following the forge topic, and now your topic, but I have still the same issue.
I don't have those package and classes in my Minecraft project.
Moreover, I always got an error during the recompile with forge and I have to modify one function in the RenderBlock.class to make it return something to not to have issue.
So I would like to know if I have forgotten something :
- I download all files.
- I create the mcp project and I unzip the forge folder in the mcp folder.
- I put the minecraft client and server in the jars folder.
- To finish, I run install.cmd
Is there something I have forgot ? Like maybe putting ModLoader in minecraft before launching forge, I don't know, I think that forge can run without ModLoader, but I prefer to ask that too
If you don't know, can you share me a project already decompiled to permit me to create the forge version of my mod ?
Thank you DarkHax
this is extremely odd. you are saying you don't have some of the fml(forgemodloader) packages and classes. are you using a 1.3.2 version of forge? this wont work for 1.2.5 or earlier. some of it will but most probably won't. also you shouldn't have to change any base classes by default unless your mod requires it.
i would try starting with a clean mcp and forge installation also you will need to use non modified jars. you do not tamper with any of your jar things.
i would love to send you a decompiled copy of mcp however that would only be a temporary solution and would actually be breaking forum rules and illegal. i may be able to get you a copy however that will only be a last resort. we should fix the problem rather than the workaround.
Hello, here is what I get when installing forge.
After, as the RenderBlock.class is not decompiled correctly, I need to correct it on Eclipse. For the ModLoaderMP version I have done like that, but for forge I would like to correct it. Maybe the missing library will come after that.
My jar aren't modified, so no mods during decompiling and recompiling..
mcp 7.2
forge 4.2.5.303
minecraft 1.3.2 (client and server)
java 1.6.0_30 build 1.6.0_30-b12
turning on windows 7
this is extremely odd and i have not encountered it before. i noticed renaming is disabled? not sure on that. i would recommend freshly redownload everything. you should not have to fix any classes by your self.
I have already done that more than once, the 2 only things I have not done is :
- Changing the folder name "1.3.2 - Extamobs Gui 1.0.1 - Forge" to something simple, in case of there is an issue with the path.
- Downloading java a second time.
i need a stair and half slab tutorial SOOOOOOOO BADD right now, please. if u could help me out.
lol of course i will make the slab and stair tutorial. i will have a stair tutorial up really soon! the slab tutorial may take a bit because i dont have an example in my code to go from.
hey, if i could request 2 tutorials or even help on 2 things i need done, either way
im trying to use events... no hope, cant even get a reply on the forge forums. i need a vanilla mob, say a cow for example, to drop a custom item i make in the game without editing core files. ive narrowed it down to events but dont know how to use them.
and second, the Dimensions API is out of date, but forge has dimension stuff in it, but dont know how to use it, any help would be great thanks.
hey, if i could request 2 tutorials or even help on 2 things i need done, either way
im trying to use events... no hope, cant even get a reply on the forge forums. i need a vanilla mob, say a cow for example, to drop a custom item i make in the game without editing core files. ive narrowed it down to events but dont know how to use them.
and second, the Dimensions API is out of date, but forge has dimension stuff in it, but dont know how to use it, any help would be great thanks.
good tutorials too, i like the color code one XD
hey, sadly i do not know much about events. i know specifically about the sound events and bonemeal events however i have not looked into this yet. i am not sure if this will help but this is what i found on the subject of the forge events.
if your to lazy to check that out this is what it says
LivingDropsEvent
Used to drop items when a living entity dies. Fields: DamageSource source - the source of the damage killing the entity ArrayList<EntityItem> drops - the list of items the entity will drop, add or remove to this list int lootingLevel - in vanilla Minecraft this is affected by the Looting enchantment boolean recentlyHit - whether the entity was hit recently before its death int specialDropValue - a random integer between 0 and 200 subtracted the looting level. In Vanilla Minecraft this must be below 5 to make a rare drop.
Calling source.getEntity() will return an Entity if the damage source is an entity or null otherwise.
This event is cancelable, so calling event.setCanceled(true) will cause the entity to drop nothing.
for more help i would recommend looking in the cpw.mods.fml.common.event or net.minecraftforge.event i'm not sure wich one but i think one or both of these contains information of events aswell.
sorry i couldn't help you better. i can tell you are on the right track though i will post back to you if i manage to find it out. i am working with negative piXels mod organization at the moment and we have several outstanding individuals. hopefully they will be more educated on events then me and can help out. if they know anything i will give you a shout (probably a pm)
also as an unrelated notice to people. tomorrow i will be doing a lot of work. i will be rewriting a lot of the tutorials and adding some new ones. i feel like my tutorials are inconsistent because i write them at different times and i tend to use different coding styles and tutorial strategies. i will probably make a template for them or something. i may also be posting my tutorials on my webpage because i feel it has a superior editor then the minecraft forums. i love the forums editor but a few times now i have been making tutorials and they would be buggy or i would hit backspace while writing one and it would backspace my browser even though i was in the text editing field.
Can you please make a tutorial for food?
I can't find any tutorials for that: for forge ofc...
Found out by myself
if anyone interested I can make a tutorial on how to add food
+ custom potion effect to it (not custom potion, but like rotten flesh, add confusion or something)
this will probably be one of the next tutorials i make. i am going to dedicate a lot of time tomorow into the tutorials. i have actually been rewriting a lot of my tutorials and posting them on my website. i like my webpage better then the forums. my text editor is far better in my opinion
this will probably be one of the next tutorials i make. i am going to dedicate a lot of time tomorow into the tutorials. i have actually been rewriting a lot of my tutorials and posting them on my website. i like my webpage better then the forums. my text editor is far better in my opinion
for sneak peak check out darkhaxspace.weebly.com
Okay
Well, you have awesome tutorials, so please continue making tutorials
Hello, This is my tutorial page. On this page I will be posting direct links to all the tutorials I have written on my site. These tutorials will be for the Forge API and if you don't already have it you can find it here. The goal of my tutorials is to potentially help others out with their mods. If you want to contact me please refrain from sending me private messages or adding me on skype. If you need help with your mod you can join the #MinecraftForgeTuts irc channel on theEsper network. If I am not on that irc channel it is likely that someone else there can help you.
Disclaimer: The tutorials on my page are not meant to be copied and pasted into your mods. When you copy/paste it is highly likely that you will do something wrong and get an error. If you have your heart set on just copying and pasting my tutorials then I won't criticise you however I strongly urge you to read some java tutorials or at the very least read my tutorials and then type them out by hand rather than simply copying and pasting.
If you are interested in learning java here are a few good resources that I have found.
JavaTutorialHub - Great tutorials for beginners.
Oracle - The oracle java tutorials.
StackOverflow - This site is more of a forum site where you can talk with other java developers. I have used this site a few times. It is great when you need help getting your head around a concept. Lots of intelligent people and many different coding styles.
General Tutorials:
1. How to setup minecraft forge with MCP?
2. How do packages work?
3. What are annotations?
4. Example @Mod file.
Events:
1. Living Drops (Make vanilla mobs drop new items)
Hooks:
1. Seed Hooks (Make custom items drop from tall grass)
2. Chest Generation Hooks (Add items to naturally spawning chests)
Farewell everyone o/
Can you please make a tutorial for food?I can't find any tutorials for that: for forge ofc...
Found out by myself
if anyone interested I can make a tutorial on how to add food
+ custom potion effect to it (not custom potion, but like rotten flesh, add confusion or something)
Farewell everyone o/
Farewell everyone o/
this is extremely odd. you are saying you don't have some of the fml(forgemodloader) packages and classes. are you using a 1.3.2 version of forge? this wont work for 1.2.5 or earlier. some of it will but most probably won't. also you shouldn't have to change any base classes by default unless your mod requires it.
i would try starting with a clean mcp and forge installation also you will need to use non modified jars. you do not tamper with any of your jar things.
i would love to send you a decompiled copy of mcp however that would only be a temporary solution and would actually be breaking forum rules and illegal. i may be able to get you a copy however that will only be a last resort. we should fix the problem rather than the workaround.
~Darkhax
Farewell everyone o/
this is extremely odd and i have not encountered it before. i noticed renaming is disabled? not sure on that. i would recommend freshly redownload everything. you should not have to fix any classes by your self.
Farewell everyone o/
do you have java 7 or jdk7 this is needed!
Farewell everyone o/
lol no problem. i am glad i can help
lol of course i will make the slab and stair tutorial. i will have a stair tutorial up really soon! the slab tutorial may take a bit because i dont have an example in my code to go from.
off topic: i'm from alberta to
Farewell everyone o/
no problem! i recently learned you can also use rarities if you want a cleaner way to add colors to item names but i like my way better^_^
Farewell everyone o/
Farewell everyone o/
im trying to use events... no hope, cant even get a reply on the forge forums. i need a vanilla mob, say a cow for example, to drop a custom item i make in the game without editing core files. ive narrowed it down to events but dont know how to use them.
and second, the Dimensions API is out of date, but forge has dimension stuff in it, but dont know how to use it, any help would be great thanks.
good tutorials too, i like the color code one XD
hey, sadly i do not know much about events. i know specifically about the sound events and bonemeal events however i have not looked into this yet. i am not sure if this will help but this is what i found on the subject of the forge events.
Link to some forge events
if your to lazy to check that out this is what it says
LivingDropsEvent
Used to drop items when a living entity dies.
Fields: DamageSource source - the source of the damage killing the entity ArrayList<EntityItem> drops - the list of items the entity will drop, add or remove to this list int lootingLevel - in vanilla Minecraft this is affected by the Looting enchantment boolean recentlyHit - whether the entity was hit recently before its death int specialDropValue - a random integer between 0 and 200 subtracted the looting level. In Vanilla Minecraft this must be below 5 to make a rare drop.
Calling source.getEntity() will return an Entity if the damage source is an entity or null otherwise.
This event is cancelable, so calling event.setCanceled(true) will cause the entity to drop nothing.
for more help i would recommend looking in the cpw.mods.fml.common.event or net.minecraftforge.event i'm not sure wich one but i think one or both of these contains information of events aswell.
sorry i couldn't help you better. i can tell you are on the right track though i will post back to you if i manage to find it out. i am working with negative piXels mod organization at the moment and we have several outstanding individuals. hopefully they will be more educated on events then me and can help out. if they know anything i will give you a shout (probably a pm)
also as an unrelated notice to people. tomorrow i will be doing a lot of work. i will be rewriting a lot of the tutorials and adding some new ones. i feel like my tutorials are inconsistent because i write them at different times and i tend to use different coding styles and tutorial strategies. i will probably make a template for them or something. i may also be posting my tutorials on my webpage because i feel it has a superior editor then the minecraft forums. i love the forums editor but a few times now i have been making tutorials and they would be buggy or i would hit backspace while writing one and it would backspace my browser even though i was in the text editing field.
thanks again to everyone
~Darkhax
Farewell everyone o/
this will probably be one of the next tutorials i make. i am going to dedicate a lot of time tomorow into the tutorials. i have actually been rewriting a lot of my tutorials and posting them on my website. i like my webpage better then the forums. my text editor is far better in my opinion
for sneak peak check out darkhaxspace.weebly.com
Farewell everyone o/
Okay
Well, you have awesome tutorials, so please continue making tutorials
thanks im glad i could help. if there is anything specific just ask
thanks. it really means a lot to me to see all the nice comments from you and everyone else. i will be finishing up some final touches soon
Farewell everyone o/
edit 1: by tonight i mean right now lol
Farewell everyone o/