ooo using distance, makes sense. ty
In most cases, player.getLocation().getBlock().getRelative(BlockFace.DOWN) will return the block they are standing on. Look at this picture. I am...
@Zombie_Striker I couldn't find a method that clears the canvas. Instead of using Bukkit.getMap((short) 0), I just create a new MapView using...
@Zombie_Striker That works, however if there has already been a map created, it draws it on top of that map. Is there a way to clear the canvas?
@Zombie_Striker How would I set the image of the map? I set the item in the players hand to EMPTY_MAP. I have the code already for rendering the...
I am trying to give a player a custom map. It works using MapInitializeEvent. If I give the player an EMPTY_MAP and they right click it, it works,...
@timtower i forgot to mention this on the post, but this would be my backup idea. it works but i would just have to make sure the maps are above...
I am making a minigame where players spawn on a hill. Players must hit the other players off the map. The last one on the hill wins. I need a...
@mcdorli But i want it to be able to cause lightning if you miss a player and it hits the ground, hence why i used ProjectileHitEvent
@WolfMage1 Can't. One of the effects of the arrow is causing lighting where it lands, whether or not it hits a player.
@WolfMage1 @EventHandler public void onEntityDamageByEntityEvent(EntityDamageByEntityEvent e) { if (e.getDamager() instanceof...
I have two events, EntityDamageByEntityEvent and ProjectileHitEvent, I need EntityDamageByEntityEvent to run first. I have tried to use priorities...
I am getting the value from another server using BungeeCord. There is a 50ms delay (1 tick) between calling the method and the value being...
@HoeMC This is just an example of what I want to do. Please see my last post
No, this is just an example of what I want to do. In reality, this value is retrieved from another server, so there is latency. If I were to...
I am basically trying to make the following code work. private int value; public int getInt() { task(); return...
@Trimzy the second option "figure out how to make an "exact" region of your glass?" i need to make an exact region of the glass within worldguard
@mythbusterma worldguard region. i simply need to make the region. i know its not really plugin development but if necessary to do so easily i can...
How can I easily make this glass shape a region. it must be that exact shape. i know about //sel poly and then select all the points but there are...
I want to be able to make my world edit selection the same as the blocks created when i run a command. For example, if I did //fill 20 100 it will...
Separate names with a comma.