diff --git a/README.md b/README.md
index 0987f26..82bb26d 100644
--- a/README.md
+++ b/README.md
@@ -3,12 +3,13 @@



+
[](https://www.curseforge.com/minecraft/mc-mods/funnel)
-This mod add a funnel block that drop items inside it below it one by one. Can be turned off by powering it with
+This mod adds a funnel block that drops items inside it below it one by one. It can be turned off by powering it with
redstone.
diff --git a/gradle.properties b/gradle.properties
index 618178f..68781a7 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx2G
# Fabric Properties
# check these on https://fabricmc.net/use
-minecraft_version=1.18.2
-yarn_mappings=1.18.2+build.1
-loader_version=0.13.3
+minecraft_version=1.19.2
+yarn_mappings=1.19.2+build.28
+loader_version=0.14.11
# Mod Properties
-mod_version=1.0.0
+mod_version=1.0.0-1.19.2
maven_group=slexom.vf
archives_base_name=funnel
# 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.47.8+1.18.2
+fabric_version=0.69.0+1.19.2
\ No newline at end of file
diff --git a/src/main/java/slexom/vf/funnel/block/entity/FunnelBlockEntity.java b/src/main/java/slexom/vf/funnel/block/entity/FunnelBlockEntity.java
index 538d1f9..6ba5c92 100644
--- a/src/main/java/slexom/vf/funnel/block/entity/FunnelBlockEntity.java
+++ b/src/main/java/slexom/vf/funnel/block/entity/FunnelBlockEntity.java
@@ -12,7 +12,6 @@
import net.minecraft.screen.NamedScreenHandlerFactory;
import net.minecraft.screen.ScreenHandler;
import net.minecraft.text.Text;
-import net.minecraft.text.TranslatableText;
import net.minecraft.util.collection.DefaultedList;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
@@ -49,12 +48,12 @@ public void writeNbt(NbtCompound nbt) {
@Override
public Text getDisplayName() {
- return new TranslatableText(getCachedState().getBlock().getTranslationKey());
+ return Text.translatable(getCachedState().getBlock().getTranslationKey());
}
@Override
protected Text getContainerName() {
- return new TranslatableText(getCachedState().getBlock().getTranslationKey());
+ return Text.translatable(getCachedState().getBlock().getTranslationKey());
}
@Override
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 453a850..8c54356 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -25,9 +25,9 @@
"mixins": [
],
"depends": {
- "fabricloader": ">=0.13.3",
+ "fabricloader": ">=0.14.11",
"fabric": "*",
- "minecraft": "1.18.x",
+ "minecraft": "1.19.2",
"java": ">=17"
},
"suggests": {