July 7, 201510 yr Could you be more specific? You want to ignore all other entities that you hit with rayTrace and only run code on pig-hit? or You want to pass through all entities and hit only pigs (rayTrace beam will pass through others)? 1.7.10 is no longer supported by forge, you are on your own.
July 7, 201510 yr Check if the entityHit is an instanceof EntityPig. http://i.imgur.com/NdrFdld.png[/img]
July 7, 201510 yr Author Check if the entityHit is an instanceof EntityPig. ugh, Im blind or something its 3am here so very tired and not concentrated xdd
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.