Interface EffectEventContext
@NonExtendable
public interface EffectEventContext
Context for mob effect events.
-
Method Summary
-
Method Details
-
isFromCommand
boolean isFromCommand()- Returns:
- whether the caller of the event is a command
-
commandName
@Nullable String commandName()- Returns:
- the name of the command the event was called in
or
nullifisFromCommand()returns false
-