Hello, I am trying to make it so when a player mines a spawner, the spawner drops with the spawn egg of the mob inside the spawner. But, to make sure they aren't duplicating the pig spawn eggs because on default the spawner has a pig inside it, when a pig spawner is mined by a player only the spawner gets dropped without the pig spawn egg.
Here's what I tried:
on break of spawner:
drop 1 spawner
----
However, that didn't drop the spawn egg with it.
Here's what I tried:
on break of spawner:
drop 1 spawner
----
However, that didn't drop the spawn egg with it.