How do i give someone a spawner with preset mob

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Dry Bonnoe

Member
Jun 18, 2022
13
1
3
43
this is my code

command /spawner:
trigger:
give spawner with spawntype zombie to player

the error is 'spawner with spawntype zombie' can't be added to a player because the former is neither an item type an inventory nor an experience point
[doublepost=1657138008,1657136416][/doublepost]
 
you can rename the spawner and once you detect that the spawner with the name is placed you can replace it with your desired mob
 
Check out Pikachu's Snippets and the " Get Specific Spawner Item " section, it does exactly what you want.
You need the script-reflect addon.
 
Check out Pikachu's Snippets and the " Get Specific Spawner Item " section, it does exactly what you want.
You need the script-reflect addon.
yeah but i need it for 1.19
[doublepost=1657753246,1657753033][/doublepost]
you can rename the spawner and once you detect that the spawner with the name is placed you can replace it with your desired mob
how would i exactly set that mob
 
Status
Not open for further replies.