equivalent-exchange-3/src/main/java/com/pahimar/ee3/api/event/AbilityEvent.java

65 lines
1.6 KiB
Java
Raw Normal View History

package com.pahimar.ee3.api.event;
import cpw.mods.fml.common.eventhandler.Event;
/**
* @deprecated See {@link BlacklistEvent}
*/
@Deprecated
public class AbilityEvent extends Event {
public final Object object;
/**
* @deprecated See {@link BlacklistEvent}
*/
@Deprecated
public AbilityEvent(Object object) {
this.object = object;
}
2023-01-03 17:47:36 +01:00
@Override
2023-01-03 17:47:36 +01:00
public boolean isCancelable() {
return true;
}
/**
2023-01-03 17:47:36 +01:00
* @deprecated See {@link
* com.pahimar.ee3.api.event.BlacklistEvent.KnowledgeWhitelistEvent}
*/
2023-01-03 17:47:36 +01:00
public static class SetLearnableEvent extends AbilityEvent {
public SetLearnableEvent(Object object) {
super(object);
}
}
/**
2023-01-03 17:47:36 +01:00
* @deprecated See {@link
* com.pahimar.ee3.api.event.BlacklistEvent.KnowledgeBlacklistEvent}
*/
2023-01-03 17:47:36 +01:00
public static class SetNotLearnableEvent extends AbilityEvent {
public SetNotLearnableEvent(Object object) {
super(object);
}
}
/**
2023-01-03 17:47:36 +01:00
* @deprecated See {@link
* com.pahimar.ee3.api.event.BlacklistEvent.ExchangeWhitelistEvent}
*/
2023-01-03 17:47:36 +01:00
public static class SetRecoverableEvent extends AbilityEvent {
public SetRecoverableEvent(Object object) {
super(object);
}
}
/**
2023-01-03 17:47:36 +01:00
* @deprecated See {@link
* com.pahimar.ee3.api.event.BlacklistEvent.ExchangeBlacklistEvent}
*/
2023-01-03 17:47:36 +01:00
public static class SetNotRecoverableEvent extends AbilityEvent {
public SetNotRecoverableEvent(Object object) {
super(object);
}
}
}