aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-01-20 15:21:10 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-01-20 15:21:10 +0800
commit855f72d9f730ce54be6167259f33bf1785b140fb (patch)
tree7a12beed35ee2466c75c85eab3b3edc90240f53a /src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java
parent277a10844312a2d8310875cfbd4205772a11445b (diff)
downloadRoughlyEnoughItems-2.0.0.11.tar.gz
RoughlyEnoughItems-2.0.0.11.tar.bz2
RoughlyEnoughItems-2.0.0.11.zip
Fixes malilib crash *sighs*v2.0.0.11
Diffstat (limited to 'src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java')
-rw-r--r--src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java b/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java
deleted file mode 100644
index 5a1801fb0..000000000
--- a/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsInit.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package me.shedaniel.rei;
-
-import me.shedaniel.rei.client.ClientHelper;
-import me.shedaniel.rei.client.RecipeHelper;
-import me.shedaniel.rei.network.CreateItemsPacket;
-import me.shedaniel.rei.network.DeleteItemsPacket;
-import me.shedaniel.rei.plugin.DefaultPlugin;
-import net.minecraft.util.registry.IRegistry;
-import org.dimdev.rift.listener.MessageAdder;
-import org.dimdev.rift.network.Message;
-import org.dimdev.riftloader.listener.InitializationListener;
-import org.spongepowered.asm.launch.MixinBootstrap;
-import org.spongepowered.asm.mixin.Mixins;
-
-import static me.shedaniel.rei.RoughlyEnoughItemsCore.CREATE_ITEMS_PACKET;
-import static me.shedaniel.rei.RoughlyEnoughItemsCore.DELETE_ITEMS_PACKET;
-
-public class RoughlyEnoughItemsInit implements InitializationListener {
-
- @Override
- public void onInitialization() {
- MixinBootstrap.init();
- Mixins.addConfiguration("roughlyenoughitems.client.json");
- registerREIListeners();
- registerDefaultPlugin();
- }
-
- private void registerREIListeners() {
- RoughlyEnoughItemsCore.registerListener(new ClientHelper());
- RoughlyEnoughItemsCore.registerListener(new RecipeHelper());
- }
-
- private void registerDefaultPlugin() {
- RoughlyEnoughItemsCore.registerPlugin(RoughlyEnoughItemsCore.DEFAULT_PLUGIN, new DefaultPlugin());
- }
-
-}