Jump to content

[UN-SOLVED][1.8]Block Break Speed and Harvest Events?


Recommended Posts

Posted

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

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!

Posted

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.

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!

Posted

I normally use Intellij IDEA, but I went back to eclipse for modding.

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!

Posted

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?

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!

Posted

Were the names of the classes changed, because I reinstalled forge and it still does not work?

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!

Posted

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

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!

Posted

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?

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!

Posted

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?

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!

Posted

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?

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!

Posted

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.

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!

Posted

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.

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!

Posted

Then, what could be causing this issue because I am sure that I installed it correctly?

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!

Posted

It returns nothing, but i do some other forge classes.

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!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.