Jump to content

Recommended Posts

Posted

Alright, after I wanted to add an ore into the End, I came across an issue: The Ender Dragon keeps destroying the ore when it flies through it. So I looked into the EntityDragon class and made a hook for custom blocks to make them dragon-proof. I made a Pull Request (my first one) for Forge. Here it is:

 

https://github.com/MinecraftForge/MinecraftForge/pull/212

 

The method allows to use metadata or TileEntities to determine the return value.

 

I hope this is the right way to do such a hook :D

 

 

Forget that, I've found an another pull request for this which got merged. Next time I should search more before I submit anything  :-[

 

-closed-

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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