Would it be possible within the scripting API to add access to the type of Mob within a Mob Spawner? I notice the getComponent method which has a lot of useful components but nothing to identify the Mob within a spawner. My use case would be when the spawner is destroyed grant the player the same spawner with the right mob type. As of now, all I can do is prompt a menu with all mob types and trust a players honesty but it feels like cheating.
Please sign in to leave a comment.
1 Comments