version number upgrade

This commit is contained in:
Jörg Henke 2021-07-07 15:03:04 +02:00
parent 808894c285
commit cbcf128f3d
5 changed files with 15 additions and 11 deletions

View File

@ -1,10 +1,10 @@
plugins {
id 'fabric-loom' version '0.6-SNAPSHOT'
id 'fabric-loom' version '0.8-SNAPSHOT'
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
archivesBaseName = project.archives_base_name
version = project.mod_version
@ -41,6 +41,7 @@ processResources {
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
it.options.release = 16
}
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
@ -52,7 +53,9 @@ task sourcesJar(type: Jar, dependsOn: classes) {
}
jar {
from "LICENSE"
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}" }
}
}
// configure the maven publication

View File

@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=21w13a
yarn_mappings=21w13a+build.51
minecraft_version=1.17
yarn_mappings=1.17+build.13
loader_version=0.11.3
# Mod Properties
@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
# 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.32.6+1.17
fabric_version=0.36.0.+1.17

View File

@ -171,7 +171,7 @@ public class RegistryManager {
BlockEntityType<? extends T> blockEntityType = builder.build(null);
return Registry.register(Registry.BLOCK_ENTITY_TYPE, fullname, blockEntityType);
}
@SuppressWarnings("unchecked")
public static final void registerBlockEntities() {
LOGGER.debug("registering quickiefabric block entities");

View File

@ -26,9 +26,10 @@
"quickiefabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.7.4",
"fabricloader": ">=0.11.3",
"fabric": "*",
"minecraft": "1.16.x"
"minecraft": "1.17.x",
"java": ">=16"
},
"suggests": {
"flamingo": "*"

View File

@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "de.jottyfan.minecraft.quickiefabric.mixin",
"compatibilityLevel": "JAVA_8",
"compatibilityLevel": "JAVA_16",
"mixins": [
"FeatureConfigMixin",
"BlockBreakMixin"