Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Add Event Syntax for Interacting with Trial Spawner in Minecraft 1.21

Open asmolfemboi opened this issue 1 year ago • 6 comments

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

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

asmolfemboi avatar Jul 03 '24 21:07 asmolfemboi

~~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.

sovdeeth avatar Jul 03 '24 21:07 sovdeeth

so?

asmolfemboi avatar Jul 26 '24 17:07 asmolfemboi

So someone can add it if they want!

sovdeeth avatar Jul 28 '24 02:07 sovdeeth

is there already a syntax?

asmolfemboi avatar Aug 22 '24 18:08 asmolfemboi

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.

Fusezion avatar Aug 22 '24 18:08 Fusezion

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)

Moderocky avatar Aug 22 '24 18:08 Moderocky