package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.

// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode 

public class WatchableObject {

	public WatchableObject(int i, int j, Object obj) {
		dataValueId = j;
		watchedObject = obj;
		objectType = i;
		isWatching = true;
	}

	public int getDataValueId() {
		return dataValueId;
	}

	public void setObject(Object obj) {
		watchedObject = obj;
	}

	public Object getObject() {
		return watchedObject;
	}

	public int getObjectType() {
		return objectType;
	}

	public void setWatching(boolean flag) {
		isWatching = flag;
	}

	private final int objectType;
	private final int dataValueId;
	private Object watchedObject;
	private boolean isWatching;
}
