Skip to content

Commit

Permalink
fix 1.20.3 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed Dec 6, 2023
1 parent 1a9368a commit e29652b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
14 changes: 7 additions & 7 deletions buildscript/buildscript.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Mod Properties
name = visuality
modVersion = 0.7.1+1.20
modVersion = 0.7.2+1.20.3
javaVersion = 17

# Dependencies
minecraftVersion = 1.20.1
yarnMappings = 1.20.1+build.9
fabricLoader = 0.14.21
minecraftVersion = 1.20.3
yarnMappings = 1.20.3+build.1
fabricLoader = 0.14.23
vineflower = 1.9.3

fabricApi = 0.85.0+1.20.1
clothConfig = 11.1.106
modmenu = 7.1.0
fabricApi = 0.91.1+1.20.3
clothConfig = 12.0.109
modmenu = 9.0.0-pre.1
5 changes: 2 additions & 3 deletions src/main/java/visuality/mixin/AmethystClusterMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@

@Mixin(AmethystClusterBlock.class)
public abstract class AmethystClusterMixin extends AmethystBlock implements Waterloggable {
private int visuality$height;
private float visuality$height;

public AmethystClusterMixin(Settings settings) {
super(settings);
}


@Inject(method = "<init>", at = @At("RETURN"))
public void onInit(int height, int xzOffset, Settings settings, CallbackInfo ci) {
public void onInit(float height, float xzOffset, AbstractBlock.Settings settings, CallbackInfo ci) {
this.visuality$height = height;
}

Expand Down
10 changes: 1 addition & 9 deletions src/main/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
Manifest-Version: 1.0
Fabric-Gradle-Version: 8.2.1
Fabric-Loom-Version: 1.3.8
Fabric-Mixin-Compile-Extensions-Version: 0.6.0
Fabric-Minecraft-Version: 1.20.1
Fabric-Tiny-Remapper-Version: 0.8.7
Fabric-Loader-Version: 0.14.21
Fabric-Mixin-Version: 0.12.5+mixin.0.8.5
Fabric-Mixin-Group: net.fabricmc
Fabric-Mapping-Namespace: intermediary
Fabric-Mapping-Namespace: intermediary
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"fabricloader": "*",
"fabric-api": "*",
"cloth-config": "*",
"minecraft": ">=1.20-beta.4 <1.21",
"minecraft": ">=1.20.3 <1.21",
"java": ">=17"
}
}

0 comments on commit e29652b

Please sign in to comment.