Updated Upstream (Paper)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f303a076 fix: Don't hardcode checks for translation registries (#12571)
PaperMC/Paper@87349c31 Fix CombatTracker stale on death (#12562)
PaperMC/Paper@b70bca6b Revert "fix: Don't hardcode checks for translation registries (#12571)"
PaperMC/Paper@3efaf477 Add API for client-side signs (#11903)
PaperMC/Paper@a3909f54 [ci/skip] Fix bad format for jd @link (#12581)
PaperMC/Paper@7774243d Add plugin details to zip file errors (#12580)
PaperMC/Paper@220b57ad Fixs and Improvements for EndermanEscapeEvent (#12570)
PaperMC/Paper@b8fe22c9 Do not call EntityRemoveEvent during worldgen (#12588)
PaperMC/Paper@ee3b4053 Replace spigot check with generation check
PaperMC/Paper@84ee4249 Add Map filled event (#12574)
PaperMC/Paper@b9d6ba24 Expose more data for MusicInstrument (#12415)
PaperMC/Paper@a033e3b9 Fix ancient player custom name converter
This commit is contained in:
granny
2025-05-25 15:18:38 -07:00
parent f565bc230e
commit 42286249e5
9 changed files with 21 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/world/damagesource/CombatTracker.java
+++ b/net/minecraft/world/damagesource/CombatTracker.java
@@ -62,7 +_,7 @@
@@ -64,7 +_,7 @@
private Component getMessageForAssistedFall(Entity entity, Component entityDisplayName, String hasWeaponTranslationKey, String noWeaponTranslationKey) {
ItemStack itemStack = entity instanceof LivingEntity livingEntity ? livingEntity.getMainHandItem() : ItemStack.EMPTY;
@@ -9,7 +9,7 @@
? Component.translatable(hasWeaponTranslationKey, this.mob.getDisplayName(), entityDisplayName, itemStack.getDisplayName())
: Component.translatable(noWeaponTranslationKey, this.mob.getDisplayName(), entityDisplayName);
}
@@ -106,6 +_,15 @@
@@ -108,6 +_,15 @@
Component component = ComponentUtils.wrapInSquareBrackets(Component.translatable(string + ".link")).withStyle(INTENTIONAL_GAME_DESIGN_STYLE);
return Component.translatable(string + ".message", this.mob.getDisplayName(), component);
} else {

View File

@@ -26,7 +26,7 @@
} else {
AbstractThrownPotion abstractThrownPotion1 = damageSource.getDirectEntity() instanceof AbstractThrownPotion abstractThrownPotion
? abstractThrownPotion
@@ -390,6 +_,7 @@
@@ -392,6 +_,7 @@
} else {
boolean flag = abstractThrownPotion1 != null && this.hurtWithCleanWater(level, damageSource, abstractThrownPotion1, amount);
@@ -34,7 +34,7 @@
if (this.tryEscape(com.destroystokyo.paper.event.entity.EndermanEscapeEvent.Reason.INDIRECT)) { // Paper - EndermanEscapeEvent
for (int i = 0; i < 64; i++) {
if (this.teleport()) {
@@ -433,7 +_,7 @@
@@ -435,7 +_,7 @@
@Override
public boolean requiresCustomPersistence() {
@@ -43,7 +43,7 @@
}
static class EndermanFreezeWhenLookedAt extends Goal {
@@ -477,6 +_,7 @@
@@ -479,6 +_,7 @@
@Override
public boolean canUse() {
@@ -51,7 +51,7 @@
return this.enderman.getCarriedBlock() != null
&& getServerLevel(this.enderman).getGameRules().getBoolean(GameRules.RULE_MOBGRIEFING)
&& this.enderman.getRandom().nextInt(reducedTickDelay(2000)) == 0;
@@ -626,6 +_,7 @@
@@ -628,6 +_,7 @@
@Override
public boolean canUse() {