You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.description("An item type is an alias, e.g. 'a pickaxe', 'all plants', etc., and can result in different items when added to an inventory, " +
164
+
.description("An item type is an alias that can result in different items when added to an inventory, " +
165
165
"and unlike <a href='#itemstack'>items</a> they are well suited for checking whether an inventory contains a certain item or whether a certain item is of a certain type.",
166
166
"An item type can also have one or more <a href='#enchantmenttype'>enchantments</a> with or without a specific level defined, " +
167
167
"and can optionally start with 'all' or 'every' to make this item type represent <i>all</i> types that the alias represents, including data ranges.")
Copy file name to clipboardExpand all lines: src/main/java/ch/njol/skript/conditions/CondItemInHand.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
@Description("Checks whether a player is holding a specific item. Cannot be used with endermen, use 'entity is [not] an enderman holding <item type>' instead.")
22
22
@Examples({
23
23
"player is holding a stick",
24
-
"victim isn't holding a sword of sharpness"
24
+
"victim isn't holding a diamond sword of sharpness"
.description("Called when a block is broken by a player. If you use 'on mine', only events where the broken block dropped something will call the trigger.")
37
-
.examples("on mine:", "on break of stone:", "on mine of any ore:", "on break of chest[facing=north]:", "on break of potatoes[age=7]:")
37
+
.examples("on mine:", "on break of stone:", "on break of chest[facing=north]:", "on break of potatoes[age=7]:")
.description("Called when a block is created, but not by a player, e.g. snow forms due to snowfall, water freezes in cold biomes. This isn't called when block spreads (mushroom growth, water physics etc.), as it has its own event (see <a href='#spread'>spread event</a>).")
53
-
.examples("on form of snow:", "on form of a mushroom:")
Copy file name to clipboardExpand all lines: src/main/java/ch/njol/skript/expressions/ExprXOf.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
23
23
@Name("X of Item")
24
24
@Description("An expression to be able to use a certain amount of items where the amount can be any expression. Please note that this expression is not stable and might be replaced in the future.")
25
-
@Examples("give level of player of pickaxes to the player")
25
+
@Examples("give level of player of iron pickaxes to the player")
0 commit comments