diff --git a/pom.xml b/pom.xml index cee107160..8b67992ef 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ tk.shanebee SkBee - 1.7.2 + 1.8.0 1.8 diff --git a/src/main/java/tk/shanebee/bee/elements/other/events/PaperEvents.java b/src/main/java/tk/shanebee/bee/elements/other/events/PaperEvents.java index fb9a24993..09f370d39 100644 --- a/src/main/java/tk/shanebee/bee/elements/other/events/PaperEvents.java +++ b/src/main/java/tk/shanebee/bee/elements/other/events/PaperEvents.java @@ -62,7 +62,7 @@ public String get(@NotNull PlayerRecipeBookClickEvent event) { Skript.registerEvent("Shear Entity", SimpleEvent.class, PlayerShearEntityEvent.class, "[player] shear entity") .description("Called when a player shears an entity. Requires Minecraft 1.9.4+") .examples("on player shear entity:") - .since("INSERT VERSION"); + .since("1.8.0"); } // Player Pickup XP Event @@ -71,7 +71,7 @@ public String get(@NotNull PlayerRecipeBookClickEvent event) { .description("Fired when a player is attempting to pick up an experience orb. Requires Paper 1.12.2+") .examples("on player pickup xp:", "\tadd 10 to level of player") - .since("INSERT VERSION"); + .since("1.8.0"); } // Player Elytra Boost Event @@ -80,7 +80,7 @@ public String get(@NotNull PlayerRecipeBookClickEvent event) { .description("Fired when a player boosts elytra flight with a firework. Requires Paper 1.13.2+") .examples("on elytra boost:", "\tpush player forward at speed 50") - .since("INSERT VERSION"); + .since("1.8.0"); EventValues.registerEventValue(PlayerElytraBoostEvent.class, ItemType.class, new Getter() { @Override public ItemType get(PlayerElytraBoostEvent e) { @@ -128,7 +128,7 @@ public Location get(@NotNull EntityPathfindEvent event) { .examples("on entity zap:", "\tif event-entity is a pig:", "\t\tspawn 3 zombie pigmen at event-location") - .since("INSERT VERSION"); + .since("1.8.0"); EventValues.registerEventValue(EntityZapEvent.class, Location.class, new Getter() { @Override public Location get(EntityZapEvent e) { @@ -146,7 +146,7 @@ public Location get(EntityZapEvent e) { .examples("on projectile collide:", "\tif event-entity is a player:", "\t\tcancel event") - .since("INSERT VERSION"); + .since("1.8.0"); EventValues.registerEventValue(ProjectileCollideEvent.class, Entity.class, new Getter() { @Override public Entity get(ProjectileCollideEvent e) { @@ -167,7 +167,7 @@ public Projectile get(ProjectileCollideEvent e) { .description("Fired when an Entity is knocked back by the hit of another Entity. " + "If this event is cancelled, the entity is not knocked back. Requires Paper 1.12.2+") .examples("on entity knockback:", "\tif event-entity is a cow:", "\t\tcancel event") - .since("INSERT VERSION"); + .since("1.8.0"); } // Experience Orb Merge Event @@ -176,7 +176,7 @@ public Projectile get(ProjectileCollideEvent e) { .description("Fired anytime the server is about to merge 2 experience orbs into one. Requires Paper 1.12.2+") .examples("on xp merge:", "\tcancel event") - .since("INSERT VERSION"); + .since("1.8.0"); } // == BLOCK EVENTS == // diff --git a/src/main/java/tk/shanebee/bee/elements/other/expressions/ExprKnockbackAttackerVictim.java b/src/main/java/tk/shanebee/bee/elements/other/expressions/ExprKnockbackAttackerVictim.java index 48b540597..6f9c1a0ec 100644 --- a/src/main/java/tk/shanebee/bee/elements/other/expressions/ExprKnockbackAttackerVictim.java +++ b/src/main/java/tk/shanebee/bee/elements/other/expressions/ExprKnockbackAttackerVictim.java @@ -18,7 +18,7 @@ @Name("Knockback Attacker/Victim") @Description("The attacker/victim in an entity knockback event. Paper 1.12.2+") @Examples({"on entity knockback:", "\tif knockback attacker is a player:", "\t\tif knockback victim is a sheep:", "\t\t\tcancel event"}) -@Since("INSERT VERSION") +@Since("1.8.0") public class ExprKnockbackAttackerVictim extends SimpleExpression { static { diff --git a/src/main/java/tk/shanebee/bee/elements/text/expressions/ExprBookPages.java b/src/main/java/tk/shanebee/bee/elements/text/expressions/ExprBookPages.java index 2d2706d7f..c863f8d0d 100644 --- a/src/main/java/tk/shanebee/bee/elements/text/expressions/ExprBookPages.java +++ b/src/main/java/tk/shanebee/bee/elements/text/expressions/ExprBookPages.java @@ -32,7 +32,7 @@ "set book author of {_i} to \"Bob\"", "set book title of {_i} to \"MyBook\"", "give player 1 of {_i}"}) -@Since("INSERT VERSION") +@Since("1.8.0") public class ExprBookPages extends SimpleExpression { static { diff --git a/src/main/java/tk/shanebee/bee/elements/worldcreator/conditions/CondWorldExists.java b/src/main/java/tk/shanebee/bee/elements/worldcreator/conditions/CondWorldExists.java index 7adf35771..afbcda54c 100644 --- a/src/main/java/tk/shanebee/bee/elements/worldcreator/conditions/CondWorldExists.java +++ b/src/main/java/tk/shanebee/bee/elements/worldcreator/conditions/CondWorldExists.java @@ -19,7 +19,7 @@ @Name("World Exists") @Description("Check if a world exists in your world directory.") @Examples("if world \"my-world\" exists:") -@Since("INSERT VERSION") +@Since("1.8.0") public class CondWorldExists extends Condition { static { diff --git a/src/main/java/tk/shanebee/bee/elements/worldcreator/effects/EffLoadWorld.java b/src/main/java/tk/shanebee/bee/elements/worldcreator/effects/EffLoadWorld.java index b6a329e20..87fe9d8af 100644 --- a/src/main/java/tk/shanebee/bee/elements/worldcreator/effects/EffLoadWorld.java +++ b/src/main/java/tk/shanebee/bee/elements/worldcreator/effects/EffLoadWorld.java @@ -29,7 +29,7 @@ "load world from world creator {_w}", "", "load world \"my-world\"", "unload world world(\"my-world\")"}) -@Since("INSERT VERSION") +@Since("1.8.0") public class EffLoadWorld extends Effect { private static final BeeWorldConfig BEE_WORLD_CONFIG; diff --git a/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreator.java b/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreator.java index bac0d9f21..c8880ff04 100644 --- a/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreator.java +++ b/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreator.java @@ -29,7 +29,7 @@ "", "set {_clone} to a new world creator named \"world-clone\" to clone world \"world\"", "load world from creator {_clone}"}) -@Since("INSERT VERSION") +@Since("1.8.0") public class ExprWorldCreator extends SimpleExpression { static { diff --git a/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreatorOption.java b/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreatorOption.java index b2a08132f..83d7cf210 100644 --- a/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreatorOption.java +++ b/src/main/java/tk/shanebee/bee/elements/worldcreator/expressions/ExprWorldCreatorOption.java @@ -25,7 +25,7 @@ "set world type of {_w} to flat", "set should generate structures of {_w} to true", "load world from creator {_w}"}) -@Since("INSERT VERSION") +@Since("1.8.0") public class ExprWorldCreatorOption extends SimplePropertyExpression { static { diff --git a/src/main/java/tk/shanebee/bee/elements/worldcreator/type/Types.java b/src/main/java/tk/shanebee/bee/elements/worldcreator/type/Types.java index 8f8af7afb..ab0818f9a 100644 --- a/src/main/java/tk/shanebee/bee/elements/worldcreator/type/Types.java +++ b/src/main/java/tk/shanebee/bee/elements/worldcreator/type/Types.java @@ -21,7 +21,7 @@ public class Types { .name("World Creator") .description("Used to create new worlds.") .examples("set {_creator} to new world creator named \"my-world\"") - .since("INSERT VERSION")); + .since("1.8.0")); EnumUtils environments = new EnumUtils<>(Environment.class, "environment types"); Classes.registerClass(new ClassInfo<>(Environment.class, "environment") @@ -30,7 +30,7 @@ public class Types { .description("The environment of a world.") .usage(environments.getAllNames()) .examples("set environment of {_creator} to nether") - .since("INSERT VERSION") + .since("1.8.0") .parser(new Parser() { @Nullable @@ -62,7 +62,7 @@ public Environment parse(@NotNull String string, @NotNull ParseContext context) .description("The type of a world") .usage(worldTypes.getAllNames()) .examples("set world type of {_creator} to flat") - .since("INSERT VERSION") + .since("1.8.0") .parser(new Parser() { @Nullable