private boolean showEffect;
public XPBottleEvent(Entity e, Cause<?> cause, int experience, boolean showEffect) throws InvalidControllerException {
super(e, cause);
if (e.get(XPBottle.class) == null) {
throw new InvalidControllerException();
}
this.experience = experience;
this.showEffect = showEffect;
}