EntityExplodeEvent has a function called blockList() that returns all the blocks that would have been removed. Save the block type and their...
You should use Maven and make sure that you're following the tutorial correctly. Make a hello world plugin first. That is, make a plugin that...
@lecreep did you even google it? StructureType.valueOf(type);
item.getType().name();
This should work unless there is a reason why it doesn't like asynchronous code. Put the first one to LOWEST and the last one to HIGHEST....
Yes a TabCompleter has a CommandSender which you can call .sendMessage on.
@lecreep InventoryCreativeEvent extends InventoryClickEvent so just pass InventoryClickEvent in and it will accept the creative event aswell.
You are right. https://stackoverflow.com/a/67497838/10832136
@Smeary_Subset could be. I don't know i can't tell why it's happening.
@Smeary_Subset alright no luck there. Show the part where the player's health is set to 0.
@Smeary_Subset
Are you able to execute your code? Do a remote debugging, put a breakpoint there. Then save e.getInventory into a variable so you can view its...
@Smeary_Subset what is deathHandler?
Could be.
That's weird that shouldn't happen. That is the whole purpose of async tasks. Unless Bukkit's async is handled different somehow? Try using an...
How do you know the eventlistener is not being registered twice? From what i can see it is being registered twice because it is registered for...
@Mr_maderator_UY you didn't answer either of the two questions that were asked.
@Strahan he said he doesn't care about performance and apparently wants to do it the easy way with the least amount of work.
@CAPS123987 yea but this is extremely performance heavy, as this happens every tick for every player on your server. And it happens in the main...
Yea i tried that but there's no way of knowing the speed still. You have to calculate it by distance traveled since the last measurement, and with...
Separate names with a comma.