Skip to content

Commit

Permalink
Update to 1.20.3-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Dec 3, 2023
1 parent 7c51b92 commit 7d60f9d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.1.+'
id 'fabric-loom' version '1.4.+'
id 'maven-publish'
id "com.modrinth.minotaur" version "2.+"
id 'com.matthewprenger.cursegradle' version '1.4.0'
Expand Down Expand Up @@ -42,9 +42,9 @@ dependencies {
//modLocalRuntime fabricApi.module("fabric-api-base", project.fabric_version)

modImplementation include("eu.pb4:predicate-api:0.3.0+1.20.2")
modImplementation include("eu.pb4:placeholder-api:2.1.3+1.20.1")
modImplementation include("eu.pb4:placeholder-api:2.3.0+1.20.3")
modImplementation include("me.lucko:fabric-permissions-api:0.2-SNAPSHOT")
modImplementation include("eu.pb4:player-data-api:0.3.0+1.20.2")
modImplementation include("eu.pb4:player-data-api:0.4.0+1.20.3")

modCompileOnly("maven.modrinth:vanish:1.1.0")
//modLocalRuntime("fr.catcore:server-translations-api:1.4.17+1.19.2")
Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=23w43a
yarn_mappings=23w43a+build.1
loader_version=0.14.24
minecraft_version=1.20.3-rc1
yarn_mappings=1.20.3-rc1+build.1
loader_version=0.15.0

#Fabric api
fabric_version=0.90.5+1.20.3
fabric_version=0.91.1+1.20.3

# Mod Properties

mod_version = 2.3.1+1.20.3
mod_version = 2.4.0+1.20.3
maven_group = eu.pb4
archives_base_name = styled-chat

# Dependencies
is_stable = false
is_stable = true
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions src/main/java/eu/pb4/styledchat/parser/MentionParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public TextNode[] parseInput(String input) {
if (input.isEmpty()) return new TextNode[]{};
for (ServerPlayerEntity player : context.server().getPlayerManager().getPlayerList()) {
if (VANISH && VanishAPI.isVanished(player)) continue;
int startPos = input.indexOf(player.getEntityName());
int startPos = input.indexOf(player.getNameForScoreboard());
if (startPos != -1) {
int endPos = startPos + player.getEntityName().length();
int endPos = startPos + player.getNameForScoreboard().length();
TextNode[] before = parseInput(input.substring(0, startPos));
TextNode mention = new DirectTextNode(style.toText(PlaceholderContext.of(player)));
TextNode[] after = parseInput(input.substring(Math.min(endPos, input.length())));
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
],

"depends": {
"minecraft": ">=1.20-"
"minecraft": ">=1.20.3-",
"fabricloader": ">=0.15.0"
},
"custom": {
"modmenu": {
Expand Down

0 comments on commit 7d60f9d

Please sign in to comment.