Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Minecraft wiki links to new domain #6078

Merged
merged 2 commits into from Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/classes/data/BukkitClasses.java
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
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
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
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
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
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
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
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