How can i translate this?
I tried using AsyncTabCompleteEvent but the completions method just receive a List<String>, the best that i can do is add a tooltip to the completion. I need to translate it to spanish and portuguese
Thanks for your help! :devilish:
The cuestion is simple, what is better?
Supposing we want to store useful data (Location, Homes, Money, Titles) of a player and request it when PlayerMoveEvent is called. Please considerate an high amount of player for each case.
Case A: Create a class what will store the custom player data...
Supposing that we want to exit from a cancelled event function by us, we need to do:
e.setCancelled(true);
if(e.isCancelled())
return;
Being that we could do:
if(e.setCancelled(true))
return;
This case gets more sense with a true comparison case:
ItemStack theResult =...
Well, i did my own implementations of enchantments and it works very very well, but the problem now is the following:
I created an enchantment that increase your movement speed till 100%. And now i need a counter enchantment that will temporary reduce the victim's movement speed when him...
Well... that, i wanna add a custom enchant to my server... i tried:
Enchantment.registerEnchantment();
But this doesn't works. So... which is the correct way to implement my own Enchantments?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.