Skip to content

Commit

Permalink
Update to 1.20.1 (#14)
Browse files Browse the repository at this point in the history
* Updated to 1.20.1

* Update README.md

Fix Build Badge ([#8671](badges/shields#8671))

* Update mod metadata to depend on same fabricloader version as Carpet 1.4.112

---------

Co-authored-by: R4z0rX <[email protected]>
Co-authored-by: Totorewa <[email protected]>
  • Loading branch information
3 people authored Jul 21, 2023
1 parent 404958d commit 054403e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Toto's Carpet Tweaks

![GitHub](https://img.shields.io/github/license/totorewa/totos-carpet-tweaks?style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/totorewa/totos-carpet-tweaks/build?style=flat-square)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/totorewa/totos-carpet-tweaks/build.yml?style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/totorewa/totos-carpet-tweaks?style=flat-square)
![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/totorewa/totos-carpet-tweaks?display_name=tag&include_prereleases&style=flat-square)
[![CurseForge versions](https://cf.way2muchnoise.eu/versions/633476.svg)](https://www.curseforge.com/minecraft/mc-mods/totos-carpet-tweaks)
Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.2
loader_version=0.12.8
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.8
loader_version=0.14.21

# Mod Properties
mod_version = 0.3.1
mod_version = 0.3.2
maven_group = totos-carpet-tweaks
archives_base_name = totos-carpet-tweaks

# 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.25.1+build.416-1.16
carpet_core_version=1.4.91+v221207
carpet_minecraft_version=1.19.3
carpet_core_version=1.4.112+v230608
carpet_minecraft_version=1.20
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package totoscarpettweaks.mixins.timeofday;

import net.minecraft.registry.DynamicRegistryManager;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.entry.RegistryEntry;
import net.minecraft.server.world.ServerWorld;
Expand All @@ -19,9 +20,10 @@
public abstract class ServerWorldMixin extends World {
protected ServerWorldMixin(
MutableWorldProperties properties, RegistryKey<World> registryRef,
DynamicRegistryManager drm,
RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler,
boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) {
super(properties, registryRef, dimension, profiler, isClient, debugWorld, seed, maxChainedNeighborUpdates);
super(properties, registryRef, drm, dimension, profiler, isClient, debugWorld, seed, maxChainedNeighborUpdates);
}

@Inject(method = "tickTime", at = @At(
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
],

"depends": {
"fabricloader": ">=0.11.3",
"minecraft": "1.19.*",
"fabricloader": ">=0.14.18",
"minecraft": "1.20.*",
"java": ">=17",
"carpet": ">=1.4.80"
"carpet": ">=1.4.112"
},
"suggests": {
},
Expand Down

0 comments on commit 054403e

Please sign in to comment.