Jump to content

[1.7.10] Can I use Thermal Expansion Pulverizer recipes?


Recommended Posts

Posted

Hi, I want to make use of TE's existing recipe handler for items that can be pulverized but I can't find any reference to it in the api except for the functions to send recipes to TE through intermodcomms. Does anybody know if I can get these recipes?

 

Thanks!

Posted

I hate to reply to this again, but I've been running into a few issues trying to get this to work. I can't for the life of me seem to figure out how to use Reflection to do this. Thermal Expansion has a class called PulverizerManager and I have no issue getting at that and running its methods, my issue is that there's a subclass of PulverizerManager called RecipePulverizer and I have to use that as the type of a variable during my pulverization function. I just can't seem to figure out how to do that!

Posted

I think you misunderstand my purpose, I'm not trying to add more pulverizer recipes to the TE pulverizer, I'm trying to make a machine that ACCESSES the list of pulverizer recipes, there is no getPulverizerRecipe() in that class.

Posted

Oops! Sorry about that. ThermalExpansion has a dev build which will give you the method stubs when put into your dev environment. This is what IntelliJ says for me. The RecipePulverizer subclass is at the bottom.

Posted

I could have sworn that I tried doing that in the past, but I tried it again and it starting working right away.. huh.. Well thanks so much, I appreciate it, it's nice to know I don't have to go through some frustrating Reflection crap like I thought I might.

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.