@@ -55,11 +55,35 @@ default void serverStopped(FMLServerStoppedEvent event) {}
5555 default void registerPackets () {}
5656
5757 /**
58- * @return A list of classes to subscribe to the Forge event bus.
59- * As the class gets subscribed, not any specific instance, event handlers must be static!
58+ * The class itself gets subscribed, instead of a class instance, so event handlers <strong>must</strong> be
59+ * {@code static}.
60+ *
61+ * @return A list of classes to subscribe to the Forge Event Bus,
62+ * {@link net.minecraftforge.common.MinecraftForge#EVENT_BUS}.
6063 */
61- @ NotNull
62- default List <Class <?>> getEventBusSubscribers () {
64+ default @ NotNull List <Class <?>> getEventBusSubscribers () {
65+ return Collections .emptyList ();
66+ }
67+
68+ /**
69+ * The class itself gets subscribed, instead of a class instance, so event handlers <strong>must</strong> be
70+ * {@code static}.
71+ *
72+ * @return A list of classes to subscribe to the Forge Terrain Gen Bus,
73+ * {@link net.minecraftforge.common.MinecraftForge#TERRAIN_GEN_BUS}.
74+ */
75+ default @ NotNull List <Class <?>> getTerrainGenBusSubscribers () {
76+ return Collections .emptyList ();
77+ }
78+
79+ /**
80+ * The class itself gets subscribed, instead of a class instance, so event handlers <strong>must</strong> be
81+ * {@code static}.
82+ *
83+ * @return A list of classes to subscribe to the Forge Ore Gen Bus,
84+ * {@link net.minecraftforge.common.MinecraftForge#ORE_GEN_BUS}.
85+ */
86+ default @ NotNull List <Class <?>> getOreGenBusSubscribers () {
6387 return Collections .emptyList ();
6488 }
6589
0 commit comments