Skip to content

Commit

Permalink
Prepare for release of 2.6-beta1 (#4132)
Browse files Browse the repository at this point in the history
* insert version -> 2.6
* gradle.properties - update version number
  • Loading branch information
ShaneBeee authored Jun 29, 2021
1 parent 41be19b commit 7a130c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
groupid=ch.njol
name=skript
version=2.6-alpha1
version=2.6-beta1
jarName=Skript.jar
testEnv=paper-1.16.5
10 changes: 5 additions & 5 deletions src/main/java/ch/njol/skript/events/EvtBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,27 @@ public class EvtBlock extends SkriptEvent {
.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.")
.examples("on mine:", "on break of stone:", "on mine of any ore:", "on break of chest[facing=north]:", "on break of potatoes[age=7]:")
.requiredPlugins("Minecraft 1.13+ (BlockData)")
.since("1.0 (break), <i>unknown</i> (mine), INSERT VERSION (BlockData support)");
.since("1.0 (break), <i>unknown</i> (mine), 2.6 (BlockData support)");
Skript.registerEvent("Burn", EvtBlock.class, BlockBurnEvent.class, "[block] burn[ing] [[of] %itemtypes/blockdatas%]")
.description("Called when a block is destroyed by fire.")
.examples("on burn:", "on burn of wood, fences, or chests:", "on burn of oak_log[axis=y]:")
.requiredPlugins("Minecraft 1.13+ (BlockData)")
.since("1.0, INSERT VERSION (BlockData support)");
.since("1.0, 2.6 (BlockData support)");
Skript.registerEvent("Place", EvtBlock.class, new Class[]{BlockPlaceEvent.class, PlayerBucketEmptyEvent.class, HangingPlaceEvent.class}, "[block] (plac(e|ing)|build[ing]) [[of] %itemtypes/blockdatas%]")
.description("Called when a player places a block.")
.examples("on place:", "on place of a furnace, workbench or chest:", "on break of chest[type=right] or chest[type=left]")
.requiredPlugins("Minecraft 1.13+ (BlockData)")
.since("1.0, INSERT VERSION (BlockData support)");
.since("1.0, 2.6 (BlockData support)");
Skript.registerEvent("Fade", EvtBlock.class, BlockFadeEvent.class, "[block] fad(e|ing) [[of] %itemtypes/blockdatas%]")
.description("Called when a block 'fades away', e.g. ice or snow melts.")
.examples("on fade of snow or ice:", "on fade of snow[layers=2]")
.requiredPlugins("Minecraft 1.13+ (BlockData)")
.since("1.0, INSERT VERSION (BlockData support)");
.since("1.0, 2.6 (BlockData support)");
Skript.registerEvent("Form", EvtBlock.class, BlockFormEvent.class, "[block] form[ing] [[of] %itemtypes/blockdatas%]")
.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>).")
.examples("on form of snow:", "on form of a mushroom:")
.requiredPlugins("Minecraft 1.13+ (BlockData)")
.since("1.0, INSERT VERSION (BlockData support)");
.since("1.0, 2.6 (BlockData support)");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@Examples({"set {_hard} to block hardness of target block",
"if block hardness of target block > 5:"})
@RequiredPlugins("Minecraft 1.13+")
@Since("INSERT VERSION")
@Since("2.6")
public class ExprBlockHardness extends SimplePropertyExpression<ItemType, Number> {

static {
Expand Down

0 comments on commit 7a130c6

Please sign in to comment.