Jump to content

fatalcubez

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by fatalcubez

  1. I'm not sure if you properly understand the issue. I have the EntityPlayer, but the problem I am having is doing a rayTrace BEFORE the BlockBreak event, inside of the event call. In other words, when the event is called and the block is broken, I then need to get what side of the block the Player was looking at BEFORE the break was called. Right now, the rayTrace is being called AFTER the block is broken, so the trace is pointing me towards a block that was behind the block that was just broken. I hope that cleared up any confusion and I appreciate the response
  2. Hey all! I am trying to get a proper ray trace to receive a MovingObjectPosition with what angle I broke a block at. I am subscribing to the forge event: BlockBreak. But, it seems like when this event is called, the block is already disappeared so the ray trace is return the stats of a block that is no the block that was removed. How can I get the ray trace INSIDE the BlockBreak event of the Block that I just broke. Thanks in advance!
×
×
  • Create New...

Important Information

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