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...
Separate names with a comma.