Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Minecraft 1.20.4 #41

Merged
merged 2 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SigmaUtils ![build](/~https://github.com/Basicprogrammer10/SigmaUtils/actions/workflows/build.yml/badge.svg) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/Basicprogrammer10/SigmaUtils?include_prereleases) ![GitHub all releases](https://img.shields.io/github/downloads/Basicprogrammer10/SigmaUtils/total)

Requires: <kbd>[Minecraft 1.20.3](https://minecraft.wiki/w/Java_Edition_1.20.3)</kbd> <kbd>[Fabric API](https://modrinth.com/mod/fabric-api/version/0.91.1+1.20.3)</kbd>
Requires: <kbd>[Minecraft 1.20.4](https://minecraft.wiki/w/Java_Edition_1.20.4)</kbd> <kbd>[Fabric API](https://modrinth.com/mod/fabric-api/version/0.92.0+1.20.4)</kbd>

SigmaUtils is a utility mod for Minecraft 1.20.3.
SigmaUtils is a utility mod for Minecraft 1.20.4.
It is made up of 'modules', which are discrete features that can be toggled and configured.
By default, SigmaUtils changes nothing about the game, except adding a button to the title screen to open the config
GUI.
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
minecraft_version=1.20.3
yarn_mappings=1.20.3+build.1
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.3
# Mod Properties
mod_version=0.1.8-alpha
mod_version=0.1.9-alpha
maven_group=com.connorcode
archives_base_name=sigma-utils
# Dependencies
fabric_version=0.91.1+1.20.3
fabric_version=0.92.0+1.20.4
mod_menu_version=9.0.0
2 changes: 1 addition & 1 deletion src/main/java/com/connorcode/sigmautils/SigmaUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

@Environment(EnvType.CLIENT)
public class SigmaUtils implements ClientModInitializer {
public static final String VERSION = "0.1.8-alpha";
public static final String VERSION = "0.1.9-alpha";
public static final MinecraftClient client = MinecraftClient.getInstance();
public static final Logger logger = LogUtils.getLogger();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.nbt.NbtIo;
import net.minecraft.nbt.NbtTagSizeTracker;
import net.minecraft.nbt.NbtSizeTracker;
import net.minecraft.network.packet.s2c.login.LoginSuccessS2CPacket;
import net.minecraft.network.packet.s2c.play.PlayerListS2CPacket;

Expand Down Expand Up @@ -75,7 +75,7 @@ void onPacketReceive(PacketReceiveEvent packet) {

void loadPlayers() throws IOException {
if (!playerFile.exists()) return;
var nbt = NbtIo.readCompressed(playerFile.toPath(), NbtTagSizeTracker.ofUnlimitedBytes());
var nbt = NbtIo.readCompressed(playerFile.toPath(), NbtSizeTracker.ofUnlimitedBytes());
synchronized (seenPlayers) {
for (var server : nbt.getKeys()) {
var players = new HashMap<UUID, SeenPlayer>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"depends": {
"fabricloader": ">=0.14.22",
"fabric": "*",
"minecraft": "1.20.3"
"minecraft": "1.20.4"
},
"custom": {
"modmenu": {
Expand Down