This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
src/main/java/me/asleepp/SkriptItemsAdder/elements Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1919@ Description ({"This condition checks if the player has interacted with a custom block with either a left or a right click." })
2020@ Examples ({
2121 "on interact with custom block:" ,
22- "/ tif interact action is right click:" ,
23- "/t/ tkill event-player" })
22+ "\ t if interact action is right click:" ,
23+ "\t \ t kill event-player" })
2424@ Since ("1.4" )
2525@ RequiredPlugins ("ItemsAdder" )
2626public class CondGetAction extends Condition {
Original file line number Diff line number Diff line change 1818@ Description ({"This condition checks what block the player clicked." })
1919@ Examples ({
2020 "on interact with custom block:" ,
21- "/ tif clicked block is \" diamond_tiles\" " ,
22- "/t/ tsend \" That's quite valuable.\" " })
21+ "\ t if clicked block is \" diamond_tiles\" " ,
22+ "\t \ t send \" That's quite valuable.\" " })
2323@ Since ("1.4" )
2424@ RequiredPlugins ("ItemsAdder" )
2525public class CondGetBlockClicked extends Condition {
Original file line number Diff line number Diff line change 1919@ Description ({"This condition checks what face of a block the player has interacted with." })
2020@ Examples ({
2121 "on interact with custom block:" ,
22- "/ tif clicked block face is south:" ,
23- "/t/ tsend \" Why are you doing that?\" " })
22+ "\ t if clicked block face is south:" ,
23+ "\t \ t send \" Why are you doing that?\" " })
2424@ Since ("1.4" )
2525@ RequiredPlugins ("ItemsAdder" )
2626public class CondGetBlockFace extends Condition {
Original file line number Diff line number Diff line change 3838})
3939@ Examples ({
4040 "create a new custom inventory:" ,
41- "title : \" Shop\" " ,
42- "rows : 5" ,
43- "texture : \" inventory:shop\" and \" inventory:shop_extras\" " ,
44- "title offset: 150" ,
45- "texture offset: 0" ,
41+ "\t title : \" Shop\" " ,
42+ "\t rows : 5" ,
43+ "\t texture : \" inventory:shop\" and \" inventory:shop_extras\" " ,
44+ "\t title offset: 150" ,
45+ "\t texture offset: 0" ,
4646 "set {_shop} to last created ia gui" ,
4747 "show custom {_gui} to all players" })
4848@ Since ("1.5" )
You can’t perform that action at this time.
0 commit comments