Skip to content

Commit

Permalink
replace some old bit.ly links with actual links
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 18, 2020
1 parent 0271e51 commit 4f68d3b
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
Expand Up @@ -36,7 +36,7 @@ public class EntityBreaksHangingScriptEvent extends BukkitScriptEvent implements
// @Triggers when a hanging entity (painting, item_frame, or leash_hitch) is broken.
//
// @Context
// <context.cause> returns the cause of the entity breaking. Causes list: <@link url http://bit.ly/1BeqxPX>
// <context.cause> returns the cause of the entity breaking. Causes list: <@link url https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/hanging/HangingBreakEvent.RemoveCause.html>
// <context.breaker> returns the EntityTag that broke the hanging entity, if any.
// <context.hanging> returns the EntityTag of the hanging.
//
Expand Down
Expand Up @@ -31,7 +31,7 @@ public class EntityHealsScriptEvent extends BukkitScriptEvent implements Listene
// @Context
// <context.amount> returns the amount the entity healed.
// <context.entity> returns the EntityTag that healed.
// <context.reason> returns the cause of the entity healing. Can be: <@link url http://bit.ly/2GTtxsf>
// <context.reason> returns the cause of the entity healing. Can be: <@link url https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityRegainHealthEvent.RegainReason.html>
//
// @Determine
// ElementTag(Decimal) to set the amount of health the entity receives.
Expand Down
Expand Up @@ -27,7 +27,7 @@ public class PlayerChangesGamemodeScriptEvent extends BukkitScriptEvent implemen
// @Triggers when a player's gamemode is changed.
//
// @Context
// <context.gamemode> returns an ElementTag of the gamemode. Game Modes: <@link url http://bit.ly/1KHab43>
// <context.gamemode> returns an ElementTag of the gamemode. Game Modes: <@link url https://hub.spigotmc.org/javadocs/spigot/org/bukkit/GameMode.html>
//
// @Player Always.
//
Expand Down
Expand Up @@ -86,7 +86,7 @@ public class PlayerClicksInInventoryScriptEvent extends BukkitScriptEvent implem
// <context.inventory> returns the InventoryTag (the 'top' inventory, regardless of which slot was clicked).
// <context.clicked_inventory> returns the InventoryTag that was clicked in.
// <context.cursor_item> returns the item the Player is clicking with.
// <context.click> returns an ElementTag with the name of the click type. Click type list: <@link url http://bit.ly/2IjY198>
// <context.click> returns an ElementTag with the name of the click type. Click type list: <@link url https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/ClickType.html>
// <context.slot_type> returns an ElementTag with the name of the slot type that was clicked.
// <context.slot> returns an ElementTag with the number of the slot that was clicked.
// <context.raw_slot> returns an ElementTag with the raw number of the slot that was clicked.
Expand Down
Expand Up @@ -1035,7 +1035,7 @@ public static void registerTags() {
// @returns ElementTag
// @description
// Returns the base color of the banner at this location.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// As of 1.13+, this tag is no longer relevant.
// -->
registerTag("base_color", (attribute, object) -> {
Expand Down Expand Up @@ -1091,8 +1091,8 @@ public static void registerTags() {
// @mechanism LocationTag.patterns
// @description
// Lists the patterns of the banner at this location in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible patterns, see <@link url http://bit.ly/1MqRn7T>.
// For the list of possible colors, see <@link url hhttps://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// For the list of possible patterns, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html>.
// -->
registerTag("patterns", (attribute, object) -> {
ListTag list = new ListTag();
Expand Down Expand Up @@ -3590,7 +3590,7 @@ else if (getBlock().getType() == Material.FLOWER_POT) {
// @input Element
// @description
// Changes the base color of the banner at this location.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// As of 1.13+, this mechanism is no longer relevant.
// @tags
// <LocationTag.base_color>
Expand All @@ -3610,8 +3610,8 @@ else if (getBlock().getType() == Material.FLOWER_POT) {
// @input ListTag
// @description
// Changes the patterns of the banner at this location. Input must be in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible patterns, see <@link url http://bit.ly/1MqRn7T>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// For the list of possible patterns, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html>.
// @tags
// <LocationTag.patterns>
// <server.pattern_types>
Expand Down Expand Up @@ -3656,7 +3656,7 @@ else if (getBlock().getType() == Material.FLOWER_POT) {
// @input Element
// @description
// Generates a tree at this location if possible.
// For a list of valid tree types, see <@link url http://bit.ly/2o7m1je>
// For a list of valid tree types, see <@link url https://hub.spigotmc.org/javadocs/spigot/org/bukkit/TreeType.html>
// @tags
// <server.tree_types>
// -->
Expand Down
Expand Up @@ -3419,7 +3419,7 @@ else if (split.length > 1) {
// @description
// Shows the player fake patterns on a banner. Input must be in the form: "LOCATION|COLOR/PATTERN|..."
// As of Minecraft 1.13, the base color is unique material types, and so <@link command showfake> must be used for base color changes.
// For the list of possible patterns, see <@link url http://bit.ly/1MqRn7T>.
// For the list of possible patterns, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html>.
// -->
if (mechanism.matches("banner_update")) {
if (mechanism.getValue().asString().length() > 0) {
Expand Down
Expand Up @@ -94,7 +94,7 @@ public ObjectTag getObjectAttribute(Attribute attribute) {
// @mechanism ItemTag.base_color
// @description
// Gets the base color of a shield.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// -->
if (attribute.startsWith("base_color")) {
DyeColor baseColor = getBaseColor();
Expand Down Expand Up @@ -130,7 +130,7 @@ public void adjust(Mechanism mechanism) {
// @input Element
// @description
// Changes the base color of a shield.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// @tags
// <ItemTag.base_color>
// -->
Expand Down
Expand Up @@ -115,8 +115,8 @@ public ObjectTag getObjectAttribute(Attribute attribute) {
// @mechanism ItemTag.patterns
// @description
// Lists a banner's patterns in the form "COLOR/PATTERN|COLOR/PATTERN" etc.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible patterns, see <@link url http://bit.ly/1MqRn7T>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// For the list of possible patterns, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html>.
// -->
if (attribute.startsWith("patterns")) {
return listPatterns().getObjectAttribute(attribute.fulfill(1));
Expand Down Expand Up @@ -149,8 +149,8 @@ public void adjust(Mechanism mechanism) {
// @description
// Changes the patterns of a banner. Input must be in the form
// "COLOR/PATTERN|COLOR/PATTERN" etc.
// For the list of possible colors, see <@link url http://bit.ly/1dydq12>.
// For the list of possible patterns, see <@link url http://bit.ly/1MqRn7T>.
// For the list of possible colors, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html>.
// For the list of possible patterns, see <@link url https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html>.
// @tags
// <ItemTag.patterns>
// <server.pattern_types>
Expand Down

0 comments on commit 4f68d3b

Please sign in to comment.