Update to 1.21.3

This commit is contained in:
Dan Mulloy 2024-11-08 11:03:51 -06:00
parent 3155e76d06
commit bcff6c6719
No known key found for this signature in database
GPG Key ID: BFACD592A5F0DFD6
3 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ group = "com.comphenix.protocol"
version = "5.4.0-SNAPSHOT"
description = "Provides access to the Minecraft protocol"
val mcVersion = "1.21.2"
val mcVersion = "1.21.3"
val isSnapshot = version.toString().endsWith("-SNAPSHOT")
val buildNumber = System.getenv("BUILD_NUMBER") ?: ""
val isJenkins = buildNumber.isNotEmpty()
@ -26,11 +26,11 @@ repositories {
mavenCentral()
maven {
url = uri("https://repo.dmulloy2.net/repository/public/")
url = uri("https://repo.codemc.io/repository/nms/")
}
maven {
url = uri("https://repo.codemc.io/repository/nms/")
url = uri("https://repo.dmulloy2.net/repository/public/")
}
maven {

View File

@ -26,7 +26,7 @@ public class WrappedRegistrableTest {
// some randomly selected registrables which we can prove that work using the bukkit api
validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey());
validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey());
validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey());
validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey());
validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey());
validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey());
}

View File

@ -26,7 +26,7 @@ public class WrappedRegistryTest {
// some randomly selected registries which we can proof to work using the bukkit api
validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey());
validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey());
validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey());
validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey());
validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey());
validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey());
}