Skip to content

Commit

Permalink
port to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
slonkazoid authored and Mari023 committed Jun 15, 2024
1 parent a9b0a90 commit 2ad0c3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.3
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11

# Mod Properties
Expand All @@ -13,4 +13,4 @@ org.gradle.jvmargs=-Xmx1G
archives_base_name = pressalttomeow

# Dependencies
fabric_version=0.99.0+1.20.6
fabric_version=0.100.1+1.21
2 changes: 1 addition & 1 deletion src/main/java/de/mari_023/pressalttomeow/MeowPayload.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.jetbrains.annotations.NotNull;

public class MeowPayload implements CustomPacketPayload {
public static Type<MeowPayload> TYPE = new Type<>(new ResourceLocation("pressalttomeow", "m"));
public static Type<MeowPayload> TYPE = new Type<>(ResourceLocation.tryBuild("pressalttomeow", "m"));
public static StreamCodec<ByteBuf, MeowPayload> CODEC = StreamCodec.of((buffer, value) -> {
}, (buffer) -> new MeowPayload());

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 @@ -29,7 +29,7 @@
"depends": {
"fabric": "*",
"minecraft": [
">=1.20.5"
">=1.21"
],
"java": ">=21"
}
Expand Down

0 comments on commit 2ad0c3c

Please sign in to comment.