Use this: public void moveTo(LivingEntity entity, Location moveTo, float speed) { EntityLiving nmsEntity = ((CraftLivingEntity)...
Did you test my code?
@Durinless You can't use player.getEquipment, use player.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS)); and remove the armors,...
But what exactly do you want to do?
use player.teleport(world.getSpawnLocation());
@EventHandler public void soupDropEvent(PlayerDropItemEvent e) { ItemStack item = (ItemStack) e.getItemDrop(); if(item.getType() ==...
for check use p.getInventory().getArmorContents(); for remove use p.getInventory().setArmorContents(null);
Use this: static Integer start; start = Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() { and after it: @EventHandler...
Hello, I'm new here, but I would like to know how I can do for when the player has no range near him to take damage, but when leaving or entering...
Separate names with a comma.