Ir para conteúdo

Keniaaa

Membros
  • Total de itens

    17
  • Registro em

  • Última visita

Respostas na Comunidade

  1. Keniaaa's postagem in Como fazer com que um item seja arremessado usando plugins. was marked as the answer   
    @EventHandler     public void bolinhoDeChuva(PlayerInteractEvent e){         Player p = e.getPlayer();         if(e.getAction().equals(Action.RIGHT_CLICK_AIR) || e.getAction().equals(Action.RIGHT_CLICK_BLOCK)) {             if(p.getInventory().getItemInMainHand().getType().equals(Material.FIRE_CHARGE)) {                 p.getLocation().getDirection().normalize().multiply(1);                 p.launchProjectile(SmallFireball.class);             }         }     }  
×
×
  • Criar Novo...