Advertisement
Guest User

Untitled

a guest
Aug 19th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. @EventHandler
  2. public void onBlockGrowEvent(BlockGrowEvent event)
  3. {
  4. System.out.print("Log - BlockGrowEvent: " + event.getBlock().getType());
  5. }
  6.  
  7. @EventHandler
  8. public void onStructureGrowEvent(StructureGrowEvent event)
  9. {
  10. System.out.print("Log - StructureGrowEvent: " + event.getSpecies().name());
  11. }
  12.  
  13. @EventHandler
  14. public void onBlockFormEvent(BlockFormEvent event)
  15. {
  16. System.out.print("Log - BlockFormEvent: " + event.getBlock().getType());
  17. }
  18.  
  19. @EventHandler
  20. public void onBlockSpreadEvent(BlockSpreadEvent event)
  21. {
  22. System.out.print("Log - BlockSpreadEvent: " + event.getBlock().getType());
  23. }
  24.  
  25. //@EventHandler
  26. public void onBlockPhysicsEvent(BlockPhysicsEvent event)
  27. {
  28. System.out.print("Log - BlockPhysicsEvent: " + event.getBlock().getType());
  29. }
  30.  
  31. @EventHandler
  32. public void onBlockFromToEvent(BlockFromToEvent event)
  33. {
  34. System.out.print("Log - BlockFromToEvent: " + event.getBlock().getType());
  35. }
  36.  
  37.  
  38.  
  39. #All that is detected
  40. 19.08 23:43:56 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  41. 19.08 23:43:56 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  42. 19.08 23:43:56 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  43. 19.08 23:43:57 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  44. 19.08 23:44:07 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  45. 19.08 23:44:08 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  46. 19.08 23:44:08 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  47. 19.08 23:44:10 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  48. 19.08 23:44:16 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  49. 19.08 23:44:17 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  50. 19.08 23:44:17 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  51. 19.08 23:44:19 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  52. 19.08 23:44:21 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  53. 19.08 23:44:22 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  54. 19.08 23:44:26 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  55. 19.08 23:44:27 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
  56. 19.08 23:44:28 [Server] INFO Log - BlockGrowEvent: CHORUS_FLOWER
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement