diff --git a/pom.xml b/pom.xml index 947130642..08ab8a5b7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.shanebeestudios SkBee - 2.7.8 + 2.8.0 16 diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/effects/EffTempSpawn.java b/src/main/java/com/shanebeestudios/skbee/elements/display/effects/EffTempSpawn.java index 7647b3fd8..90e8791e3 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/effects/EffTempSpawn.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/effects/EffTempSpawn.java @@ -24,7 +24,7 @@ "NOTE: This is a TEMPORARY solution until Skript adds these entities."}) @Examples({"le spawn item display entity at player", "set item display of last spawned entity to diamond"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class EffTempSpawn extends Effect { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayBlock.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayBlock.java index 0cc78b51c..872ceddeb 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayBlock.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayBlock.java @@ -18,7 +18,7 @@ @Name("DisplayEntity - Block Display Blockdata") @Description({"Represents the block data of a Block Display Entity.", Types.McWIKI}) @Examples("set display block data of {_display} to oak_stairs[facing=south]") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprBlockDisplayBlock extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayItemType.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayItemType.java index e6257766f..617bc1348 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayItemType.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprBlockDisplayItemType.java @@ -21,7 +21,7 @@ @Description({"Represents the block type of a Block Display Entity.", "I HIGHLY recommend not using this, use the block data method instead.", Types.McWIKI}) @Examples("set display block item type of {_omgPleaseStopUsingItemTypesForThisPleaseUseBlockDataInstead} to diamond ore") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprBlockDisplayItemType extends SimplePropertyExpression { private static final BlockData STONE = Material.STONE.createBlockData(); diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBillboard.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBillboard.java index 38a15ed19..8b805bf5b 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBillboard.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBillboard.java @@ -18,7 +18,7 @@ @Name("DisplayEntity - Billboard") @Description({"Represents the billboard of a Display Entity.", Types.McWIKI}) @Examples("set display billboard of {_display} to horizontal") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayBillboard extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBrightness.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBrightness.java index 6f8e741bb..913af54fc 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBrightness.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayBrightness.java @@ -19,7 +19,7 @@ @Description({"Represents the brightness attributes of a Display Entity.", "NOTE: If this is not set in the first place, it will return nothing!", Types.McWIKI}) @Examples("set display brightness of {_display} to displayBrightness(10,10)") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayBrightness extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayGlowColor.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayGlowColor.java index 09ea30df3..019f0bbd1 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayGlowColor.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayGlowColor.java @@ -18,7 +18,7 @@ @Name("DisplayEntity - Glow Color Override") @Description({"Represents the glow color override of a Display Entity.", Types.McWIKI}) @Examples("set glow color override of {_display} to bukkitColor(255,1,1,100)") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayGlowColor extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayInterpolation.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayInterpolation.java index d13f3c47c..4db87015a 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayInterpolation.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayInterpolation.java @@ -22,7 +22,7 @@ "NOTE: Due to how these work, you will need to use integers as ticks instead of time spans.", Types.McWIKI}) @Examples({"set interpolation start of {_display} to -1", "set interpolation delay of {_display} to 200"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayInterpolation extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayRotation.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayRotation.java index 93f50c6f4..809ab4ac9 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayRotation.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayRotation.java @@ -24,7 +24,7 @@ @Description({"Represents the transformation left/right rotation of a Display Entity.", Types.McWIKI}) @Examples({"set display left rotation of {_display} to vector4(0,1,1,0)", "set display right rotation of {_display} to vector4(1,0,0,5)"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayRotation extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayScale.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayScale.java index 442842fc1..5e1d33b09 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayScale.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayScale.java @@ -21,7 +21,7 @@ @Name("DisplayEntity - Scale") @Description({"Represents the transformation scale of a Display Entity.", Types.McWIKI}) @Examples("set display scale of {_display} to vector(5,5,5)") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayScale extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayShadow.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayShadow.java index 1082b1a87..79dd1792e 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayShadow.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayShadow.java @@ -21,7 +21,7 @@ @Description({"Represents the shadow radius/strength of a Display Entity.", Types.McWIKI}) @Examples({"set shadow strength of {_display} to 3", "set shadow radius of {_display} to 10"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayShadow extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTransformation.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTransformation.java index 87d8c2bf3..ac51db8ea 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTransformation.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTransformation.java @@ -18,7 +18,7 @@ @Name("DisplayEntity - Transformation") @Description({"Represents the transformation of a Display Entity.", Types.McWIKI}) @Examples("set display transformation of {_display} to {_transformation}") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayTransformation extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTranslation.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTranslation.java index ff79bf70b..2ab1a733f 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTranslation.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayTranslation.java @@ -21,7 +21,7 @@ @Name("DisplayEntity - Translation") @Description({"Represents the transformation translation of a Display Entity.", Types.McWIKI}) @Examples("set display translation of {_display} to vector(0,2,0)") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayTranslation extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayViewRange.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayViewRange.java index b691a4fc0..bd3e0969d 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayViewRange.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayViewRange.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - View Range") @Description({"Represents the view range of a Display Entity.", Types.McWIKI}) @Examples("set view range of {_display} to 500") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayViewRange extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayWidthHeight.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayWidthHeight.java index ed9d0d871..ddbb59c6d 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayWidthHeight.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprDisplayWidthHeight.java @@ -20,7 +20,7 @@ @Name("DisplayEntity - Display Width/Height") @Description({"Represents the width/height of a display entity.", Types.McWIKI}) @Examples("set display width of {_display} to 3") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprDisplayWidthHeight extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayItem.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayItem.java index e843e01a1..028eba0f3 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayItem.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayItem.java @@ -21,7 +21,7 @@ @Examples({"set display item of {_display} to diamond sword", "set display item of {_display} to air", "delete display item of {_display}"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprItemDisplayItem extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayTransform.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayTransform.java index 1d431dc34..16d80f0ef 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayTransform.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprItemDisplayTransform.java @@ -19,7 +19,7 @@ @Description({"Represents the item display transform of an Item Display Entity.", Types.McWIKI}) @Examples({"set item display transform of {_display} to ground transform", "set item display transform of {_display} to fixed transform"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprItemDisplayTransform extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayAlignment.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayAlignment.java index 2928217cf..567df60ba 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayAlignment.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayAlignment.java @@ -18,7 +18,7 @@ @Name("DisplayEntity - Text Alignment") @Description({"Represents the text alignment of a Text Display Entity.", Types.McWIKI}) @Examples("set text alignment of {_display} to left aligned") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayAlignment extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayBackgroundColor.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayBackgroundColor.java index 511bd05d8..ae7c86645 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayBackgroundColor.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayBackgroundColor.java @@ -19,7 +19,7 @@ @Description({"Represents the text background color of a Text Display Entity.", "NOTE: Due to Skript Color missing the alpha channel, you must use Bukkit Colors here.", Types.McWIKI}) @Examples("set text background color of {_display} to bukkitColor(55,100,0,150)") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayBackgroundColor extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayDefaultBackground.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayDefaultBackground.java index 226d62a4d..b791b163c 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayDefaultBackground.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayDefaultBackground.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - Text Default Background") @Description({"Represents if a Text Display Entity should use a default background.", Types.McWIKI}) @Examples("set default text background of {_display} to true") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayDefaultBackground extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayLineWidth.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayLineWidth.java index 57320de51..baa342c17 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayLineWidth.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayLineWidth.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - Text Line Width") @Description({"Represents the line width of a Text Display Entity.", Types.McWIKI}) @Examples("set line width of {_display} to 100") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayLineWidth extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayOpacity.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayOpacity.java index e12978e06..2e1611a0f 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayOpacity.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayOpacity.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - Text Opacity") @Description({"Represents the text opacity of a Text Display Entity.", Types.McWIKI}) @Examples("set text opacity of {_display} to 50") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayOpacity extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplaySeeThru.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplaySeeThru.java index 7a57b7498..a3fc2ddfe 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplaySeeThru.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplaySeeThru.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - See Through") @Description({"Represents the see through state of a Text Display Entity.", Types.McWIKI}) @Examples("set see thru state of {_display} to true") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplaySeeThru extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayShadowed.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayShadowed.java index 52e7495d1..a7fe01965 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayShadowed.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayShadowed.java @@ -17,7 +17,7 @@ @Name("DisplayEntity - Text Shadowed") @Description({"Represents the shadowed state of a Text Display Entity.", Types.McWIKI}) @Examples("set text shadowed of {_display} to true") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayShadowed extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayText.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayText.java index 9229e252a..cda89acfb 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayText.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayText.java @@ -19,7 +19,7 @@ @Description({"Represents the display text of a Text Display Entity.", "NOTE: Supports multiple lines.", Types.McWIKI}) @Examples("set display text of {_display} to \"Line 1\", \"Line 2\" and \"Line 3\"") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayText extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayTextComponent.java b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayTextComponent.java index 2a73a3c65..8406a6b08 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayTextComponent.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/expressions/ExprTextDisplayTextComponent.java @@ -20,7 +20,7 @@ @Name("DisplayEntity - Text Component") @Description({"Represents the text component of a Text Display Entity.", Types.McWIKI}) @Examples("set display component of {_display} to mini message from \"OOO A RAINBOW\"") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprTextDisplayTextComponent extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/display/types/Types.java b/src/main/java/com/shanebeestudios/skbee/elements/display/types/Types.java index 646b665e1..d397b58e9 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/display/types/Types.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/display/types/Types.java @@ -35,7 +35,7 @@ public class Types { .user("display ?brightness(es)?") .name("DisplayEntity - Display Brightness") .description("Represents the brightness attributes of a Display Entity.", McWIKI) - .since("INSERT VERSION")); + .since("2.8.0")); EnumUtils BILLBOARD_ENUM = new EnumUtils<>(Billboard.class); Classes.registerClass(new ClassInfo<>(Billboard.class, "displaybillboard") @@ -43,7 +43,7 @@ public class Types { .name("DisplayEntity - Billboard") .description("Represents the Billboard of a Display Entity.", McWIKI) .usage(BILLBOARD_ENUM.getAllNames()) - .since("INSERT VERSION") + .since("2.8.0") .parser(BILLBOARD_ENUM.getParser())); EnumUtils TEXT_ALIGNMENT_ENUM = new EnumUtils<>(TextAligment.class, "", "aligned"); @@ -54,7 +54,7 @@ public class Types { "NOTE: While I understand these names do not directly align with Minecraft,", "I had to suffix them to deal with conflict issues.", McWIKI) .usage(TEXT_ALIGNMENT_ENUM.getAllNames()) - .since("INSERT VERSION") + .since("2.8.0") .parser(TEXT_ALIGNMENT_ENUM.getParser())); EnumUtils TRANSFORM_ENUM = new EnumUtils<>(ItemDisplayTransform.class, "", "transform"); @@ -63,14 +63,14 @@ public class Types { .name("DisplayEntity - Item Display Transform") .description("Represents the item display transform of an Item Display Entity.", McWIKI) .usage(TRANSFORM_ENUM.getAllNames()) - .since("INSERT VERSION") + .since("2.8.0") .parser(TRANSFORM_ENUM.getParser())); TRANSFORMATION = new ClassInfo<>(Transformation.class, "transformation") .user("transformations?") .name("DisplayEntity - Transformation") .description("Represents a transformation of a Display Entity.", McWIKI) - .since("INSERT VERSION"); + .since("2.8.0"); Classes.registerClass(TRANSFORMATION); Classes.registerClass(new ClassInfo<>(Color.class, "bukkitcolor") @@ -78,13 +78,13 @@ public class Types { .name("Bukkit Color") .description("Represents a Bukkit color. This is different than a Skript color", "as it adds an alpha channel.") - .since("INSERT VERSION")); + .since("2.8.0")); VECTOR4 = new ClassInfo<>(Quaternionf.class, "vector4") .user("vector4s?") .name("Vector4") .description("Represents a Quaternion (like a vector but with 4 values).") - .since("INSERT VERSION") + .since("2.8.0") .parser(new Parser<>() { @SuppressWarnings("NullableProblems") @@ -134,7 +134,7 @@ public boolean canParse(ParseContext context) { .description("Creates a new display brightness object for use on a Display Entity.", "Number values must be between 0 and 15.", McWIKI) .examples("set {_db} to displayBrightness(10,10)") - .since("INSERT VERSION")); + .since("2.8.0")); //noinspection DataFlowIssue Functions.registerFunction(new SimpleJavaFunction<>("bukkitColor", new Parameter[]{ @@ -160,7 +160,7 @@ public boolean canParse(ParseContext context) { .description("Creates a new Bukkit Color using alpha, red, green and blue channels.", "Number values must be between 0 and 255.") .examples("set {_color} to bukkitColor(50,155,100,10)") - .since("INSERT VERSION")); + .since("2.8.0")); Functions.registerFunction(new SimpleJavaFunction<>("vector4", new Parameter[]{ new Parameter<>("x", DefaultClasses.NUMBER, true, null), @@ -180,7 +180,7 @@ public boolean canParse(ParseContext context) { } .description("Creates a new Vector4(Quaternion).") .examples("set {_v} to vector4(1,0,0,0)") - .since("INSERT VERSION")); + .since("2.8.0")); Functions.registerFunction(new SimpleJavaFunction<>("transformation", new Parameter[]{ new Parameter<>("translation", DefaultClasses.VECTOR, true, null), @@ -205,7 +205,7 @@ public Transformation[] executeSimple(Object[][] params) { "\tset {_lr} to vector4(1,1,1,1)", "\tset {_rr} to vector4(2,2,2,2)", "\tset {_transform} to transformation({_trans}, {_scale}, {_lr}, {_rr})") - .since("INSERT VERSION")); + .since("2.8.0")); } public static Vector3f converToVector3f(Vector vector) { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/conditions/CondFishHookInOpenWater.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/conditions/CondFishHookInOpenWater.java index dbf68fd4b..b92701da7 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/conditions/CondFishHookInOpenWater.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/conditions/CondFishHookInOpenWater.java @@ -14,7 +14,7 @@ "Open water is defined by a 5x4x5 area of water, air and lily pads.", "If in open water, treasure items may be caught."}) @Examples("if fish hook is in open water:") -@Since("INSERT VERSION") +@Since("2.8.0") public class CondFishHookInOpenWater extends PropertyCondition { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/effects/EffFishHookPullIn.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/effects/EffFishHookPullIn.java index 169e35fb5..e2cdc75aa 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/effects/EffFishHookPullIn.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/effects/EffFishHookPullIn.java @@ -18,7 +18,7 @@ @Name("Fish Hook - Pull In") @Description("Pulls in the entity hooked to this fish hook.") @Examples("pull in hooked entity of {_fishHook}") -@Since("INSERT VERSION") +@Since("2.8.0") public class EffFishHookPullIn extends Effect { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookHookedEntity.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookHookedEntity.java index 49e12f556..123454cdf 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookHookedEntity.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookHookedEntity.java @@ -18,7 +18,7 @@ @Examples({"on fish:", "\tif fish state = caught entity:", "\t\tdelete hooked entity of fish event hook"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprFishHookHookedEntity extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookState.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookState.java index f036d8617..37a6e043f 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookState.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookState.java @@ -14,7 +14,7 @@ @Name("Fish Hook - Hooked State") @Description("Represents the hooked state of a fish hook.") @Examples("if hook state of fish hook = bobbing:") -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprFishHookState extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookWaitTime.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookWaitTime.java index b32441006..e46f5d2b8 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookWaitTime.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprFishHookWaitTime.java @@ -26,7 +26,7 @@ "\tif fish state = fishing:", "\t\tset min wait time of fish hook to 1 second", "\t\tset max wait time of fish hook to 2 seconds"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprFishHookWaitTime extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprPufferFishState.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprPufferFishState.java index 3c81bd427..547e166bf 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprPufferFishState.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/expressions/ExprPufferFishState.java @@ -18,7 +18,7 @@ @Examples({"set puff state of target entity to 1", "add 1 to puff state of target entity", "reset puff state of target entity"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprPufferFishState extends SimplePropertyExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/fishing/type/Types.java b/src/main/java/com/shanebeestudios/skbee/elements/fishing/type/Types.java index 896e7b356..94016566b 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/fishing/type/Types.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/fishing/type/Types.java @@ -30,7 +30,7 @@ public class Types { .user("fish ?hook ?states?") .name("Fish Hook State") .usage(FISH_HOOK_STATE_ENUM.getAllNames()) - .since("INSERT VERSION") + .since("2.8.0") .parser(FISH_HOOK_STATE_ENUM.getParser())); } else { Util.logLoading("It looks like another addon registered 'fishhookstate' already."); diff --git a/src/main/java/com/shanebeestudios/skbee/elements/nbt/expressions/ExprBlankNBTCompound.java b/src/main/java/com/shanebeestudios/skbee/elements/nbt/expressions/ExprBlankNBTCompound.java index fedad44a6..7c4a04c20 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/nbt/expressions/ExprBlankNBTCompound.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/nbt/expressions/ExprBlankNBTCompound.java @@ -20,7 +20,7 @@ @Description("Returns an empty/new NBT compound.") @Examples({"set {_n} to blank nbt compound", "set tag \"points\" of {_n} to 10"}) -@Since("INSERT VERSION") +@Since("2.8.0") public class ExprBlankNBTCompound extends SimpleExpression { static { diff --git a/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffEntityDamageEntity.java b/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffEntityDamageEntity.java index 2e951e3ce..0a01abcf5 100644 --- a/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffEntityDamageEntity.java +++ b/src/main/java/com/shanebeestudios/skbee/elements/other/effects/EffEntityDamageEntity.java @@ -18,7 +18,7 @@ @Name("Entity Damage Entity") @Description("Make an entity damage another entity by a given amount.") @Examples("make last spawned entity damage player by 10") -@Since("INSERT VERSION") +@Since("2.8.0") public class EffEntityDamageEntity extends Effect { static {