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

1.20.4 #69

Open
wants to merge 1 commit into
base: migrate_to_1.20.2
Choose a base branch
from
Open
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: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ Syncmaticas functionality :)

Use [v0.3.11-1.18.2](https://github.com/End-Tech/syncmatica/releases/tag/v0.3.11-1.18.2) for 1.18 or 1.19.
Use [v0.3.11-1.20.1](https://github.com/End-Tech/syncmatica/releases/tag/v0.3.11-1.20.1) for 1.20+.
Use [v0.3.12-1.20.2]() for 1.20.2.
Use [v0.3.12-1.20.4]() for 1.20.4.

### Client

You first need to install fabric and add the litematica and malilib mods to your client. The next step is to move the
Syncmatica mod file to the mod folder. Now you are ready to go.

Versions as old as v0.0.0-dev.20210106.181551 appear to cause issues due to a field renaming or not existing or being
invisible. If you have versions as old as that you will have to update or Syncmatica may not function properly.

Expand Down
3 changes: 2 additions & 1 deletion build.gradle

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps revert this change, and you should be good.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ dependencies {
modImplementation "curse.maven:litematica-${project.litematica_minecraft_version}-308892:${project.litematica_fileid}"
modImplementation "curse.maven:malilib-${project.litematica_minecraft_version}-303119:${project.malilib_fileid}"

modImplementation "net.fabricmc.fabric-api:fabric-resource-loader-v0:${project.fabric_resource_loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// modImplementation "net.fabricmc.fabric-api:fabric-resource-loader-v0:${project.fabric_resource_loader_version}"
}

processResources {
Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.14.23
fabric_version=0.90.4+1.20.2
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.3
fabric_version=0.91.3+1.20.4

# Mod Properties
mod_version = 0.3.11
maven_group = ch.endte
archives_base_name = syncmatica

# Dependencies
litematica_fileid=4789765
malilib_fileid=4788432
litematica_minecraft_version=1.20.2
fabric_resource_loader_version = 0.11.11+86b12645a0
litematica_fileid=4946471
malilib_fileid=4946328
litematica_minecraft_version=1.20.4
# fabric_resource_loader_version = 0.11.11+86b12645a0
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class MixinClientPlayNetworkHandler {
@Unique
public ExchangeTarget exTarget = null;

@Inject(method = "method_52801", at = @At("HEAD"), cancellable = true)
@Inject(method = "warnOnUnknownPayload", at = @At("HEAD"), cancellable = true)
private void handlePacket(CustomPayload customPayload, CallbackInfo ci) {
// ChannelManager.onChannelRegisterHandle(getExchangeTarget(), packet.getChannel(), packet.getData());
if (!MinecraftClient.getInstance().isOnThread()) {
Expand Down