Several fixes and new api for experience merging/stacking (#9242)

This commit is contained in:
Jake Potrebic 2024-05-29 13:58:57 -07:00 committed by GitHub
parent ed85aac53c
commit a31dc90741
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
693 changed files with 318 additions and 240 deletions

View file

@ -26,7 +26,7 @@ index 1f29ed95ef3d1904a014715028d9d591fe39231f..1a829f79e6f9e03ead745e13ece4d1b5
+++ b/src/main/java/net/minecraft/world/entity/ExperienceOrb.java
@@ -41,9 +41,63 @@ public class ExperienceOrb extends Entity {
public int value;
private int count;
public int count;
private Player followingPlayer;
+ // Paper start
+ @javax.annotation.Nullable