(JAVA) Event.Type.??

Discussion in 'Spigot Plugin Help' started by rickerd120, Jul 5, 2015.

  1. hi,

    is there a website where i can find all the types i can use for the plugin?
     
    • Funny Funny x 1
    • Useful Useful x 1
    • Like Like x 1
    • Creative Creative x 1
  2. is there something like BLOCK_WALK or something when you walk on a block it does that what the plugin is for not block_damaga that is when you damage the block but i want when you walk on it
     
    • Creative Creative x 1
  3. Move event and check the block?
     
  4. now in code language lol
     
    • Creative Creative x 1
  5. joehot200

    Supporter

    I'm not going to write your code for you (I'm sure you can do that), but basically:

    Just check for the player move event. If you want to know if they walked ON a block, just check if the block below them is solid (block.isSolid()).
     
    • Like Like x 1
  6. haha thanks!
     
    • Creative Creative x 1
  7. I've run out of spoons