Resource Arbiter Mouse For Your SCRIPTS!!

Discussion in 'Tutorials & Resources' started by BoneCode, Mar 26, 2015.

  1. BoneCode

    Joined:
    Dec 13, 2013
    Messages:
    106
    Likes Received:
    28
    [​IMG]

    Code (Text):
    1.     private final Image MOUSE = getImage("http://i.imgur.com/eO3IZWl.png");
    2.  
    3.     private Mouse.PathRenderer pathRenderer = new Mouse.PathRenderer() {
    4.         @Override
    5.         public void render(Graphics2D g) {
    6.             g.drawImage(MOUSE, (int) Mouse.getPosition().getX(), (int) Mouse.getPosition().getY(), null);
    7.         }
    8.     };
    9.  
    10.     private Image getImage(String url) {
    11.         try {
    12.             return ImageIO.read(new URL(url));
    13.         } catch(IOException e) {
    14.             return null;
    15.         }
    16.     }
     
    kristiaan and Arbiter like this.
  2. roflcopter19

    Joined:
    Dec 17, 2014
    Messages:
    358
    Likes Received:
    58
  3. dog_

    dog_ 0xCAFEBABE

    Joined:
    Nov 3, 2013
    Messages:
    270
    Likes Received:
    55
    lovin the chicken
     
  4. BoneCode

    Joined:
    Dec 13, 2013
    Messages:
    106
    Likes Received:
    28
    its rib retard
     
    Derk likes this.
  5. skrall

    Joined:
    Jul 24, 2014
    Messages:
    541
    Likes Received:
    132
    Aha so if you put script bot in the title of a thread, it doesn't get replaced, interesting!
     
  6. Derk

    Joined:
    Jan 8, 2015
    Messages:
    1,860
    Likes Received:
    688
    I didn't know what I expected.
     
  7. Aria

    Joined:
    Feb 26, 2015
    Messages:
    589
    Likes Received:
    219

Share This Page

Loading...