Since .getTargetBlock() method has been deprecated I would like to create my own method that does similar. Through some research it seems using...
I can start the timer, but I can't seem to cancel it. Can someone tell me what I'm doing wrong? And yes, the cancel() is being reached to, but...
public HashSet<String> xenos = new HashSet<String>(); @EventHandler public void xenoDoubleJump(PlayerToggleFlightEvent event) {...
Can someone tell me what I'm doing wrong? Basically I'm just trying to add an EntityID into a HashSet so I can track it to set off an explosion...
I am having trouble manipulating my experience bar. Well, not so much so that I can't change it, but for something I can't figure out my...
Chiller I'm asking for an exact amount that the player is into their level. So like say their level 14, and getExpToLevel() returns 5, that means...
Is there a method that does exactly the opposite of player.getExpToLevel()? Where instead of saying how far you are from leveling up it tells you...
Same problem as before, it's just not letting the player look around at all. if(stunLock) { Location f = event.getFrom();...
So I want to implement some kind of stun-like mechanic into a game I am working on, but I'm having trouble of ways to handle it. First off I...
Alright, that actually helped. I basically just made a object of the class in my main and replaced all the instances instead. So now it looks like...
So basically I'm just trying out doing a queue system and whatnot. In theory, I would think this would work, but it's not. Actually, I can't even...
Thank you, that fixed it.
I'm trying to change my strings back into their location variant. However, split for some reason is not working. Functions: public String...
Never used BlockState, mind showing an example of how I would implement that into my code?
I'm trying to restore blocks after a certain amount of time. Basically a terrain that will regenerate itself over time. However, my code doesn't...
Separate names with a comma.