Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

1.3 pre-release : Syntax changes and cleanup !

Pre-release
Pre-release
Compare
Choose a tag to compare
@Syst3ms Syst3ms released this 05 Jul 16:46
· 8 commits to master since this release

It has been quite a while since the last update, hasn't it ?

This is a pre-release because I didn't test it and I want to make sure no bugs are left before actual release (which would suck)

This update consists mainly of syntax changes and internal cleanup.

Changes

Requirements (IMPORTANT) :

  • Dropped support for 1.8 (deal with it)
  • Now requires Skript dev26 or more (otherwise syntax conflicts will be everywhere), hence dropping 1.8 support.

New event :

Lingering potion splash event. Works the same as the regular potion splash event, but, well... with lingering potions. You can get the thrown potion through event-projectile and the resulting area effect cloud through event-entity. Syntax : [on] linger[ing] potion splash[ing] [with [effect] types %-*potioneffecttypes*]

Syntax changes :

  • [entity] %livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] effect becomes %livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] [effect]
  • [banner] [block] %block% (is|is(n't| not)) [a] wall banner becomes %block% (is|are) [a] wall banner and %block% (isn't|is not|aren't|are not) [a] wall banner
  • apply (banner|shield) [item] pattern[s] of %itemstack% to [banner] [block] %block% becomes apply [(banner|shield)] patterns of %itemstack% to %block% and apply %itemstack%['s] (banner|shield)] pattern[s] to %block%
  • apply [potion] [effect[s] [of]] %potioneffects% to %livingentities% becomes apply %potioneffects% to %livingentities%
  • [new] (banner|shield) (from|with|using|of) [[banner] (layer|pattern)[s]] %bannerlayers% and [bas(e|ic)] colo[u]r %color% becomes [new] (banner|shield) (with|using) [pattern[s]] %bannerlayers% [(and|with)] base colo[u]r %color%
  • [new] [banner] (layer|pattern) (with|using|of|from) pattern [type] %bannerpattern% colo[u]r[ed] %color% becomes [new] [banner] (layer|pattern) (with|using) (pattern [type]|type) %bannerpattern% [(with|and)] colo[u]r %color%
  • [banner] block bas(e|ic) color of block %block% and block %block%['s] [banner] bas(e|ic) color become bas(e|ic) color of %block% and %block%'[s] bas(e|ic) color
  • [(all|each|every)] [banner] (layer|pattern)[s] of [(shield|banner|item)] %itemstack% and [(all|every|each) of] %itemstack%['s] [banner] (layer|pattern)[s] become [banner] pattern[s] of %block% and %block%['s] [banner] pattern[s]
  • [(banner|shield)] bas(e|ic) color of item %itemstack% and item %itemstack%['s] [(banner|shield)] bas(e|ic) color become bas(e|ic) color of %itemstack% and %itemstack%'[s] bas(e|ic) color
  • [(all|each|every)] [banner] (layer|pattern)[s] of [(shield|banner|item)] %itemstack% and [(all|every|each) of] %itemstack%['s] [banner] (layer|pattern)[s] become [banner] pattern[s] of %itemstack% and %itemstack%['s] [banner] pattern[s]
  • [banner] item of [banner] block %block% and [banner] %block%['s] [banner] item become banner item of %block% and %block%'[s] banner item
  • beacon (tier|level) of %block% and %block%['s] beacon (tier|level) become beacon (tier|level) of %block% and %block%'[s] beacon (tier|level)
  • [(all|every|each)] ([living] entit(ies|y)|player[s]) in range of %block% becomes entities in range of [beacon] %block%
  • [the] beacon fuel[ing item[[ ]stack]] of [beacon] %block% and %block%['s] beacon fuel[ing item[[ ]stack]] become beacon fuel[ing] [item] of %block% and %block%'[s] beacon fuel[ing] [item]

Other changes :

  • Removed the thrown potion expression inside of the regular potion splash event and replaced it with event-projectile
  • MASSIVE optimisations to the source code have been made.

I think that wraps it up !