--- a/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerData.java
+++ b/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerData.java
@@ -56,12 +_,12 @@
             )
             .apply(instance, TrialSpawnerData::new)
     );
-    protected final Set<UUID> detectedPlayers = new HashSet<>();
-    protected final Set<UUID> currentMobs = new HashSet<>();
-    protected long cooldownEndsAt;
-    protected long nextMobSpawnsAt;
+    public final Set<UUID> detectedPlayers = new HashSet<>();
+    public final Set<UUID> currentMobs = new HashSet<>();
+    public long cooldownEndsAt;
+    public long nextMobSpawnsAt;
     protected int totalMobsSpawned;
-    protected Optional<SpawnData> nextSpawnData;
+    public Optional<SpawnData> nextSpawnData;
     protected Optional<ResourceKey<LootTable>> ejectingLootTable;
     @Nullable
     protected Entity displayEntity;
@@ -197,7 +_,7 @@
                     mob.dropPreservedEquipment(level);
                 }
 
-                entity.remove(Entity.RemovalReason.DISCARDED);
+                entity.remove(Entity.RemovalReason.DISCARDED, org.bukkit.event.entity.EntityRemoveEvent.Cause.DESPAWN); // CraftBukkit - Add bukkit remove cause;
             }
         });
         if (!spawner.getOminousConfig().spawnPotentialsDefinition().isEmpty()) {
