Io everbody, i want to know how 2 disable the fire in blocks, it isnt BlockBurnEvent cause this event is called when the block was burned by fire...
*Horse h = (Horse) e;
1- in line 67 just use else, dont use else if! 2- try to return true when the command is correctly!
Isso é um mod cara... não um plugin! This isnt a plugin man, this is a minecraft mod!
Just use §number or ChatColor.COLOR I'm felling the fight hehehe
Use EntityExplodeEvent e cheque se a entidade é uma TNT como o cara acima falou... User EntityExplodeEvent and check if the entity is a tnt, like...
Primeiro você tem que checar se o item que ele clicou não é null depois checar o item... First you had to check if the item is null, if not check...
I found a solution, my server will not need that blocks get fire, so i disable the event BlockBurn(or something like this)
I want to know a method to make a lighting hurts players but do not give fire in blocks sry abt english
I want to know a method to make that a player cant remove your armor.. sorry abt english
Ur code looks nice, r u registering events?
Just put dmger.getName() in a ArrayList
U have to do another event, onplayersneak and check if the player is on the arraylist and u have to store d player who was "punched" and when the...
Simple, on damage get d playa inv then get d bots, chest, helm, leggings and do setdurabilitty(getdurability + 1).. Or something like dis
MaxNatural You need to register event in onEnable, and create a plugin.yml!
First you need to check if the item is null, then check the type or if the item have metadata if(event.getCurrentItem() == null{...
luigieai Sim eu tenho o código do libs no meu pc, mais ele gera os baus e não era o caso...
Telmovieira You putted 600l it means 30 seconds, nothing appears after this time? And cancel the event at first ;)
luigieai Nao copiei, so vi a parte que eu precisava e fiz ate um codigo diferente agora ta funcionando perfeitamente!
AlexHH251997 thx
Separate names with a comma.