--- a/net/minecraft/world/level/levelgen/structure/structures/MineshaftPieces.java
+++ b/net/minecraft/world/level/levelgen/structure/structures/MineshaftPieces.java
@@ -401,10 +_,13 @@
                         BlockPos worldPos = this.getWorldPos(1, 0, i8);
                         if (box.isInside(worldPos) && this.isInterior(level, 1, 0, i8, box)) {
                             this.hasPlacedSpider = true;
-                            level.setBlock(worldPos, Blocks.SPAWNER.defaultBlockState(), 2);
-                            if (level.getBlockEntity(worldPos) instanceof SpawnerBlockEntity spawnerBlockEntity) {
-                                spawnerBlockEntity.setEntityId(EntityType.CAVE_SPIDER, random);
-                            }
+                            // CraftBukkit start
+                            // level.setBlock(worldPos, Blocks.SPAWNER.defaultBlockState(), 2);
+                            // if (level.getBlockEntity(worldPos) instanceof SpawnerBlockEntity spawnerBlockEntity) {
+                            //     spawnerBlockEntity.setEntityId(EntityType.CAVE_SPIDER, random);
+                            // }
+                            this.placeCraftSpawner(level, worldPos, org.bukkit.entity.EntityType.CAVE_SPIDER, 2);
+                            // CraftBukkit end
                         }
                     }
                 }
