Jump to content

SunsetMoth

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by SunsetMoth

  1. The only documentation I have found describes concepts and a few methods related to them, but nothing about the methods available to me for, say, a player, or a block. This seems like really important stuff; how do I make my mod do anything if I don't know how to affect anything? For instance, here's this code snippet from Nether Portal Fix, which does something very similar to what I want to do. public void onEntityTravelToDimension(EntityTravelToDimensionEvent event) { if (event.getEntity() instanceof EntityPlayerMP) { EntityPlayer player = (EntityPlayer) event.getEntity(); Where would I find information on the EntityTravelToDimensionEvent class and its methods, or EntityPlayerMP, or EntityPlayer? The documentation I've found has nothing on any of these. (my end goal is to rewrite the nether portal search code so that a portal in the nether will find any overworld portal that can lead to it, since currently an issue with the 8:1 size ratio is messing with it)
×
×
  • Create New...

Important Information

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