Skip to content

Commit

Permalink
1.20.6 port
Browse files Browse the repository at this point in the history
  • Loading branch information
acikek committed May 2, 2024
1 parent c07c42e commit 81ebcb2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.3-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}

Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.14.21
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.10

# Mod Properties
mod_version = 6.0.0+j1.2.3
mod_version = 7.0.0+j1.2.3
maven_group = io.github.cottonmc
archives_base_name = Jankson

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 0 additions & 2 deletions src/main/java/io/github/cottonmc/jankson/JanksonFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.entity.BannerPattern;
import net.minecraft.block.entity.BlockEntityType;
import net.minecraft.command.argument.serialize.ArgumentSerializer;
import net.minecraft.enchantment.Enchantment;
Expand Down Expand Up @@ -94,7 +93,6 @@ public static Jankson.Builder builder() {
//Note: specifically excludes dynamic registries since we can't have static access to them.
register(builder, Activity.class, Registries.ACTIVITY);
register(builder, ArgumentSerializer.class, Registries.COMMAND_ARGUMENT_TYPE);
register(builder, BannerPattern.class, Registries.BANNER_PATTERN);
register(builder, Block.class, Registries.BLOCK);
register(builder, BlockEntityType.class, Registries.BLOCK_ENTITY_TYPE);
register(builder, BlockPredicateType.class, Registries.BLOCK_PREDICATE_TYPE);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sources": "https://github.com/CottonMC/Jankson-Fabric"
},
"depends": {
"minecraft": ">=1.20.1"
"minecraft": ">=1.20.6"
},

"license": "MIT",
Expand Down

0 comments on commit 81ebcb2

Please sign in to comment.