Skript

Skript

743k Downloads

Add Event Syntax for Interacting with Trial Spawner in Minecraft 1.21

RyuguDev opened this issue ยท 6 comments

commented

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

  • I have read the guidelines above and affirm I am following them with this suggestion.
commented

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.

commented

so?

commented

So someone can add it if they want!

commented

is there already a syntax?

commented

Currently no, no one has taken on this request, paper has also now added their stuff for this so people are free to add it without worry of conflicts. Just a waiting game at this point.

commented

To anybody wanting to take up this issue, you're welcome to target patch branch as long as it's gated behind a feature flag (so it doesn't have to wait for next major release)