SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.02k stars 358 forks source link

Add Event Syntax for Interacting with Trial Spawner in Minecraft 1.21 #6856

Open RyuguDev opened 5 days ago

RyuguDev commented 5 days ago

Suggestion

I would like to suggest the addition of a new event for interacting with the Trial Spawner in Minecraft 1.21. Specifically, the syntax for this event could look like the following example:

on right click on trial spawner: set spawner type of event-block to blaze

This syntax would allow server administrators and script creators to easily modify the type of mob spawned by the Trial Spawner upon a right-click interaction.

Why?

Adding this feature would greatly enhance the flexibility and customizability of Minecraft servers utilizing the Skript plugin. With the ability to modify Trial Spawner behaviors through simple scripts, server administrators can create more dynamic and engaging gameplay experiences. This addition would also align with the ongoing updates to Minecraft, ensuring that Skript remains a relevant and powerful tool for server customization.

Other

No additional comments. Thank you for considering this suggestion.

Agreement

sovdeeth commented 5 days ago

There is currently no available API for trial spawners, to my knowledge, so this will have to wait until Spigot/Paper release API for them. edit: Spigot has api for this but not Paper, so we may want to wait for paper to be stable.