Class PlanFabricEvents
java.lang.Object
net.playeranalytics.plan.gathering.listeners.events.PlanFabricEvents
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnCommand> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnEnable> Called when Plan is enabled.static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnGameModeChange> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnClientHandshake> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnPlayerKicked> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnKilled> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnLogin> static final net.fabricmc.fabric.api.event.Event
<PlanFabricEvents.OnMove> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ON_KILLED
-
ON_COMMAND
-
ON_MOVE
-
ON_GAMEMODE_CHANGE
public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnGameModeChange> ON_GAMEMODE_CHANGE -
ON_KICKED
-
ON_LOGIN
-
ON_HANDSHAKE
public static final net.fabricmc.fabric.api.event.Event<PlanFabricEvents.OnClientHandshake> ON_HANDSHAKE -
ON_ENABLE
Called when Plan is enabled.This includes, but might not be limited to:
- First time the plugin enables successfully
- Plan is reloaded
- Plan is enabled after it was disabled
This event provides full access to the Plan instance. However, it is advised to only call
PlanPlugin.isSystemEnabled()
to determine if the enable was successful. It is not guaranteed that this event is called when the plugin fails to enable properly.
-
-
Constructor Details
-
PlanFabricEvents
public PlanFabricEvents()
-