Skip to content

Commit 3517681

Browse files
Prepare For Release (2.12.0-pre1) (#7990)
1 parent 69efb98 commit 3517681

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+57
-57
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.parallel=true
55

66
groupid=ch.njol
77
name=skript
8-
version=2.11.2
8+
version=2.12.0-pre1
99
jarName=Skript.jar
1010
testEnv=java21/paper-1.21.7
1111
testEnvJavaVersion=21

src/main/java/ch/njol/skript/aliases/ItemType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ public boolean hasAnyEnchantments(Enchantment... enchantments) {
13851385
* @param enchantments The enchantments to be checked.
13861386
* @deprecated Use {@link #hasEnchantmentsOrBetter(EnchantmentType...)}
13871387
*/
1388-
@Deprecated(since="INSERT VERSION")
1388+
@Deprecated(since="2.12")
13891389
public boolean hasEnchantments(EnchantmentType... enchantments) {
13901390
return hasEnchantmentsOrBetter(true, enchantments);
13911391
}
@@ -1397,7 +1397,7 @@ public boolean hasEnchantments(EnchantmentType... enchantments) {
13971397
* @param enchantments The enchantments to be checked.
13981398
* @deprecated Use {@link #hasEnchantmentsOrBetter(boolean, EnchantmentType...)}
13991399
*/
1400-
@Deprecated(since="INSERT VERSION")
1400+
@Deprecated(since="2.12")
14011401
public boolean hasEnchantments(boolean all, EnchantmentType... enchantments) {
14021402
return hasEnchantmentsOrBetter(all, enchantments);
14031403
}

src/main/java/ch/njol/skript/classes/data/BukkitClasses.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ public String toVariableNameString(WorldBorder border) {
15811581
.name("Pig Variant")
15821582
.description("Represents the variant of a pig entity.",
15831583
"NOTE: Minecraft namespaces are supported, ex: 'minecraft:warm'.")
1584-
.since("INSERT VERSION")
1584+
.since("2.12")
15851585
.requiredPlugins("Minecraft 1.21.5+")
15861586
.documentationId("PigVariant"));
15871587

@@ -1600,7 +1600,7 @@ public String toVariableNameString(WorldBorder border) {
16001600
.name("Chicken Variant")
16011601
.description("Represents the variant of a chicken entity.",
16021602
"NOTE: Minecraft namespaces are supported, ex: 'minecraft:warm'.")
1603-
.since("INSERT VERSION")
1603+
.since("2.12")
16041604
.requiredPlugins("Minecraft 1.21.5+")
16051605
.documentationId("ChickenVariant")
16061606
);
@@ -1620,7 +1620,7 @@ public String toVariableNameString(WorldBorder border) {
16201620
.name("Cow Variant")
16211621
.description("Represents the variant of a cow entity.",
16221622
"NOTE: Minecraft namespaces are supported, ex: 'minecraft:warm'.")
1623-
.since("INSERT VERSION")
1623+
.since("2.12")
16241624
.requiredPlugins("Minecraft 1.21.5+")
16251625
.documentationId("CowVariant")
16261626
);
@@ -1629,7 +1629,7 @@ public String toVariableNameString(WorldBorder border) {
16291629
.user("(villager )?career ?change ?reasons?")
16301630
.name("Villager Career Change Reason")
16311631
.description("Represents a reason why a villager changed its career.")
1632-
.since("INSERT VERSION")
1632+
.since("2.12")
16331633
);
16341634

16351635
}

src/main/java/ch/njol/skript/conditions/CondHasCustomModelData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
send "Flag %loop-index%: %loop-value%"
2222
""")
2323
@Example("set {_coloured} to whether player's tool has model data colours")
24-
@Since("2.5, INSERT VERSION (expanded data types)")
24+
@Since("2.5, 2.12 (expanded data types)")
2525
@RequiredPlugins("Minecraft 1.21.4+ (floats/flags/strings/colours)")
2626
public class CondHasCustomModelData extends PropertyCondition<ItemType> {
2727

src/main/java/ch/njol/skript/conditions/CondHasItemCooldown.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
send "You can't use this item right now. Wait %item cooldown of player's tool for player%"
3333
""")
3434
@RequiredPlugins("MC 1.21.2 (cooldown group)")
35-
@Since({"2.8.0", "INSERT VERSION (cooldown group)"})
35+
@Since({"2.8.0", "2.12 (cooldown group)"})
3636
public class CondHasItemCooldown extends Condition {
3737

3838
// Cooldown groups were added in Minecraft 1.21.2

src/main/java/ch/njol/skript/conditions/CondIsDivisibleBy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"if 11 cannot be evenly divided by 10:",
2727
"if 0.3 can be evenly divided by 0.1 with a tolerance of 0.0000001:"
2828
})
29-
@Since("2.10, INSERT VERSION (tolerance)")
29+
@Since("2.10, 2.12 (tolerance)")
3030
public class CondIsDivisibleBy extends Condition implements SyntaxRuntimeErrorProducer {
3131

3232
static {

src/main/java/ch/njol/skript/conditions/CondIsEnchanted.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@Example("tool of the player is enchanted with efficiency 2")
2121
@Example("if player's helmet or player's boots are enchanted with protection 3 or better:")
2222
@Example("if player's chestplate is enchanted with protection")
23-
@Since("1.4.6, INSERT VERSION ('or better')")
23+
@Since("1.4.6, 2.12 ('or better')")
2424
public class CondIsEnchanted extends Condition {
2525

2626
private enum Comparison {

src/main/java/ch/njol/skript/conditions/CondStriderIsShivering.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if last spawned strider is shivering:
1515
make last spawned strider stop shivering
1616
""")
17-
@Since("INSERT VERSION")
17+
@Since("2.12")
1818
public class CondStriderIsShivering extends PropertyCondition<LivingEntity> {
1919

2020
static {

src/main/java/ch/njol/skript/config/EnumParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @deprecated Use {@link ch.njol.skript.classes.EnumParser} instead.
1111
*/
12-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
12+
@Deprecated(since = "2.12", forRemoval = true)
1313
public class EnumParser<E extends Enum<E>> implements Converter<String, E> {
1414

1515
private final Class<E> enumType;

src/main/java/ch/njol/skript/effects/EffCancelDrops.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
on player block harvest:
3838
cancel the item drops
3939
""")
40-
@Since("2.4, INSERT VERSION (harvest event)")
40+
@Since("2.4, 2.12 (harvest event)")
4141
@RequiredPlugins("1.12.2 or newer (cancelling item drops of blocks)")
4242
@Events({"death", "break / mine", "block drop", "harvest"})
4343
public class EffCancelDrops extends Effect implements EventRestrictedSyntax {

0 commit comments

Comments
 (0)