This commit is contained in:
Timofey Gelazoniya 2022-06-08 00:02:23 +03:00
parent 28aadb77ce
commit 303659fef8
Signed by: zeldon
GPG Key ID: 047886915281DD2A
4 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.11-SNAPSHOT'
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'maven-publish'
}

View File

@ -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

View File

@ -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<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction face, Random random) {
// return Collections.emptyList();
// }
@Override
public List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction face, Random random) {
return Collections.emptyList();
return null;
}
@Override

View File

@ -31,7 +31,7 @@
"depends": {
"fabricloader": ">=0.13.3",
"fabric": "*",
"minecraft": "~1.18.2",
"minecraft": "~1.19",
"java": ">=17"
},
"suggests": {