Class GameRuleChangeEvent
java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.gamerule.GameRuleChangeEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionGameRuleChangeEvent(@NotNull GameRuleScope scope, String ruleName, String sourceArenaName, @NotNull GameRuleMutationResult result) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListGets the handler list for this event.@NotNull GameRuleMutationResult@NotNull GameRuleScopegetScope()Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
GameRuleChangeEvent
public GameRuleChangeEvent(@NotNull @NotNull GameRuleScope scope, String ruleName, String sourceArenaName, @NotNull @NotNull GameRuleMutationResult result)
-
-
Method Details
-
getScope
-
getRuleName
-
getSourceArenaName
-
getResult
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()Description copied from class:ZentrixEventGets the handler list for this event.- Overrides:
getHandlersin classZentrixEvent- Returns:
- The handler list
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-