Skip to content

Commit

Permalink
🏷️ 1.6.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed May 1, 2024
1 parent 264741d commit d7f42be
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ From [CurseForge](https://curseforge.com/minecraft/mc-mods/ultreonlib) or [Modri

## License Notes
* The package `io.github.xypercode.craftyconfig` and all it's subpackages are licensed under AGPL v3.
Originates from [Ultracraft](https://github.com/Ultreon/ultracraft).
Originates from [Quantum Voxel](https://github.com/Ultreon/quantum-voxel).
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

import net.minecraft.client.gui.components.Button;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;

@Mixin(Button.class)
public interface ButtonAccessor {
@Mutable
@Accessor("onPress")
void setOnPress(Button.OnPress onPress);
@Accessor("onPress")
Expand Down
6 changes: 3 additions & 3 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
],
"depends": {
"fabricloader": ">=0.14.22",
"minecraft": ">=1.20.2 <1.20.3",
"minecraft": "1.20.4",
"fabric-api": "*",
"architectury": ">=10 <11",
"forgeconfigapiport": ">=9 <10"
"architectury": "11.*",
"forgeconfigapiport": "20.4.*"
},
"suggests": {
"modmenu": "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ public class UltreonLibForge {
private final UltreonLib ultreonLib;

public UltreonLibForge() {
ultreonLib = UltreonLib.create();

EventBuses.registerModEventBus(UltreonLib.MOD_ID, FMLJavaModLoadingContext.get().getModEventBus());
MOD_EVENTBUS = FMLJavaModLoadingContext.get().getModEventBus();

ultreonLib = UltreonLib.create();
FMLJavaModLoadingContext javaFmlLoadingCtx = FMLJavaModLoadingContext.get();
ModLoadingContext loadingCtx = ModLoadingContext.get();
IEventBus forgeEventBus = MinecraftForge.EVENT_BUS;
Expand Down
7 changes: 7 additions & 0 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ mandatory = true
versionRange = "[11,12)"
ordering = "NONE"
side = "BOTH"

[[dependencies.ultreonlib]]
modId = "forgeconfigapiport"
mandatory = true
versionRange = "[20.4,20.5)"
ordering = "BEFORE"
side = "BOTH"
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx5G
minecraft_version=1.20.4
archives_base_name=ultreonlib
mod_version=1.6.0
mod_version=1.6.0-beta.1
maven_group=com.ultreon.mods
architectury_version=11.1.17
fabric_loader_version=0.14.24
Expand Down
1 change: 0 additions & 1 deletion neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ processResources {

shadowJar {
exclude "fabric.mod.json"
exclude "architectury.common.json"

configurations = [project.configurations.shadowCommon]
archiveClassifier = "dev-shadow"
Expand Down

0 comments on commit d7f42be

Please sign in to comment.