Skip to content

Commit

Permalink
Update Gamepedia wiki links
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongecade committed Oct 1, 2023
1 parent 650c372 commit 846e01b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@ public final class AdvancementTypes {
/**
* Represents the challenge completion advancement type.
*
* @see <a href="https://minecraft.gamepedia.com/File:ChallengeComplete.png">
* @see <a href="https://minecraft.wiki/w/File:ChallengeComplete.png">
* the Minecraft Wiki for an example of this advancement type</a>
*/
public static final DefaultedRegistryReference<AdvancementType> CHALLENGE = AdvancementTypes.key(ResourceKey.sponge("challenge"));

/**
* Represents the goal reached advancement type.
*
* @see <a href="https://minecraft.gamepedia.com/File:GoalReached.png">
* @see <a href="https://minecraft.wiki/w/File:GoalReached.png">
* the Minecraft Wiki for an example of this advancement type</a>
*/
public static final DefaultedRegistryReference<AdvancementType> GOAL = AdvancementTypes.key(ResourceKey.sponge("goal"));

/**
* Represents the advancement made advancement type.
*
* @see <a href="https://minecraft.gamepedia.com/File:AdvancementMade.png">
* @see <a href="https://minecraft.wiki/w/File:AdvancementMade.png">
* the Minecraft Wiki for an example of this advancement type</a>
*/
public static final DefaultedRegistryReference<AdvancementType> TASK = AdvancementTypes.key(ResourceKey.sponge("task"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static Builder builder() {
* generated block entity. Note that this is a copied container.
*
* <p>The format used for this container follows the
* <a href="https://minecraft.gamepedia.com/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* <a href="https://minecraft.wiki/w/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* and can be customized based on the origination of the {@link BlockEntity}.
* If the block entity originates from a content-adding mod, the format could
* vary based on it's implementation and may change at any time.
Expand All @@ -92,7 +92,7 @@ static Builder builder() {
* values are not used as those are dependent on usage.
*
* <p>The format used for this container follows the
* <a href="https://minecraft.gamepedia.com/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* <a href="https://minecraft.wiki/w/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* and can be customized based on the origination of the {@link BlockEntity}.
* If the block entity originates from a content-adding mod, the format could
* vary based on it's implementation and may change at any time.
Expand Down Expand Up @@ -165,7 +165,7 @@ default Builder blockEntity(Supplier<? extends BlockEntityType> type) {
* is called.
*
* <p>The format used for this container follows the
* <a href="https://minecraft.gamepedia.com/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* <a href="https://minecraft.wiki/w/Chunk_format#Block_entity_format">Mojang ChunkFormat for BlockEntities.</a>,
* and can be customized based on the origination of the {@link BlockEntity}.
* If the block entity originates from a content-adding mod, the format could
* vary based on it's implementation and may change at any time.
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/spongepowered/api/data/Keys.java
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,7 @@ public final class Keys {
/**
* Whether a {@link Vindicator} is exhibiting "johnny" behavior.
*
* @see <a href="https://minecraft.gamepedia.com/Vindicator#Behavior">
* @see <a href="https://minecraft.wiki/w/Vindicator#Behavior">
* The Minecraft Wiki for more information about "johnny" behavior</a>
*/
public static final Key<Value<Boolean>> IS_JOHNNY = Keys.key(ResourceKey.sponge("is_johnny"), Boolean.class);
Expand Down Expand Up @@ -2163,14 +2163,14 @@ public final class Keys {
* By default this is false.
* Can be used in combination with {@link Keys#MAP_CANVAS} to create
* custom static map.
* See <a href="https://minecraft.gamepedia.com/Map#Locking">Minecraft Wiki - Map Locking</a>
* See <a href="https://minecraft.wiki/w/Map#Locking">Minecraft Wiki - Map Locking</a>
*/
public static final Key<Value<Boolean>> MAP_LOCKED = Keys.key(ResourceKey.sponge("map_locked"), Boolean.class);

/**
* Represents the {@link Key} for the scale of a map
* for a {@link MapInfo}.
* @see <a href="https://minecraft.gamepedia.com/Map#Zoom_details">Minecraft Wiki - Zoom Details</a>
* @see <a href="https://minecraft.wiki/w/Map#Zoom_details">Minecraft Wiki - Zoom Details</a>
*/
public static final Key<Value<Integer>> MAP_SCALE = Keys.key(ResourceKey.sponge("map_scale"), Integer.class);

Expand Down Expand Up @@ -2685,8 +2685,8 @@ public final class Keys {
/**
* The scoreboard tags applied to an {@link Entity}.
*
* @see <a href="https://minecraft.gamepedia.com/Scoreboard#Tags">
* https://minecraft.gamepedia.com/Scoreboard#Tags</a>
* @see <a href="https://minecraft.wiki/w/Scoreboard#Tags">
* https://minecraft.wiki/w/Scoreboard#Tags</a>
*/
public static final Key<SetValue<String>> SCOREBOARD_TAGS = Keys.setKey(ResourceKey.sponge("scoreboard_tags"), String.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static Builder builder() {
* price.</p>
*
* @return the price growth multiplier
* @see <a href="https://minecraft.gamepedia.com/Trading#Economics">the
* @see <a href="https://minecraft.wiki/w/Trading#Economics">the
* Minecraft Wiki for more detail on how the price growth multiplier applies
* to trade offers</a>
*/
Expand Down Expand Up @@ -238,7 +238,7 @@ interface Builder extends org.spongepowered.api.util.Builder<TradeOffer, Builder
*
* @param priceGrowthMultiplier The offer's rate of price growth
* @return This builder
* @see <a href="https://minecraft.gamepedia.com/Trading#Economics">the
* @see <a href="https://minecraft.wiki/w/Trading#Economics">the
* Minecraft Wiki for more detail on how the price growth multiplier
* applies to trade offers</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/**
* The physical representation of game assets that may or may not be loaded in an {@link Engine}.
*
* @see <a href=http://minecraft.gamepedia.com/Resource_pack#Contents>
* @see <a href=http://minecraft.wiki/w/Resource_pack#Contents>
* Minecraft Wiki/Resource Packs
* </a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* The server has a default scoreboard, but each {@link Player}
* can have their own scoreboard.
*
* @see <a href="http://minecraft.gamepedia.com/Scoreboard">Scoreboards on the Minecraft Wiki</a>
* @see <a href="http://minecraft.wiki/w/Scoreboard">Scoreboards on the Minecraft Wiki</a>
*/
public interface Scoreboard {

Expand Down

0 comments on commit 846e01b

Please sign in to comment.