Skip to content

Commit 6b21a49

Browse files
committed
Prepare for release of 3.10.0
1 parent 79f5f7a commit 6b21a49

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ compileJava {
1111
}
1212

1313
// SkBee version
14-
version = '3.9.2'
14+
version = '3.10.0'
1515
def oldestJava = 17
1616

1717
repositories {

src/main/java/com/shanebeestudios/skbee/elements/other/conditions/CondIsOwnedByRegion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@Examples({"on break:",
2424
"\tif block at location(1,1,1) is owned by current region:",
2525
"\t\tset block at location(1,1,1) to stone"})
26-
@Since("INSERT VERSION")
26+
@Since("3.10.0")
2727
public class CondIsOwnedByRegion extends Condition {
2828

2929
static {

src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffDispatchCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"The attached permission will only last for 1 tick, and automatically remove. This is not persistent."})
2323
@Examples({"dispatch player command \"give %player% stick\" with permission \"minecraft.command.give\"",
2424
"dispatch (random element of all mobs) command \"/tell %player% hi\""})
25-
@Since("INSERT VERSION")
25+
@Since("3.10.0")
2626
public class EffDispatchCommand extends Effect {
2727

2828
private static final SkBee PLUGIN = SkBee.getPlugin();

src/main/java/com/shanebeestudios/skbee/elements/other/events/OtherEvents.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ public PlayerSpawnChangeEvent.Cause get(PlayerSpawnChangeEvent event) {
616616
"`event-string` = The command that was sent.",
617617
"`event-sender/player` = Who sent the command.")
618618
.examples("")
619-
.since("INSERT VERSION");
619+
.since("3.10.0");
620620

621621
EventValues.registerEventValue(UnknownCommandEvent.class, String.class, UnknownCommandEvent::getCommandLine);
622622
EventValues.registerEventValue(UnknownCommandEvent.class, CommandSender.class, UnknownCommandEvent::getSender);

src/main/java/com/shanebeestudios/skbee/elements/other/events/PaperEvents.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ public class PaperEvents extends SimpleEvent {
307307
.description("Called each time the server starts its main tick loop.",
308308
"`event-number` = The current tick number.")
309309
.examples("")
310-
.since("INSERT VERSION");
310+
.since("3.10.0");
311311

312312
Skript.registerEvent("Tick End Event", PaperEvents.class, ServerTickEndEvent.class, "server tick end")
313313
.description("Called when the server has finished ticking the main loop.",
@@ -318,7 +318,7 @@ public class PaperEvents extends SimpleEvent {
318318
"- Time remaining (in milliseconds) (How long til the next tick executes).",
319319
"- Time remaining (in nanoseconds) (How long til the next tick executes).")
320320
.examples("")
321-
.since("INSERT VERSION");
321+
.since("3.10.0");
322322

323323
EventValues.registerEventValue(ServerTickStartEvent.class, Integer.class, ServerTickStartEvent::getTickNumber);
324324
EventValues.registerEventValue(ServerTickEndEvent.class, Number[].class,

src/main/java/com/shanebeestudios/skbee/elements/property/expressions/ExprProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@Description({"Represents different properties of an object.",
3030
"See [**Property Wiki**](https://github.com/ShaneBeee/SkBee/wiki/Properties) for available properties and examples."})
3131
@Examples("")
32-
@Since("INSERT VERSION")
32+
@Since("3.10.0")
3333
@SuppressWarnings("unchecked")
3434
public class ExprProperty<F, T> extends SimpleExpression<T> {
3535

src/main/java/com/shanebeestudios/skbee/elements/property/properties/EntityProperties.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void set(Mob mob, Boolean value) {
3737
})
3838
.description("Whether the mob is aggressive. This will not work on all mobs, only mobs that can actually be aggressive.")
3939
.examples("set aggressive property of event-mob to true")
40-
.since("INSERT VERSION");
40+
.since("3.10.0");
4141

4242
PropertyRegistry.registerProperty("health", new Property<>(Entity.class, Number.class) {
4343
@Override
@@ -87,7 +87,7 @@ public void reset(Entity entity) {
8787
"set health property of player to 10",
8888
"add 1 to health property of player",
8989
"remove 1 from health property of target entity")
90-
.since("INSERT VERSION");
90+
.since("3.10.0");
9191

9292
PropertyRegistry.registerProperty("inventory contents", new Property<>(InventoryHolder.class, ItemType[].class) {
9393
@Override
@@ -134,7 +134,7 @@ public void delete(InventoryHolder inventoryHolder) {
134134
.examples("set {_i::*} to inventory contents property of player",
135135
"add an apple to inventory contents property of player",
136136
"remove all diamonds from inventory contents property of player")
137-
.since("INSERT VERSION");
137+
.since("3.10.0");
138138

139139
PropertyRegistry.registerProperty("name", new Property<>(Entity.class, String.class) {
140140
@Override
@@ -153,7 +153,7 @@ public void delete(Entity object) {
153153
}
154154
})
155155
.description("Represents the name of an entity.")
156-
.since("INSERT VERSION");
156+
.since("3.10.0");
157157

158158
PropertyRegistry.registerProperty("persistence required", new Property<>(LivingEntity.class, Boolean.class) {
159159
@Override
@@ -171,7 +171,7 @@ public void set(LivingEntity livingEntity, Boolean value) {
171171
"A silly side effect of this is that some mobs (such as sheep) will stop their random stroll goal when more than " +
172172
"32 blocks away from a player, setting this to true will prevent that and the mob will forever roam the lands.")
173173
.examples("set persistence required property of all mobs to true")
174-
.since("INSERT VERSION");
174+
.since("3.10.0");
175175

176176
PropertyRegistry.registerProperty("sitting", new Property<>(Sittable.class, Boolean.class) {
177177
@Override
@@ -187,7 +187,7 @@ public void set(Sittable sittable, Boolean value) {
187187
.description("Whether an entity is sitting. Currently supports Camel, Cat, Fox, Panda, Parrot, Wolf.")
188188
.examples("set sitting property of target entity to true",
189189
"if sitting property of event-mob is false:")
190-
.since("INSERT VERSION");
190+
.since("3.10.0");
191191
}
192192

193193
}

src/main/java/com/shanebeestudios/skbee/elements/property/properties/ItemProperties.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public Float get(ItemType itemType) {
2323
})
2424
.description("Represents the blast resistance of a block.")
2525
.examples("if blast resistance property of target block > 1:")
26-
.since("INSERT VERSION");
26+
.since("3.10.0");
2727

2828
PropertyRegistry.registerProperty("fire resistant", new Property<>(ItemType.class, Boolean.class) {
2929
@Override
@@ -40,7 +40,7 @@ public void set(ItemType itemType, Boolean value) {
4040
})
4141
.description("Represents if an item is fire resistant. If true, it will not burn in fire or lava.")
4242
.examples("set fire resistant property of {_i} to true")
43-
.since("INSERT VERSION");
43+
.since("3.10.0");
4444

4545
if (Skript.classExists("org.bukkit.inventory.ItemRarity")) {
4646
List<String> rarityNames = new ArrayList<>();
@@ -87,7 +87,7 @@ public void delete(ItemType itemType) {
8787
.examples("set item rarity property of player's tool to \"uncommon\"",
8888
"set {_rarity} to item rarity property of player's tool",
8989
"if item rarity property of player's tool = \"epic\":")
90-
.since("INSERT VERSION");
90+
.since("3.10.0");
9191
}
9292

9393
PropertyRegistry.registerProperty("unbreakable", new Property<>(ItemType.class, Boolean.class) {
@@ -106,7 +106,7 @@ public void set(ItemType itemType, Boolean value) {
106106
.description("Represents if the item is unbreakable.")
107107
.examples("set unbreakable property of player's tool to true",
108108
"set unbreakable property of player's tool to false")
109-
.since("INSERT VERSION");
109+
.since("3.10.0");
110110
}
111111

112112
}

src/main/java/com/shanebeestudios/skbee/elements/property/properties/PlayerProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void set(Player player, Integer value) {
2525
"Requires Paper 1.21.4+")
2626
.examples("set {_score} to death screen score property of player",
2727
"set death screen score property of player to 150")
28-
.since("INSERT VERSION");
28+
.since("3.10.0");
2929
}
3030
}
3131

0 commit comments

Comments
 (0)