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.06k stars 367 forks source link

New features from 1.13 #1385

Open Nicofisi opened 6 years ago

Nicofisi commented 6 years ago

I tried to list all the new features in 1.13 that are relevant for Skript

Many new items/blocks

Out of scope of the issue, need to be taken care of in skript-aliases (useful link - here)

New biomes

New enchantments

New particles

New status effects

New entities

Tags

New things in the Bukkit API

Added after 1.12

Other (not really related)

TheBentoBox commented 6 years ago

I did already have something like this in #751, but yours is much newer and less cluttered with technical stuff/details so I think we can swap to using your list here. Can you just add the new entities as well? Those being Dolphins, Drowned, Phantom, Turtle, Cod, Salmon, Pufferfish, and Tropical Fish.

Also on the note of the new entities, as described in dev22g's release there are some entity supertypes. I'm not sure if there's a supertype for zombies (it's not listed there), but if there isn't one it should be added and the new Drowned mobs should be a part of it. There should also be a fish supertype for the four fish mobs that exist now.

TheBentoBox commented 6 years ago

Also, entity swim state API and swim toggle event. Should be supported just like elytra glide states.

TheBentoBox commented 6 years ago

Closed #751 in favor of this now. Setting to high priority as 1.13 is very close. Aliases rework first, then this stuff immediately.

bensku commented 6 years ago

Opened another branch for immediate "get it running" issue.

TheLimeGlass commented 6 years ago

Player#hidePlayer and Player.showPlayer is already added in Skript by @Blueyescat if it was changed and it's not already supported it should be modified in the 1.13 branch blue.

Only thing that was changed in the EnderSignal was the despawn timer.

Status effect as in Potion effect?

And finally they added isInWater/isSwimming it's been a method in NMS for a long time and very easy to add, I never understood why they never added it.

Blueyescat commented 6 years ago

@TheLimeGlass I knew that and already added support for the new methods (added in 1.12.2, not 1.13). So no problem 🙂 https://github.com/SkriptLang/Skript/blob/60279c009858a24139fdd35319fd6672853d0f0a/src/main/java/ch/njol/skript/effects/EffPlayerVisibility.java#L86

ShaneBeee commented 5 years ago

hey @Nicofisi I was skimming thru the Spigot API and saw a couple more particles for you to add to your list Particle DOLPHIN Particle NAUTILUS https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html#NAUTILUS

TheBentoBox commented 5 years ago

I've added them to the post just now, thanks @ShaneBeee , good catch

Misio12320 commented 4 years ago

What's the status of work? Just a question.

ShaneBeee commented 4 years ago

What's the status of work? Just a question.

What exactly are you wanting to know? And why exactly are you worried about this?

There is not ETA and/or timeline for the issues mentioned in this thread. Things will get done when they get done.

If you wish to see that checklist get finished, you are more than welcome to do some PRs to contribute to the things that need to get done.

APickledWalrus commented 3 years ago

What's left in this is no longer of high priority. However, these features would still be nice to have. PRs welcome 🎉

EDIT: Probably going to implement the mending feature myself very soon.

TheLimeGlass commented 2 years ago

All that's left are entity/block suggestions. Which an addon like Khoryl focuses on because exact entity types have to be determined at runtime, something that's not logical for Skript erroring and requires janky runtime erroring. Potential close on this?

TheLimeGlass commented 1 year ago

Closable after https://github.com/SkriptLang/Skript/pull/5617, entities are not currently supported in Skript due to runtime limitations.