Added:
- Client chest open and close animation
- A bunch of beta syntax that are disabled because they broke? .-.
- Load chunk
- Unload chunk
- Itemframe rotation and item within (Suggestion from
@Rixic)
- PlaceholderAPI attempt? PlaceholderAPI always returns the input. Atleast for my 1.11.2 version. I need to contact Clip which I have, waiting for reply.
- Added all Skellett events to the docs
- Added option to fix muliple queries issues.
Fixed:
- Fixed weird suppressed warning on all expressions. (Internal)
- Changed second syntax of custom name disguise:
code_language.skript:
%disguise%'s [custom] name
#to
disguise %disguise%'s [custom] name
- Fixed clicked item error
- Fixed some internal stuff that was mainly to help myself.
- Minor Bug fixes.
- Null pointers
Syntax:
code_language.skript:
Effects:
#Make a block appear open like a chest or shulker box
[skellett] make [the] %block% (appear|look) (1¦open|2¦closed) for %players%
[skellett] play chest (1¦open|2¦close) animation at %block% for %players%
[skellett] (1¦open|2¦close) [the] %block% for %players%
#If generating is true, it will generate the chunk if it's never been loaded before
[skellett] load chunk %chunk% [[with] generat(e|ing) %-boolean%]
#Saving will save the chunk to memory
[skellett] unload chunk %chunk% [[with] sav(e|ing) %-boolean%]
Expressions:
#Changers: set (ItemStack)
[skellett] item (in|inside|within|of|from) item[ ]frame %entity%
[skellett] %entity%'s item[ ]frame item
[skellett] item[ ]frame %entity%'s item
#Changers: set (Rotation)
[skellett] rotation (of|from) item[ ]frame %entity%
[skellett] %entity%'s item[ ]frame rotation
[skellett] item[ ]frame %entity%'s rotation
#Doesn't work. PlaceholderAPI is stupid.
[parse[d]] place[ ]holder [(from|with)] %string% [[(from|for)] %-player%]
Types:
rotation
Rotation types:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Rotation.html
CLOCKWISE
Rotated clockwise by 90 degrees
CLOCKWISE_135
Rotated clockwise by 135 degrees
CLOCKWISE_45
Rotated clockwise by 45 degrees
COUNTER_CLOCKWISE
Rotated counter-clockwise by 90 degrees
COUNTER_CLOCKWISE_45
Rotated counter-clockwise by 45 degrees
FLIPPED
Flipped upside-down, a 180 degree rotation
FLIPPED_45
Flipped upside-down + 45 degree rotation
NONE
No rotation
Test script:
code_language.skript:
#/itemframe stone COUNTER_CLOCKWISE_45
command /itemframe [<item>] [<rotation>]:
trigger:
if target entity is set:
if arg 1 is set:
set item in itemframe target entity to arg 1
broadcast "%item in itemframe target entity%"
if arg 2 is set:
set rotation of itemframe target entity to arg 2
broadcast "%rotation of itemframe target entity%"
command /openChest:
trigger:
make target block appear open for player