Skip to content

Commit

Permalink
#912: Update Minecraft Wiki URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 authored and md-5 committed Sep 25, 2023
1 parent fb23cbb commit bcd8d2a
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Code Requirements
* Do not attempt to fix multiple problems with a single patch or pull request.
* Avoid moving or renaming classes.
* All non-private methods and constructors must have specified nullability through [annotations](https://github.com/JetBrains/java-annotations)
* All classes/methods/fields related to a [Minecraft Experimental Feature](https://minecraft.fandom.com/wiki/Experimental_Gameplay) must be marked with [`@MinecraftExperimental`](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/MinecraftExperimental.html)
* All classes/methods/fields related to a [Minecraft Experimental Feature](https://minecraft.wiki/w/Experimental_Gameplay) must be marked with [`@MinecraftExperimental`](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/MinecraftExperimental.html)
* If necessary, you may consider the use of one of the following [ApiStatus Annotations](https://javadoc.io/doc/org.jetbrains/annotations-java5/23.0.0/org/jetbrains/annotations/ApiStatus.html):
* [`@ApiStatus.Experimental`](https://javadoc.io/doc/org.jetbrains/annotations-java5/23.0.0/org/jetbrains/annotations/ApiStatus.Experimental.html) for API that is subject to change
* [`@ApiStatus.Internal`](https://javadoc.io/doc/org.jetbrains/annotations-java5/23.0.0/org/jetbrains/annotations/ApiStatus.Internal.html) for API that is intended only for internal use in the Bukkit project and will not adhere to Bukkit's API contract
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/GameRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* GameRules dictate certain behavior within Minecraft itself
* <br>
* For more information please visit the
* <a href="https://minecraft.gamepedia.com/Commands/gamerule">Minecraft
* <a href="https://minecraft.wiki/w/Commands/gamerule">Minecraft
* Wiki</a>
*
* @param <T> type of rule (Boolean or Integer)
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/bukkit/HeightMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
/**
* Further information regarding heightmaps.
*
* @see <a href="https://minecraft.gamepedia.com/Chunk_format">Gamepedia Chunk
* Format</a>
* @see <a href="https://minecraft.wiki/w/Chunk_format">Minecraft Wiki</a>
*/
public enum HeightMap {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/Material.java
Original file line number Diff line number Diff line change
Expand Up @@ -7919,7 +7919,7 @@ public boolean isFuel() {
* <li>Only occluding blocks can be "powered" ({@link Block#isBlockPowered()}).
* </ul>
* This list may be inconclusive. For a full list of the side effects of an occluding
* block, see the <a href="https://minecraft.fandom.com/wiki/Opacity">Minecraft Wiki</a>.
* block, see the <a href="https://minecraft.wiki/w/Opacity">Minecraft Wiki</a>.
*
* @return True if this material is a block and occludes light
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/MinecraftExperimental.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* Indicates that the annotated element (class, method, field, etc.) is part of a
* <a href="https://minecraft.fandom.com/wiki/Experimental_Gameplay">minecraft experimental feature</a>
* <a href="https://minecraft.wiki/w/Experimental_Gameplay">minecraft experimental feature</a>
* and is subject to changes by Mojang.
* <p>
* <b>Note:</b> Elements marked with this annotation require the use of a datapack or otherwise
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/bukkit/UnsafeValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public interface UnsafeValues {
* The advancement format is governed by Minecraft and has no specified
* layout.
* <br>
* It is currently a JSON object, as described by the Minecraft Wiki:
* http://minecraft.gamepedia.com/Advancements
* It is currently a JSON object, as described by the <a href="https://minecraft.wiki/w/Advancements">Minecraft wiki</a>.
* <br>
* Loaded advancements will be stored and persisted across server restarts
* and reloads.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/WorldCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public WorldCreator biomeProvider(@Nullable String biomeProvider, @Nullable Comm
* @param generatorSettings The settings that should be used by the
* generator
* @return This object, for chaining
* @see <a href="https://minecraft.gamepedia.com/Custom_dimension">Custom
* @see <a href="https://minecraft.wiki/w/Custom_dimension">Custom
* dimension</a> (scroll to "When the generator ID type is
* <code>minecraft:flat</code>)"
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/bukkit/block/Structure.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public interface Structure extends TileState {
/**
* Only applicable while in {@link UsageMode#DATA}. Metadata are specific
* functions that can be applied to the structure location. Consult the
* <a href="https://minecraft.gamepedia.com/Structure_Block#Data">Minecraft
* <a href="https://minecraft.wiki/w/Structure_Block#Data">Minecraft
* wiki</a> for more information.
*
* @param metadata the function to perform on the selected location
Expand All @@ -233,7 +233,7 @@ public interface Structure extends TileState {
/**
* Get the metadata function this structure block will perform when
* activated. Consult the
* <a href="https://minecraft.gamepedia.com/Structure_Block#Data">Minecraft
* <a href="https://minecraft.wiki/w/Structure_Block#Data">Minecraft
* Wiki</a> for more information.
*
* @return the function that will be performed when this block is activated
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/block/structure/UsageMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum UsageMode {
* Used to run specific custom functions, which can only be used for certain
* Structures. The structure block is removed after this function completes.
* The data tags (functions) can be found on the
* <a href="http://minecraft.gamepedia.com/Structure_Block#Data">wiki</a>.
* <a href="https://minecraft.wiki/w/Structure_Block#Data">wiki</a>.
*/
DATA;
}
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/entity/SpawnCategory.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Represents groups of entities with shared spawn behaviors and mob caps.
*
* @see <a href="https://minecraft.fandom.com/wiki/Spawn#Java_Edition_mob_cap">Minecraft Wiki</a>
* @see <a href="https://minecraft.wiki/w/Spawn#Java_Edition_mob_cap">Minecraft Wiki</a>
*/
public enum SpawnCategory {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/entity/TropicalFish.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public interface TropicalFish extends Fish {

/**
* Enumeration of all different fish patterns. Refer to the
* <a href="https://minecraft.gamepedia.com/Fish_(mob)">Minecraft Wiki</a>
* <a href="https://minecraft.wiki/w/Fish">Minecraft Wiki</a>
* for pictures.
*/
public static enum Pattern {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/bukkit/loot/LootTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* LootTables are technical files that represent what items should be in
* naturally generated containers, what items should be dropped when killing a
* mob, or what items can be fished.
*
* See the <a href="https://minecraft.gamepedia.com/Loot_table">
* <br>
* See the <a href="https://minecraft.wiki/w/Loot_table">
* Minecraft Wiki</a> for more information.
*/
public interface LootTable extends Keyed {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/bukkit/loot/LootTables.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
/**
* This enum holds a list of all known {@link LootTable}s offered by Mojang.
* This list is not guaranteed to be accurate in future versions.
*
* <br>
* See the
* <a href="https://minecraft.gamepedia.com/Loot_table#List_of_loot_tables">
* <a href="https://minecraft.wiki/w/Loot_table#List_of_loot_tables">
* Minecraft Wiki</a> for more information on loot tables.
*/
public enum LootTables implements Keyed {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/bukkit/packs/DataPack.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Represents a data pack.
*
* @see <a href="https://minecraft.wiki/w/Data_pack">Minecraft wiki</a>
*/
@ApiStatus.Experimental
public interface DataPack extends Keyed {
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/org/bukkit/plugin/PluginDescriptionFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public String getName() {
* <li>An entry of this list can be referenced in {@link #getDepend()},
* {@link #getSoftDepend()}, and {@link #getLoadBefore()}.
* <li><code>provides</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down Expand Up @@ -454,7 +454,7 @@ public PluginLoadOrder getLoad() {
* <li>A SpigotMC forum handle or email address is recommended.
* <li>Is displayed when a user types <code>/version PluginName</code>
* <li><code>authors</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down Expand Up @@ -491,7 +491,7 @@ public List<String> getAuthors() {
* <li>A SpigotMC forum handle or email address is recommended.
* <li>Is displayed when a user types <code>/version PluginName</code>
* <li><code>contributors</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down Expand Up @@ -538,7 +538,7 @@ public String getWebsite() {
* href=https://en.wikipedia.org/wiki/Circular_dependency>network</a>,
* all plugins in that network will fail.
* <li><code>depend</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down Expand Up @@ -570,7 +570,7 @@ public List<String> getDepend() {
* or soft-dependending each other), it will arbitrarily choose a
* plugin that can be resolved when ignoring soft-dependencies.
* <li><code>softdepend</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand All @@ -597,7 +597,7 @@ public List<String> getSoftDepend() {
* specified plugin's {@link #getSoftDepend()} include {@link
* #getName() this plugin}.
* <li><code>loadbefore</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down Expand Up @@ -661,7 +661,7 @@ public String getPrefix() {
* <td><code>aliases</code></td>
* <td>{@link PluginCommand#setAliases(List)}</td>
* <td>String or <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">List</a> of
* href="https://en.wikipedia.org/wiki/YAML#Lists">List</a> of
* strings</td>
* <td>Alternative command names, with special usefulness for commands
* that are already registered. <i>Aliases are not effective when
Expand Down Expand Up @@ -809,7 +809,7 @@ public Map<String, Map<String, Object>> getCommands() {
* <p>
* Child permissions may be defined in a number of ways:<ul>
* <li>Children may be defined as a <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">list</a> of
* href="https://en.wikipedia.org/wiki/YAML#Lists">list</a> of
* names. Using a list will treat all children associated
* positively to their parent.
* <li>Children may be defined as a map. Each permission name maps
Expand Down Expand Up @@ -917,7 +917,7 @@ public PermissionDefault getPermissionDefault() {
* by the API, effectively discluding any derived type from any
* plugin's classpath.
* <li><code>awareness</code> must be in <a
* href="http://en.wikipedia.org/wiki/YAML#Lists">YAML list
* href="https://en.wikipedia.org/wiki/YAML#Lists">YAML list
* format</a>.
* </ul>
* <p>
Expand Down

0 comments on commit bcd8d2a

Please sign in to comment.