Update patches to latest 1.21.4 #1

Merged
Chaoscaot merged 242 commits from update/1.21.4 into main 2025-04-23 22:27:11 +02:00
2285 changed files with 57496 additions and 51868 deletions
Showing only changes of commit ed322043d0 - Show all commits

View File

@ -45,10 +45,10 @@
}
+
+ // Paper start - track position inside effect was triggered on
+ private net.minecraft.core.BlockPos currentBlockPos;
+ private net.minecraft.core.BlockPos currentBlockPos = null;
+
+ private Consumer<Entity> recorded(final InsideBlockEffectType type) {
+ return new RecordedEffect(this.currentBlockPos, type.effect());
+ return new RecordedEffect(this.currentBlockPos.immutable(), type.effect());
+ }
+
+ record RecordedEffect(