diff --git a/build.gradle b/build.gradle index 27ac707..68661f8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.11-SNAPSHOT' + id 'fabric-loom' version '0.12-SNAPSHOT' id 'maven-publish' } diff --git a/gradle.properties b/gradle.properties index fc45ee5..6ecf98c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop - minecraft_version=1.18.2 - yarn_mappings=1.18.2+build.1 - loader_version=0.13.3 + minecraft_version=1.19 + yarn_mappings=1.19+build.1 + loader_version=0.14.6 # Mod Properties - mod_version = 1.1.0-1.18.2 + mod_version = 1.1.0-1.19.0 maven_group = ru.xzeldon.greenscreenmod archives_base_name = greenscreenmod # Dependencies - fabric_version=0.47.8+1.18.2 + fabric_version=0.55.2+1.19 diff --git a/src/main/java/ru/xzeldon/greenscreenmod/model/GreenScreenBlockModel.java b/src/main/java/ru/xzeldon/greenscreenmod/model/GreenScreenBlockModel.java index 9618aba..be8d757 100644 --- a/src/main/java/ru/xzeldon/greenscreenmod/model/GreenScreenBlockModel.java +++ b/src/main/java/ru/xzeldon/greenscreenmod/model/GreenScreenBlockModel.java @@ -22,6 +22,7 @@ import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Direction; +import net.minecraft.util.math.random.Random; import net.minecraft.world.BlockRenderView; import org.jetbrains.annotations.Nullable; @@ -91,9 +92,14 @@ public class GreenScreenBlockModel implements UnbakedModel, BakedModel, FabricBa return this; } +// @Override +// public List getQuads(@Nullable BlockState state, @Nullable Direction face, Random random) { +// return Collections.emptyList(); +// } + @Override public List getQuads(@Nullable BlockState state, @Nullable Direction face, Random random) { - return Collections.emptyList(); + return null; } @Override diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 850d3c5..67e5d81 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,7 +31,7 @@ "depends": { "fabricloader": ">=0.13.3", "fabric": "*", - "minecraft": "~1.18.2", + "minecraft": "~1.19", "java": ">=17" }, "suggests": {