private Model getModel(int type, int id) { // method206
		Model model = (Model) Interface.modelCache.get((type << 16) + id);
		if (model != null) {
			return model;
		}
		if (type == 1) {
			model = Model.getModel(id);
		}
		if (type == 2) {
			model = NpcDefinition.forId(id).method160();
		}
		if (type == 3) {
			model = Client.myPlayer.method453();
		}
		if (type == 4) {
			model = ItemDefinition.forId(id).getRecoloredModel(50);
		}
		if (type == 5) {
			model = null;
		}
		if (model != null) {
			Interface.modelCache.put(model, (type << 16) + id);
		}
		return model;
	}