Skip to content

Commit d89d654

Browse files
committed
commit for nightly docs
1 parent 0410f72 commit d89d654

File tree

87 files changed

+124
-103
lines changed

Some content is hidden

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

87 files changed

+124
-103
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.9.4
8+
version=2.10.0-beta1
99
jarName=Skript.jar
1010
testEnv=java21/paper-1.21.3
1111
testEnvJavaVersion=21

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ public String toVariableNameString(EnchantmentOffer eo) {
15341534
.user("(entity )?potion ?effect ?cause")
15351535
.name("Entity Potion Cause")
15361536
.description("Represents the cause of the action of a potion effect on an entity, e.g. arrow, command")
1537-
.since("INSERT VERSION"));
1537+
.since("2.10.0"));
15381538

15391539
ClassInfo<?> wolfVariantClassInfo;
15401540
if (Skript.classExists("org.bukkit.entity.Wolf$Variant") && BukkitUtils.registryExists("WOLF_VARIANT")) {
@@ -1558,7 +1558,7 @@ public String toVariableNameString(EnchantmentOffer eo) {
15581558
.user("(experience|[e]xp) cooldown change (reason|cause)s?")
15591559
.name("Experience Cooldown Change Reason")
15601560
.description("Represents a change reason of an <a href='events.html#experience cooldown change event'>experience cooldown change event</a>.")
1561-
.since("INSERT VERSION"));
1561+
.since("2.10.0"));
15621562
}
15631563

15641564
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public ColorRGB[] executeSimple(Object[][] params) {
550550
"dye player's leggings rgb(120, 30, 45)",
551551
"set the colour of a text display to rgb(10, 50, 100, 50)"
552552
)
553-
.since("2.5, INSERT VERSION (alpha)");
553+
.since("2.5, 2.10.0 (alpha)");
554554

555555
Functions.registerFunction(new SimpleJavaFunction<Player>("player", new Parameter[] {
556556
new Parameter<>("nameOrUUID", DefaultClasses.STRING, true, null),
@@ -667,7 +667,7 @@ public Quaternionf[] executeSimple(Object[][] params) {
667667
})
668668
.description("Returns a quaternion from the given W, X, Y and Z parameters. ")
669669
.examples("quaternion(1, 5.6, 45.21, 10)")
670-
.since("INSERT VERSION");
670+
.since("2.10.0");
671671
}
672672

673673
if (Skript.classExists("org.joml.AxisAngle4f")) {
@@ -687,7 +687,7 @@ public Quaternionf[] executeSimple(Object[][] params) {
687687
})
688688
.description("Returns a quaternion from the given angle (in degrees) and axis (as a vector). This represents a rotation around the given axis by the given angle.")
689689
.examples("axisangle(90, (vector from player's facing))")
690-
.since("INSERT VERSION");
690+
.since("2.10.0");
691691
}
692692
} // end joml functions
693693

@@ -728,7 +728,7 @@ public String[] executeSimple(Object[][] params) {
728728
"\ttrigger:",
729729
"\t\tset {_money} to formatNumber({money::%sender's uuid%})",
730730
"\t\tsend \"Your balance: %{_money}%\" to sender")
731-
.since("INSERT VERSION");
731+
.since("2.10.0");
732732
}
733733

734734
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ public boolean mustSyncDeserialization() {
643643
.user("quaternionf?s?")
644644
.name("Quaternion")
645645
.description("Quaternions are four dimensional vectors, often used for representing rotations.")
646-
.since("INSERT VERSION")
646+
.since("2.10.0")
647647
.parser(new Parser<>() {
648648
public boolean canParse(ParseContext context) {
649649
return false;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"if the player can see the last spawned entity:",
2323
"\tmessage \"hello there!\""
2424
})
25-
@Since("2.3, INSERT VERSION (entities)")
25+
@Since("2.3, 2.10.0 (entities)")
2626
@RequiredPlugins("Minecraft 1.19+ (entities)")
2727
public class CondCanSee extends Condition {
2828

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"\tsend \"You cannot partake in finding the colored word.\""
1616
})
1717
@RequiredPlugins("Paper")
18-
@Since("INSERT VERSION")
18+
@Since("2.10.0")
1919
public class CondChatColors extends PropertyCondition<Player> {
2020

2121
static {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"send \"<gray>This server may contain mature chat messages. You have been warned!\" to player",
1414
})
1515
@RequiredPlugins("Paper")
16-
@Since("INSERT VERSION")
16+
@Since("2.10.0")
1717
public class CondChatFiltering extends PropertyCondition<Player> {
1818

1919
static {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"\tsend action bar \"Server shutting down in 5 minutes!\""
2323
})
2424
@RequiredPlugins("Paper")
25-
@Since("INSERT VERSION")
25+
@Since("2.10.0")
2626
public class CondChatVisibility extends Condition {
2727

2828
static {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@Description("Checks if a creeper, wither, or wither skull is charged (powered).")
1515
@Examples({"if the last spawned creeper is charged:",
1616
"\tbroadcast \"A charged creeper is at %location of last spawned creeper%\""})
17-
@Since("2.5, INSERT VERSION (withers, wither skulls)")
17+
@Since("2.5, 2.10.0 (withers, wither skulls)")
1818
public class CondIsCharged extends PropertyCondition<Entity> {
1919

2020
static {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"if {_block} is conditional:",
2020
"\tmake {_block} unconditional"
2121
})
22-
@Since("INSERT VERSION")
22+
@Since("2.10.0")
2323
public class CondIsCommandBlockConditional extends PropertyCondition<Block> {
2424

2525
static {

0 commit comments

Comments
 (0)