Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 40 lines 655 B view raw
1package net.minecraft.server; 2 3public class WatchableObject { 4 5 private final int a; 6 private final int b; 7 private Object c; 8 private boolean d; 9 10 public WatchableObject(int i, int j, Object object) { 11 this.b = j; 12 this.c = object; 13 this.a = i; 14 this.d = true; 15 } 16 17 public int a() { 18 return this.b; 19 } 20 21 public void a(Object object) { 22 this.c = object; 23 } 24 25 public Object b() { 26 return this.c; 27 } 28 29 public int c() { 30 return this.a; 31 } 32 33 public boolean d() { 34 return this.d; 35 } 36 37 public void a(boolean flag) { 38 this.d = flag; 39 } 40}