No you make one hashmap. With the hashmap you can use Bukkit.getWorld("WorldName").getBlockAt(some_location).setType(type_from_the_hashmap)); I...
What do you mean? You just get the location you want, set the location with the current block type in the hashmap, change the block type and then...
Must have derped this morning thinking getNearbyEntities wouldn't rely on Y axis :P
Why not? I use this in a plugin I have currently so what's the downside to it?
PlayerInteractEvent event = new PlayerInteractEvent(some_args_probably_go_here); Bukkit.getPluginManager().callEvent(event); //This line may be...
You never used a return statement, so the code keeps going past //Targets not online...
Oh, he wrote "This is the current coding (without the second arg)" and right here doesn't show any support for adding a player name since it...
This probably isn't it but on first glance somethingelse: seems to be tabbed instead of properly spaced in the config?
Show the code for the /fly <playername> since this code seems fine
Why can't you just spawn the orb at a location below 0 or above like 300? Nobody will see it
In my title class I use "{'text': '" + title + "'}" to define the title
Use a hashmap like this HashMap<Location, Material> materialByLocation = new HashMap<Location, Material>(); then you can use...
list.get(new Random().nextInt(list.size())); ?
Easiest way is give the item a custom lore and prevent anything from happening to an item with that lore
I'm on my phone right now so I only quickly glanced at the code but I noticed 2 things 1) why don't you just make materials a list instead of...
Yes the golden hearts can disappear while you still have the effect if you are damaged. Basically I need to find a way to know when they disappear...
Alright i guess 1 isn't possible, but as for the second thing you said I'm having trouble determining if the damage is taken by an absorption...
Hey everyone here's my two problems 1) Is it possible to alter the absorption effect to give an odd number of golden hearts 2) How can I keep...
Test it, I dont have time atm to read all your code so if it looks like it works - test it and if it doesnt try something new
I just google up on it and it looks like you either need to create a custom entity and use NMS to override a method OR use Bukkits...
Separate names with a comma.