--- a/net/minecraft/world/level/block/entity/TrialSpawnerBlockEntity.java
+++ b/net/minecraft/world/level/block/entity/TrialSpawnerBlockEntity.java
@@ -18,7 +_,7 @@
 import net.minecraft.world.level.block.state.properties.BlockStateProperties;
 
 public class TrialSpawnerBlockEntity extends BlockEntity implements Spawner, TrialSpawner.StateAccessor {
-    private TrialSpawner trialSpawner = this.createDefaultSpawner();
+    public TrialSpawner trialSpawner = this.createDefaultSpawner();
 
     public TrialSpawnerBlockEntity(BlockPos pos, BlockState state) {
         super(BlockEntityType.TRIAL_SPAWNER, pos, state);
