This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed
src/main/java/me/asleepp/SkriptItemsAdder/elements Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11package me .asleepp .SkriptItemsAdder .elements .effects ;
22
33import ch .njol .skript .Skript ;
4+ import ch .njol .skript .doc .Description ;
5+ import ch .njol .skript .doc .Examples ;
6+ import ch .njol .skript .doc .Name ;
7+ import ch .njol .skript .doc .RequiredPlugins ;
8+ import ch .njol .skript .doc .Since ;
49import ch .njol .skript .lang .Effect ;
510import ch .njol .skript .lang .Expression ;
611import ch .njol .skript .lang .SkriptParser ;
1116
1217import javax .annotation .Nullable ;
1318
19+ @ Name ("Update HUD" )
20+ @ Description ("Update the player's currently enabled HUD." )
21+ @ Examples ("update player's current itemsadder hud" )
22+ @ Since ("1.6" )
23+ @ RequiredPlugins ("ItemsAdder" )
1424public class EffUpdateHUD extends Effect {
1525
1626 private Expression <Player > players ;
Original file line number Diff line number Diff line change 2727@ Description ({"Gets an ItemsAdder item, or items." })
2828@ Examples ({
2929 "give player itemsadder item \" _iainternal:icon_arrow_chest\" " ,
30- "give player itemsadder items \" _iainternal:icon_back_orange\" and \" _iainternal:icon_cancel\" " })
30+ "give player itemsadder items \" _iainternal:icon_back_orange\" and \" _iainternal:icon_cancel\" " ,
31+ "send all itemsadder items to player" ,
32+ "set {_paperItems::*} to all itemsadder items that uses material paper"
33+ })
3134@ Since ("1.0, 1.5 (multiple items)" )
3235@ RequiredPlugins ("ItemsAdder" )
3336public class ExprGetCustomItem extends SimpleExpression <ItemType > {
Original file line number Diff line number Diff line change 2121
2222@ Name ("Get ItemsAdder Font Image" )
2323@ Description ({"Gets ItemsAdder font image(s) with optional offset" })
24- @ Examples ({"set {_t::*} to font images \" emojis:laughing_emoji\" and \" emojis:crying_emoji\" with x offset 2" })
24+ @ Examples ({
25+ "send font image \" emojis:crying_emoji\" " ,
26+ "set {_t::*} to font images \" emojis:laughing_emoji\" and \" emojis:crying_emoji\" with x offset 2"
27+ })
2528@ Since ("1.0, 1.5 (Multiple Images), 1.6 (With Offset)" )
2629@ RequiredPlugins ("ItemsAdder" )
2730public class ExprGetFontImage extends SimpleExpression <String > {
Original file line number Diff line number Diff line change 1717import javax .annotation .Nullable ;
1818@ Name ("Get URL of Resource Pack" )
1919@ Description ({"Gets the URL of a resource pack." })
20- @ Examples ({ "set {_t} to resource pack url" } )
20+ @ Examples ("set {_t} to resource pack url" )
2121@ Since ("1.0" )
2222@ RequiredPlugins ("ItemsAdder" )
2323public class ExprGetURL extends SimpleExpression <String > {
Original file line number Diff line number Diff line change 1717
1818import javax .annotation .Nullable ;
1919@ Name ("Last Created ItemsAdder Gui" )
20- @ Description ("Get's the last created ItemsAdder inventory by the Create ItemsAdder Inventory section." )
20+ @ Description ("Gets the last created ItemsAdder inventory by the Create ItemsAdder Inventory section." )
2121@ Examples ({
2222 "create a new custom itemsadder inventory:" ,
2323 "\t title: \" Auction House\" " ,
You can’t perform that action at this time.
0 commit comments