Mecblader Posted February 5, 2015 Posted February 5, 2015 There used to be two events called BreakSpeed & BlockEvent.HarvestDropsEvent, and I used them in preveous versions of minecraft to modify the speed at which the player mines blocks according to several factors and return items corresponding to other factors. They don't seem to be in 1.8 and I have tried to find other events through the source code and all I am finding are a few events, not nearly as many as there were in previous versions. Could someone explain what events I could use as substitutes and or tell me where more events are located. These are the dirs that I have checked: -net.minecraftforge.fml.common.event -net.minecraftforge.fml.common.eventhandler -net.minecraftforge.fml.common.gameevent Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 5, 2015 Author Posted February 5, 2015 I already tried that, and I tried it again now and it came up with no results, could I have installed forge incorrect, if so do you know of a tutorial for 1.8 because I just set it up the way I used to set it up in 1.7. I don't know I there is some new thing you have to do now. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 5, 2015 Author Posted February 5, 2015 I normally use Intellij IDEA, but I went back to eclipse for modding. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 5, 2015 Author Posted February 5, 2015 I basically did that exactly, but for some reason these classes are not showing up for me, just to make sure I am to look for the src code in the libraries section and the tab named, fmlSrc-1.8-8.0.20.1023-1.8.jar right? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 Were the names of the classes changed, because I reinstalled forge and it still does not work? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 It may be that I am using an older version of forge for 1.8, I am going to use the latest to see if that helps Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 I just reinstalled forge, the latest version, exactly as you said, but it is still not showing the classes. Any other suggestions onto why this is not working? If the classes still exist in 1.8, what are their package declaration, or where are they located. BTW I downloaded the minecraft forge src and installed that, that is correct right? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 I just don't get it I installed forge correctly, if I was supposed to use forge src, I tried using class search, and I even tried string search to see if anything with the name pops up, and it returns nothing. I must have the wrong forge or something because net.minecraftforge.event.* does not exist in my installation. What version of forge are you using? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 Ok, so when I go to http://files.minecraftforge.net, for 1.8 do I click src, universal, or userdev, I always thought that src is the one to use, but I might be wrong? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 I installed the same build, 1295, and Im still having the same problem, I cant find those classes, when I install forge is setupDecompWorkspace the only thing I do? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 Thats exactly what I did, why am I ending up with missing files. I swapped like 5 or six builds of forge to see if this problem would be fixed, but it hasn't. Am I the only one having issues with this because I am doing exactly as I am told to setup the workspace, but this problem has really become a nuisance because I cannot achieve what I want to achieve without these events. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 I honestly feel like something is wrong with he forge downloads or something when I run gradlew setupDecompWorkspace eclipse because I am not getting the files, so I am assuming its a "bug" and I guess I'm going to need to wait until this "bug" gets sorted out because this is ridiculous. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 Then, what could be causing this issue because I am sure that I installed it correctly? Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Mecblader Posted February 6, 2015 Author Posted February 6, 2015 It returns nothing, but i do some other forge classes. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.