Thanks for helping me, this is the code that helped me: @EventHandler public void onBreak(BlockBreakEvent e) { e.setCancelled(true);...
This is the event so I tried this: public void mine(BlockBreakEvent e) { e.setDropItems(false); } but It told me that that method doesn't exists...
Sorry... I didn't understand how to do it, I mean I don't know yet how to delete the drop from the item. I'm a little new at these things of coding
Thank you, but how do i delete the drop from the block I mined?
Hello, first of all sorry for my bad english, I have a problem that I dont know how te correct way to do it would be, as you can read on the title...
I finally do it, thank you so much both, those advices helped me a lot!!!! Here is the final code if someone is interested: @EventHandler...
Hello, first of all, I want to apologize about my english, it is not good. I'm developing a plugin wich kicks players afther their death, I know...
I tried it, but It didn't work, also I had to add many things to my code, 'cause there were many warnings....
Sorry, I tried it, but I couldn't do it, I read that page like 5 times and I didn't get it, the problem here is that I don't know how to add that...
I have no idea how to do that
I'm not understanding what is hapenning : ( @MightyOne I already try this, and it didn't work @SuppressWarnings({ "deprecation",...
I'm not really good at coding so I didn't understand too much, I know that it is bad to ask for a code, but could you explain me better or send me...
Thank you so much, It works!
Maybe this part of my code could help you. @EventHandler public void fireball(PlayerInteractEvent event) { Player player =...
Thank you, but it didn't work, I get an error in console: Here is the code:...
Separate names with a comma.