2015-05-22 00:41:44 +02:00
|
|
|
package com.pahimar.ee3.api.event;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.eventhandler.Event;
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link BlacklistEvent}
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
public class AbilityEvent extends Event {
|
|
|
|
|
2015-05-22 00:41:44 +02:00
|
|
|
public final Object object;
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link BlacklistEvent}
|
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
public AbilityEvent(Object object) {
|
2015-05-22 00:41:44 +02:00
|
|
|
this.object = object;
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public boolean isCancelable()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link com.pahimar.ee3.api.event.BlacklistEvent.KnowledgeWhitelistEvent}
|
|
|
|
*/
|
2015-05-22 00:41:44 +02:00
|
|
|
public static class SetLearnableEvent extends AbilityEvent
|
|
|
|
{
|
|
|
|
public SetLearnableEvent(Object object)
|
|
|
|
{
|
|
|
|
super(object);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link com.pahimar.ee3.api.event.BlacklistEvent.KnowledgeBlacklistEvent}
|
|
|
|
*/
|
2015-05-22 00:41:44 +02:00
|
|
|
public static class SetNotLearnableEvent extends AbilityEvent
|
|
|
|
{
|
|
|
|
public SetNotLearnableEvent(Object object)
|
|
|
|
{
|
|
|
|
super(object);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link com.pahimar.ee3.api.event.BlacklistEvent.ExchangeWhitelistEvent}
|
|
|
|
*/
|
2015-05-22 00:41:44 +02:00
|
|
|
public static class SetRecoverableEvent extends AbilityEvent
|
|
|
|
{
|
|
|
|
public SetRecoverableEvent(Object object)
|
|
|
|
{
|
|
|
|
super(object);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-23 23:47:31 +02:00
|
|
|
/**
|
|
|
|
* @deprecated See {@link com.pahimar.ee3.api.event.BlacklistEvent.ExchangeBlacklistEvent}
|
|
|
|
*/
|
2015-05-22 00:41:44 +02:00
|
|
|
public static class SetNotRecoverableEvent extends AbilityEvent
|
|
|
|
{
|
|
|
|
public SetNotRecoverableEvent(Object object)
|
|
|
|
{
|
|
|
|
super(object);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|