From 7f40b4294f64d8757f2b20e1cd5c3fc3484ea9e1 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sat, 12 Jan 2019 14:42:30 -0800 Subject: [PATCH] mcMMO now fires many new custom events relating to scoreboards --- .../nossr50/events/scoreboard/McMMOScoreboardEvent.java | 4 ++++ .../events/scoreboard/McMMOScoreboardMakeboardEvent.java | 4 ++++ .../events/scoreboard/McMMOScoreboardObjectiveEvent.java | 4 ++++ .../events/scoreboard/McMMOScoreboardRevertEvent.java | 4 ++++ .../nossr50/events/scoreboard/ScoreboardEventReason.java | 7 +++++++ .../events/scoreboard/ScoreboardObjectiveEventReason.java | 4 ++++ 6 files changed, 27 insertions(+) create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardEvent.java create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardMakeboardEvent.java create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardObjectiveEvent.java create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardRevertEvent.java create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardEventReason.java create mode 100644 src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardObjectiveEventReason.java diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardEvent.java b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardEvent.java new file mode 100644 index 000000000..6280496c0 --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardEvent.java @@ -0,0 +1,4 @@ +package com.gmail.nossr50.events.scoreboard; + +public class McMMOScoreboardEvent { +} diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardMakeboardEvent.java b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardMakeboardEvent.java new file mode 100644 index 000000000..24b64112e --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardMakeboardEvent.java @@ -0,0 +1,4 @@ +package com.gmail.nossr50.events.scoreboard; + +public class McMMOScoreboardMakeboardEvent { +} diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardObjectiveEvent.java b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardObjectiveEvent.java new file mode 100644 index 000000000..173f0a5d8 --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardObjectiveEvent.java @@ -0,0 +1,4 @@ +package com.gmail.nossr50.events.scoreboard; + +public class McMMOScoreboardObjectiveEvent { +} diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardRevertEvent.java b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardRevertEvent.java new file mode 100644 index 000000000..cbe44d905 --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/McMMOScoreboardRevertEvent.java @@ -0,0 +1,4 @@ +package com.gmail.nossr50.events.scoreboard; + +public class McMMOScoreboardRevertEvent { +} diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardEventReason.java b/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardEventReason.java new file mode 100644 index 000000000..6fe31c898 --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardEventReason.java @@ -0,0 +1,7 @@ +package com.gmail.nossr50.events.scoreboard; + +public enum ScoreboardEventReason { + CREATING_NEW_SCOREBOARD, + OBJECTIVE, + REVERTING_BOARD, +} diff --git a/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardObjectiveEventReason.java b/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardObjectiveEventReason.java new file mode 100644 index 000000000..e15b5947d --- /dev/null +++ b/src/main/java/com/gmail/nossr50/events/scoreboard/ScoreboardObjectiveEventReason.java @@ -0,0 +1,4 @@ +package com.gmail.nossr50.events.scoreboard; + +public enum ScoreboardObjectiveEventReason { +}