Migrate to 1.20.1
This commit is contained in:
parent
6138a77cd2
commit
6de4a49d20
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '1.0-SNAPSHOT'
|
||||
id 'fabric-loom' version '1.3-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
|
||||
@ -1,23 +1,17 @@
|
||||
# Done to increase the memory available to gradle.
|
||||
org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
minecraft_version=1.19.2
|
||||
yarn_mappings=1.19.2+build.8
|
||||
loader_version=0.14.9
|
||||
mod_version = 1.20.1-1.4.1
|
||||
maven_group = me.neophyte.mods.savecoords
|
||||
archives_base_name = save-coordinates
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.19.2-1.3.1
|
||||
maven_group = me.neophyte.mods.savecoords
|
||||
archives_base_name = save-coordinates
|
||||
minecraft_version=1.20.1
|
||||
yarn_mappings=1.20.1+build.9
|
||||
loader_version=0.14.21
|
||||
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.60.0+1.19.2
|
||||
|
||||
# https://github.com/CottonMC/LibGui/wiki/Setup
|
||||
libgui_version=6.3.0+1.19
|
||||
|
||||
# https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/
|
||||
modmenu_version=4.1.0
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.85.0+1.20.1
|
||||
# https://github.com/CottonMC/LibGui/wiki/Setup
|
||||
libgui_version=8.0.1+1.20
|
||||
# https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/
|
||||
modmenu_version=7.1.0
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@ -16,6 +16,6 @@ class PingPositionOperation extends ViewOperationBase<PlayerRawPosition> {
|
||||
@SuppressWarnings("resource")
|
||||
@Override
|
||||
protected void executeOperation(IFileStore fileStore, PlayerRawPosition position) throws Exception {
|
||||
MinecraftClient.getInstance().player.sendChatMessage(position.toString(), Text.of(position.toString()));
|
||||
MinecraftClient.getInstance().player.sendMessage(Text.of(position.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,6 +3,7 @@ package me.neophyte.mods.savecoords.gui.impl;
|
||||
import io.github.cottonmc.cotton.gui.client.ScreenDrawing;
|
||||
import io.github.cottonmc.cotton.gui.widget.WButton;
|
||||
import io.github.cottonmc.cotton.gui.widget.data.HorizontalAlignment;
|
||||
import net.minecraft.client.gui.DrawContext;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.text.Text;
|
||||
import net.minecraft.util.Identifier;
|
||||
@ -20,7 +21,7 @@ public class TexturedButton extends WButton {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paint(MatrixStack matrices, int x, int y, int mouseX, int mouseY) {
|
||||
public void paint(DrawContext matrices, int x, int y, int mouseX, int mouseY) {
|
||||
super.paint(matrices, x, y, mouseX, mouseY);
|
||||
|
||||
if (texture != null) {
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
"contact": {
|
||||
"homepage": "https://github.com/cool-mist/SaveCoordinates",
|
||||
"sources": "https://github.com/cool-mist/SaveCoordinates",
|
||||
"issues" : "https://github.com/cool-mist/SaveCoordinates/issues"
|
||||
"issues": "https://github.com/cool-mist/SaveCoordinates/issues"
|
||||
},
|
||||
"license": "LGPLv3",
|
||||
"icon": "assets/savecoords/icon.png",
|
||||
@ -27,10 +27,10 @@
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14.9",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.19.x",
|
||||
"minecraft": "1.20.x",
|
||||
"java": ">=17"
|
||||
},
|
||||
"suggests": {
|
||||
"another-mod": "modmenu"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user