-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
forge/src/main/java/muramasa/antimatter/common/event/forge/ARRPEvents.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package muramasa.antimatter.common.event.forge; | ||
|
||
import muramasa.antimatter.datagen.AntimatterDynamics; | ||
import net.devtech.arrp.api.RRPEvent; | ||
import net.minecraftforge.eventbus.api.EventPriority; | ||
import net.minecraftforge.eventbus.api.SubscribeEvent; | ||
|
||
public class ARRPEvents { | ||
@SubscribeEvent(priority = EventPriority.LOWEST) | ||
public static void onResourcePackAfterVanilla(RRPEvent.AfterVanilla event){ | ||
AntimatterDynamics.addResourcePacks(event::addPack); | ||
} | ||
|
||
@SubscribeEvent(priority = EventPriority.LOWEST) | ||
public static void onResourcePackBeforeUser(RRPEvent.BetweenModsAndUser event){ | ||
AntimatterDynamics.addDataPacks(event::addPack); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters