Skip to content

Commit

Permalink
Update Minecraft wiki links to new domain (#6078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongecade authored Oct 2, 2023
1 parent 8c7fec0 commit 886fb67
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/classes/data/BukkitClasses.java
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ public String toVariableNameString(FireworkEffect effect) {
.user("(panda )?genes?")
.name("Gene")
.description("Represents a Panda's main or hidden gene. " +
"See <a href='https://minecraft.gamepedia.com/Panda#Genetics'>genetics</a> for more info.")
"See <a href='https://minecraft.wiki/w/Panda#Genetics'>genetics</a> for more info.")
.since("2.4")
.requiredPlugins("Minecraft 1.14 or newer"));
}
Expand Down Expand Up @@ -1486,7 +1486,7 @@ public String toVariableNameString(EnchantmentOffer eo) {
.user("attribute ?types?")
.name("Attribute Type")
.description("Represents the type of an attribute. Note that this type does not contain any numerical values."
+ "See <a href='https://minecraft.gamepedia.com/Attribute#Attributes'>attribute types</a> for more info.")
+ "See <a href='https://minecraft.wiki/w/Attribute#Attributes'>attribute types</a> for more info.")
.since("2.5"));

Classes.registerClass(new EnumClassInfo<>(Environment.class, "environment", "environments")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@Name("Is Slime Chunk")
@Description({"Tests whether a chunk is a so-called slime chunk.",
"Slimes can generally spawn in the swamp biome and in slime chunks.",
"For more info, see <a href='https://minecraft.gamepedia.com/Slime#.22Slime_chunks.22'>the Minecraft wiki</a>."})
"For more info, see <a href='https://minecraft.wiki/w/Slime#.22Slime_chunks.22'>the Minecraft wiki</a>."})
@Examples({"command /slimey:",
"\ttrigger:",
"\t\tif chunk at player is a slime chunk:",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffExplosion.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author Peter Güttinger
*/
@Name("Explosion")
@Description({"Creates an explosion of a given force. The Minecraft Wiki has an <a href='https://www.minecraftwiki.net/wiki/Explosion'>article on explosions</a> " +
@Description({"Creates an explosion of a given force. The Minecraft Wiki has an <a href='https://www.minecraft.wiki/w/Explosion'>article on explosions</a> " +
"which lists the explosion forces of TNT, creepers, etc.",
"Hint: use a force of 0 to create a fake explosion that does no damage whatsoever, or use the explosion effect introduced in Skript 2.0.",
"Starting with Bukkit 1.4.5 and Skript 2.0 you can use safe explosions which will damage entities but won't destroy any blocks."})
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprAge.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void change(Event event, @Nullable Object[] delta, ChangeMode mode) {
setAge(obj, newValue);
break;
case RESET:
// baby animals takes 20 minutes to grow up - ref: https://minecraft.fandom.com/wiki/Breeding
// baby animals takes 20 minutes to grow up - ref: https://minecraft.wiki/w/Breeding
if (obj instanceof org.bukkit.entity.Ageable)
// it might change later on so removing entity age reset would be better unless
// bukkit adds a method returning the default age
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@Name("Explosion Yield")
@Description({"The yield of the explosion in an explosion prime event. This is how big the explosion is.",
" When changing the yield, values less than 0 will be ignored.",
" Read <a href='https://minecraft.gamepedia.com/Explosion'>this wiki page</a> for more information"})
" Read <a href='https://minecraft.wiki/w/Explosion'>this wiki page</a> for more information"})
@Examples({"on explosion prime:",
"\tset the yield of the explosion to 10"})
@Events("explosion prime")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

@Name("Explosive Yield")
@Description({"The yield of an explosive (creeper, primed tnt, fireball, etc.). This is how big of an explosion is caused by the entity.",
"Read <a href='https://minecraft.gamepedia.com/Explosion'>this wiki page</a> for more information"})
"Read <a href='https://minecraft.wiki/w/Explosion'>this wiki page</a> for more information"})
@Examples({"on spawn of a creeper:",
"\tset the explosive yield of the event-entity to 10"})
@RequiredPlugins("Minecraft 1.12 or newer for creepers")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import ch.njol.skript.expressions.base.SimplePropertyExpression;

@Name("Gliding State")
@Description("Sets of gets gliding state of player. It allows you to set gliding state of entity even if they do not have an <a href=\"https://minecraft.gamepedia.com/Elytra\">Elytra</a> equipped.")
@Description("Sets of gets gliding state of player. It allows you to set gliding state of entity even if they do not have an <a href=\"https://minecraft.wiki/w/Elytra\">Elytra</a> equipped.")
@Examples({"set gliding of player to off"})
@Since("2.2-dev21")
public class ExprGlidingState extends SimplePropertyExpression<LivingEntity, Boolean> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@Name("Scoreboard Tags")
@Description({"Scoreboard tags are simple list of texts stored directly in the data of an <a href='classes.html#entity'>entity</a>.",
"So this is a Minecraft related thing, not Bukkit, so the tags will not get removed when the server stops. " +
"You can visit <a href='https://minecraft.gamepedia.com/Scoreboard#Tags'>visit Minecraft Wiki</a> for more info.",
"You can visit <a href='https://minecraft.wiki/w/Scoreboard#Tags'>visit Minecraft Wiki</a> for more info.",
"This is changeable and valid for any type of entity. " +
"Also you can use use the <a href='conditions.html#CondHasScoreboardTag'>Has Scoreboard Tag</a> condition to check whether an entity has the given tags.",
"",
Expand Down

0 comments on commit 886fb67

Please sign in to comment.