Fix/update wiki (#9758)
This commit is contained in:
parent
1a1af91ce3
commit
3ebe415f47
5 changed files with 46 additions and 7 deletions
|
@ -40,7 +40,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ * Furthermore arrows may also cause a critical damage event if the arrow {@link org.bukkit.entity.AbstractArrow#isCritical()}.
|
+ * Furthermore arrows may also cause a critical damage event if the arrow {@link org.bukkit.entity.AbstractArrow#isCritical()}.
|
||||||
+ *
|
+ *
|
||||||
+ * @return if the hit was critical.
|
+ * @return if the hit was critical.
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/Damage#Critical_hit">https://minecraft.fandom.com/wiki/Damage#Critical_hit</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/Damage#Critical_hit">https://minecraft.wiki/wiki/Damage#Critical_hit</a>
|
||||||
+ */
|
+ */
|
||||||
+ public boolean isCritical() {
|
+ public boolean isCritical() {
|
||||||
+ return this.critical;
|
+ return this.critical;
|
||||||
|
|
|
@ -74,6 +74,32 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
* @param z Z-coordinate (0-15)
|
* @param z Z-coordinate (0-15)
|
||||||
* @return temperature at given coordinate
|
* @return temperature at given coordinate
|
||||||
*/
|
*/
|
||||||
|
diff --git a/src/main/java/org/bukkit/Material.java b/src/main/java/org/bukkit/Material.java
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/Material.java
|
||||||
|
+++ b/src/main/java/org/bukkit/Material.java
|
||||||
|
@@ -0,0 +0,0 @@ public enum Material implements Keyed, Translatable {
|
||||||
|
* <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/wiki/Opacity">Minecraft Wiki</a>.
|
||||||
|
*
|
||||||
|
* @return True if this material is a block and occludes light
|
||||||
|
*/
|
||||||
|
diff --git a/src/main/java/org/bukkit/MinecraftExperimental.java b/src/main/java/org/bukkit/MinecraftExperimental.java
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/MinecraftExperimental.java
|
||||||
|
+++ b/src/main/java/org/bukkit/MinecraftExperimental.java
|
||||||
|
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.ApiStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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/wiki/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
|
||||||
diff --git a/src/main/java/org/bukkit/Particle.java b/src/main/java/org/bukkit/Particle.java
|
diff --git a/src/main/java/org/bukkit/Particle.java b/src/main/java/org/bukkit/Particle.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/Particle.java
|
--- a/src/main/java/org/bukkit/Particle.java
|
||||||
|
@ -508,6 +534,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
*
|
*
|
||||||
* @param location the location to remove
|
* @param location the location to remove
|
||||||
* @see #getExploredLocations()
|
* @see #getExploredLocations()
|
||||||
|
diff --git a/src/main/java/org/bukkit/entity/SpawnCategory.java b/src/main/java/org/bukkit/entity/SpawnCategory.java
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/entity/SpawnCategory.java
|
||||||
|
+++ b/src/main/java/org/bukkit/entity/SpawnCategory.java
|
||||||
|
@@ -0,0 +0,0 @@ package org.bukkit.entity;
|
||||||
|
/**
|
||||||
|
* 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/wiki/Spawn#Java_Edition_mob_cap">Minecraft Wiki</a>
|
||||||
|
*/
|
||||||
|
public enum SpawnCategory {
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java
|
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/entity/Villager.java
|
--- a/src/main/java/org/bukkit/entity/Villager.java
|
||||||
|
|
|
@ -54,7 +54,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * Gets the success count from this command block.
|
+ * Gets the success count from this command block.
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/Command_Block#Success_count">Command_Block#Success_count</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/Command_Block#Success_count">Command_Block#Success_count</a>
|
||||||
+ *
|
+ *
|
||||||
+ * @return the success count
|
+ * @return the success count
|
||||||
+ */
|
+ */
|
||||||
|
@ -62,7 +62,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * Sets the success count from this command block.
|
+ * Sets the success count from this command block.
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/Command_Block#Success_count">Command_Block#Success_count</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/Command_Block#Success_count">Command_Block#Success_count</a>
|
||||||
+ *
|
+ *
|
||||||
+ * @param successCount the success count
|
+ * @param successCount the success count
|
||||||
+ */
|
+ */
|
||||||
|
|
|
@ -26,7 +26,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ *
|
+ *
|
||||||
+ * @see #hasSeenWinScreen()
|
+ * @see #hasSeenWinScreen()
|
||||||
+ * @see #setHasSeenWinScreen(boolean)
|
+ * @see #setHasSeenWinScreen(boolean)
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/End_Poem#Technical_details">https://minecraft.fandom.com/wiki/End_Poem#Technical_details</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/End_Poem#Technical_details">https://minecraft.wiki/wiki/End_Poem#Technical_details</a>
|
||||||
+ */
|
+ */
|
||||||
+ public void showWinScreen();
|
+ public void showWinScreen();
|
||||||
+
|
+
|
||||||
|
@ -37,7 +37,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ * @return Whether this player has seen the win screen before
|
+ * @return Whether this player has seen the win screen before
|
||||||
+ * @see #setHasSeenWinScreen(boolean)
|
+ * @see #setHasSeenWinScreen(boolean)
|
||||||
+ * @see #showWinScreen()
|
+ * @see #showWinScreen()
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/End_Poem">https://minecraft.fandom.com/wiki/End_Poem</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/End_Poem">https://minecraft.wiki/wiki/End_Poem</a>
|
||||||
+ */
|
+ */
|
||||||
+ public boolean hasSeenWinScreen();
|
+ public boolean hasSeenWinScreen();
|
||||||
+
|
+
|
||||||
|
@ -48,7 +48,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ * @param hasSeenWinScreen Whether this player has seen the win screen before
|
+ * @param hasSeenWinScreen Whether this player has seen the win screen before
|
||||||
+ * @see #hasSeenWinScreen()
|
+ * @see #hasSeenWinScreen()
|
||||||
+ * @see #showWinScreen()
|
+ * @see #showWinScreen()
|
||||||
+ * @see <a href="https://minecraft.fandom.com/wiki/End_Poem">https://minecraft.fandom.com/wiki/End_Poem</a>
|
+ * @see <a href="https://minecraft.wiki/wiki/End_Poem">https://minecraft.wiki/wiki/End_Poem</a>
|
||||||
+ */
|
+ */
|
||||||
+ public void setHasSeenWinScreen(boolean hasSeenWinScreen);
|
+ public void setHasSeenWinScreen(boolean hasSeenWinScreen);
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
|
|
@ -595,7 +595,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+@SuppressWarnings("unused")
|
+@SuppressWarnings("unused")
|
||||||
+public final class MCVersions {
|
+public final class MCVersions {
|
||||||
+
|
+
|
||||||
+ /* https://minecraft.fandom.com/wiki/Data_version */
|
+ /* https://minecraft.wiki/wiki/Data_version */
|
||||||
+
|
+
|
||||||
+ public static final int V15W32A = 100;
|
+ public static final int V15W32A = 100;
|
||||||
+ public static final int V15W32B = 103;
|
+ public static final int V15W32B = 103;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue