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 1
1
package me .asleepp .SkriptItemsAdder .elements .effects ;
2
2
3
3
import 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 ;
4
9
import ch .njol .skript .lang .Effect ;
5
10
import ch .njol .skript .lang .Expression ;
6
11
import ch .njol .skript .lang .SkriptParser ;
11
16
12
17
import javax .annotation .Nullable ;
13
18
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" )
14
24
public class EffUpdateHUD extends Effect {
15
25
16
26
private Expression <Player > players ;
Original file line number Diff line number Diff line change 27
27
@ Description ({"Gets an ItemsAdder item, or items." })
28
28
@ Examples ({
29
29
"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
+ })
31
34
@ Since ("1.0, 1.5 (multiple items)" )
32
35
@ RequiredPlugins ("ItemsAdder" )
33
36
public class ExprGetCustomItem extends SimpleExpression <ItemType > {
Original file line number Diff line number Diff line change 21
21
22
22
@ Name ("Get ItemsAdder Font Image" )
23
23
@ 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
+ })
25
28
@ Since ("1.0, 1.5 (Multiple Images), 1.6 (With Offset)" )
26
29
@ RequiredPlugins ("ItemsAdder" )
27
30
public class ExprGetFontImage extends SimpleExpression <String > {
Original file line number Diff line number Diff line change 17
17
import javax .annotation .Nullable ;
18
18
@ Name ("Get URL of Resource Pack" )
19
19
@ Description ({"Gets the URL of a resource pack." })
20
- @ Examples ({ "set {_t} to resource pack url" } )
20
+ @ Examples ("set {_t} to resource pack url" )
21
21
@ Since ("1.0" )
22
22
@ RequiredPlugins ("ItemsAdder" )
23
23
public class ExprGetURL extends SimpleExpression <String > {
Original file line number Diff line number Diff line change 17
17
18
18
import javax .annotation .Nullable ;
19
19
@ 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." )
21
21
@ Examples ({
22
22
"create a new custom itemsadder inventory:" ,
23
23
"\t title: \" Auction House\" " ,
You can’t perform that action at this time.
0 commit comments