Skip to content

Commit

Permalink
Prepare for release of 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneBeee committed Feb 15, 2024
1 parent 5559d78 commit d816c61
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ compileJava {
}

// SkBee version
version = '3.2.1'
version = '3.3.0'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Description("Represents some conditions of a damage source.")
@Examples({"if damage source is indirect:",
"if damage source is scaled with difficulty:"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class CondDamageSourceProperties extends PropertyCondition<DamageSource> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"set {_source} to damage source of magic",
"set {_source} to damage source of mob_attack_no_aggro caused by target entity of player",
"damage player by 100 with {_source}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class EffEntityDamageSource extends Effect {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"set {_source} to damage source of magic",
"set {_source} to damage source of mob_attack_no_aggro caused by target entity of player",
"damage player by 100 with {_source}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprDamageSourceCreate extends SimpleExpression<DamageSource> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"\t\tbroadcast \"OUCHIE\"",
"\tif causing entity of damage source is a chicken:",
"\t\tbroadcast \"YOU JERK\""})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprDamageSourceEvent extends SimpleExpression<DamageSource> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"\t\tbroadcast \"OUCHIE\"",
"\tif causing entity of damage source is a chicken:",
"\t\tbroadcast \"YOU JERK\""})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprDamageSourceProperties extends SimplePropertyExpression<DamageSource, Object> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Types {
"See <link>https://minecraft.wiki/w/Damage_type</link> for more details.",
"Requires MC 1.20.4+")
.usage(DAMAGE_TYPE_REGISTRY.getNames())
.since("INSERT VERSION")
.since("3.3.0")
.parser(DAMAGE_TYPE_REGISTRY.getParser()));
}

Expand All @@ -30,7 +30,7 @@ public class Types {
.user("damage ?sources?")
.name("Damage Source")
.description("Represents a source of damage. Requires MC 1.20.4+")
.since("INSERT VERSION")
.since("3.3.0")
.parser(SkriptUtils.getDefaultParser()));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"",
"on break:",
"\tstop task with id {-id}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class EffTaskStop extends Effect {

private static final BukkitScheduler SCHEDULER = Bukkit.getScheduler();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Examples({"set {_loc} to origin of last spawned entity",
"set {_loc} origin location of {_entity}",
"if distance between {_entity} and origin of {_entity} > 10:"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprEntityOrigin extends SimplePropertyExpression<Entity, Location> {

private static final boolean HAS_ORIGIN = Skript.methodExists(Entity.class, "getOrigin");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"remove 1 minute from relative player time of player",
"reset player time of player",
"reset player time of all players"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprPlayerTime extends SimplePropertyExpression<Player, Object> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"",
"on break:",
"\tstop task with id {-id}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprTaskID extends SimpleExpression<Number> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@Name("VirtualFurnace - All Machines")
@Description("Get all registered machines.")
@Examples("set {_machines::*} to all virtual furnaces")
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceAllFurnaces extends SimpleExpression<Machine> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"",
"set {_prop} to default furnace properties",
"set {_furnace} to virtual furnace named \"Potato\" with properties {_prop}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceCreate extends SimpleExpression<Furnace> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Description("Get the inventory of a virtual furnace. Can be used to open for a player.")
@Examples({"set {_inv} to virtual furnace inventory of {_furnace}",
"open {_inv} to player"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceInventory extends SimplePropertyExpression<Machine, Inventory> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Name("VirtualFurnace - Machine from ID")
@Description("Get a virtual furnace from a uuid.")
@Examples("set {_furnace} to virtual furnace from id {_uuid}")
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceMachineFromID extends SimpleExpression<Machine> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Name("VirtualFurnace - UUID")
@Description("Get the id/uuid of a virtual furnace.")
@Examples("set {_uuid} to machine uuid of {_furnace}")
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceMachineID extends SimplePropertyExpression<Machine, String> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Description("Get/set the name of a virtual furnace.")
@Examples({"set {_name} to machine name of {_furnace}",
"set machine name of {_furnace} to \"Super Fast Furnace\""})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnaceMachineName extends SimplePropertyExpression<Machine, String> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Name("VirtualFurnace - Furnace Properties Create")
@Description("Create furnace properties to be used in a virtual furnace.")
@Examples("set {_prop} to furnace properties with cook speed multiplier 1.5 and fuel speed multiplier 0.5")
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnacePropertiesCreate extends SimpleExpression<Properties> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Description("Represents furnace properties that mimic vanilla Minecraft properties.")
@Examples({"set {_prop} to default furnace properties",
"set {_furnace} to virtual furnace named \"Potato\" with properties {_prop}"})
@Since("INSERT VERSION")
@Since("3.3.0")
public class ExprVirtualFurnacePropertiesDefault extends SimpleExpression<Properties> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Types {
.name("VirtualFurnace - Machine")
.description("Represents a virtual machine. These machines tick on their own like a regular",
"vanilla Minecraft furnace except they can be loaded from anywhere and don't rely on chunks.")
.since("INSERT VERSION")
.since("3.3.0")
.parser(SkriptUtils.getDefaultParser())
.serializer(new Serializer<>() {
@Override
Expand Down Expand Up @@ -75,7 +75,7 @@ protected boolean canBeInstantiated() {
.user("machine ?propert(y|ies)")
.name("VirtualFurnace - Machine Properties")
.description("Represents the machine properties of a virtual machine.")
.since("INSERT VERSION")
.since("3.3.0")
.parser(SkriptUtils.getDefaultParser())
);
}
Expand Down

0 comments on commit d816c61

Please sign in to comment.