Fabric 1.20.1 & dependency updates

This commit is contained in:
Jason Penilla committed 2023-06-17 17:13:22 -07:00
1 parent 62e29dc8ed
commit f8b525d58b
6 files changed
+12 -11

No files matched your search

@@ -27,7 +27,7 @@ modrinth {
token.set(providers.environmentVariable("MODRINTH_TOKEN"))
required.project("luckperms")
optional.project("miniplaceholders")
gameVersions.add("1.19.4")
gameVersions.addAll("1.19.4", "1.20.1")
}
//val projectVersion = version as String
+1 -1
View File
@@ -18,7 +18,7 @@ hangarPublish.publications.register("plugin") {
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
platforms.register(Platforms.PAPER) {
jar.set(project(":carbonchat-paper").the<CarbonPlatformExtension>().jarTask.flatMap { it.archiveFile })
platformVersions.add("1.19.4")
platformVersions.add("1.19.4-1.20.1")
dependencies {
url("LuckPerms", "https://luckperms.net/")
hangar("EssentialsX", "Essentials") {
+3 -2
View File
@@ -15,8 +15,8 @@ dependencies {
minecraft(libs.fabricMinecraft)
mappings(loom.officialMojangMappings())
modImplementation(libs.fabricLoader)
modImplementation("net.fabricmc.fabric-api:fabric-api:0.76.0+1.19.4")
modImplementation("net.fabricmc.fabric-api:fabric-api-deprecated:0.76.0+1.19.4") // LuckPerms needs to work at dev time
modImplementation("net.fabricmc.fabric-api:fabric-api:0.83.0+1.20.1")
modImplementation("net.fabricmc.fabric-api:fabric-api-deprecated:0.83.0+1.20.1") // LuckPerms needs to work at dev time
carbon(projects.carbonchatCommon) {
exclude("net.kyori", "adventure-api")
@@ -72,5 +72,6 @@ tasks {
}
modrinth {
gameVersions.set(listOf(libs.versions.fabricMinecraft.get()))
loaders.addAll("fabric")
}
@@ -131,7 +131,7 @@ public class FabricChatHandler implements ServerMessageEvents.AllowChatMessage {
final Component nativeMessage = FabricAudiences.nonWrappingSerializer().serialize(finishedMessage);
final PlayerChatMessage customChatMessage = new PlayerChatMessage(chatMessage.link(), chatMessage.signature(), chatMessage.signedBody(), nativeMessage, FilterMask.FULLY_FILTERED);
final ChatType.Bound customBound = ChatType.bind(CarbonChatFabric.CHAT_TYPE, serverPlayer.level.registryAccess(), nativeMessage);
final ChatType.Bound customBound = ChatType.bind(CarbonChatFabric.CHAT_TYPE, serverPlayer.level().registryAccess(), nativeMessage);
if (recipient instanceof CommandSourceStack recipientSource) {
recipientSource.sendChatMessage(new OutgoingChatMessage.Player(customChatMessage), false, customBound);
@@ -119,7 +119,7 @@ public class CarbonPlayerFabric extends WrappedCarbonPlayer implements Forwardin
return false;
}
return player.get().getLevel().equals(otherPlayer.getLevel());
return player.get().level().equals(otherPlayer.level());
}
@Override
+5 -5
View File
@@ -14,13 +14,13 @@ plugins:
versions:
indra: *indra
licenser: 0.6.1
shadow: 8.1.0
adventure: 4.13.0
shadow: 8.1.1
adventure: 4.14.0
cloud: 1.8.3
cloudSponge: 1.8.0-SNAPSHOT
configurate: 4.1.2
typesafeConfig: 1.4.1
checkerQual: 3.32.0
checkerQual: 3.35.0
stylecheck: 0.1
gson: 2.10
guava: 30.1-jre
@@ -35,8 +35,8 @@ versions:
guice: 5.1.0
velocityApi: 3.2.0-SNAPSHOT
geantyref: 1.3.11
fabricMinecraft: 1.19.4
fabricLoader: 0.14.17
fabricMinecraft: 1.20.1
fabricLoader: 0.14.21
adventurePlatformFabric: 5.8.0
luckPermsApi: 5.3
essentialsx: 2.19.3