Posted January 10, 20178 yr @SubscribeEvent(priority = EventPriority.NORMAL) public void OnPlayerPickUpItem(EntityItemPickupEvent e){ System.out.println("You have picked up an item"); World.createExplosion(e.item, e.item.lastTickPosX,e.item.lastTickPosY,e.item.lastTickPosZ, 4.5F, true); }
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.