Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Jan 7, 2024
1 parent fdc8a5c commit 735fd77
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

## [4.0.0]

- Update neo,forge,fabric loader versions

## [4.0.0]

- Ported to 1.20.4

## [3.0.2]
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ side = "BOTH"
[[dependencies.bambooeverything]]
modId = "architectury"
mandatory = true
versionRange = "[11.0.8,)"
versionRange = "[11.0.10,)"
ordering = "AFTER"
side = "BOTH"
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ minecraft_version=1.20.4
enabled_platforms=fabric,forge,neoforge

archives_base_name=BambooEverything
mod_version=4.0.0
mod_version=4.1.0
maven_group=dev.wuffs

architectury_version=11.0.8
architectury_version=11.0.10

fabric_loader_version=0.15.1
fabric_api_version=0.91.2+1.20.4
fabric_loader_version=0.15.3
fabric_api_version=0.92.1+1.20.4

forge_version=1.20.4-49.0.3
forge_version=1.20.4-49.0.14

# Neo
neo_version=20.4.3-beta
neo_version=20.4.80-beta
neo_gradle=[7.0.60,)

# Publishing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
import dev.architectury.utils.EnvExecutor;
import dev.wuffs.BambooEverything;
import dev.wuffs.BambooEverythingClient;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
import net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent;
import net.neoforged.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod(BambooEverything.MOD_ID)
public class BambooEverythingForge {
public BambooEverythingForge() {
public BambooEverythingForge(IEventBus modEventBus) {
// Event.registerModEventBus(BambooEverything.MOD_ID, FMLJavaModLoadingContext.get().getModEventBus());
BambooEverything.init();
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientSetup);
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::commonSetup);
modEventBus.addListener(this::clientSetup);
modEventBus.addListener(this::commonSetup);
EnvExecutor.runInEnv(Env.CLIENT, ()-> BambooEverythingClient::init);
}

Expand Down
8 changes: 4 additions & 4 deletions neoforge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ All things bamboo

[[dependencies.bambooeverything]]
modId = "neoforge"
mandatory = true
required = true
versionRange = "[1,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.bambooeverything]]
modId = "minecraft"
mandatory = true
required = true
versionRange = "[1.20.4,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.bambooeverything]]
modId = "architectury"
mandatory = true
versionRange = "[11.0.8,)"
required = true
versionRange = "[11.0.10,)"
ordering = "AFTER"
side = "BOTH"
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pluginManagement {
repositories {
maven { url "https://maven.wuffs.wtf/releases" }
// maven { url "https://maven.neomc.dev/releases" }
// maven { url "https://maven.creeperhost.net/" }
maven { url "https://maven.fabricmc.net/" }
maven { url "https://maven.architectury.dev/" }
Expand Down

0 comments on commit 735fd77

Please sign in to comment.