Skip to content

Commit

Permalink
Merge pull request #18 from DancingSnow0517/update-registrate
Browse files Browse the repository at this point in the history
update registrate
  • Loading branch information
DancingSnow0517 authored Aug 5, 2024
2 parents cd3d417 + db5f951 commit 73df37e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ mod_authors= DancingSnow
mod_description = A mod added more ae cells and so on.
mod_license = MIT
mod_url = https://github.com/GregTech-Exploring-Pioneer/BiggerAE2
mod_version = 1.4.1
mod_version = 1.4.2

maven_group = cn.dancingsnow.bigger_ae2
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencyResolutionManagement {

// NeoForge
def neoForgeVersion = "21.0.16-beta"
def registrateForgeVersion = "MC1.21-1.3.0+16"
def registrateForgeVersion = "MC1.21-1.3.0+50"
def jadeForgeVersion = "15.0.4+neoforge"
def topForgeVersion = "1.20.4_neo-11.0.0-1"

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/cn/dancingsnow/bigger_ae2/BiggerAE2Mod.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import net.minecraft.server.packs.repository.Pack;
import net.minecraft.server.packs.repository.PackSource;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent;
import net.neoforged.neoforge.event.AddPackFindersEvent;
Expand All @@ -37,7 +36,7 @@ public class BiggerAE2Mod {

public static final Registrate REGISTRATE = Registrate.create(MOD_ID);

public BiggerAE2Mod(IEventBus modEventBus, ModContainer container) {
public BiggerAE2Mod(IEventBus modEventBus) {

ModCreativeTab.register();
ModItems.register();
Expand All @@ -56,8 +55,6 @@ public BiggerAE2Mod(IEventBus modEventBus, ModContainer container) {
modEventBus.addListener(BiggerAE2Mod::initStorageCells);
modEventBus.addListener(BiggerAE2Mod::packSetup);

REGISTRATE.registerEventListeners(modEventBus);

BiggerAE2Datagen.init();
}

Expand Down

0 comments on commit 73df37e

Please sign in to comment.