Resource Arbiter Mouse For Your SCRIPTS!!

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

  1. [​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. lovin the chicken
     
  3. its rib retard
     
    Derk likes this.
  4. Aha so if you put script bot in the title of a thread, it doesn't get replaced, interesting!
     
  5. I didn't know what I expected.
     

Share This Page

Loading...