mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-12 13:44:43 +01:00
55 lines
2.8 KiB
Diff
55 lines
2.8 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
||
|
Date: Tue, 20 Jun 2023 10:52:44 -0700
|
||
|
Subject: [PATCH] enum javadoc fixes
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/block/data/BlockData.java b/src/main/java/org/bukkit/block/data/BlockData.java
|
||
|
index 55f5d09664a7858a67b795465282adcf481a2a65..5cafa1bccfbeaa8a6a5573e993635b935f448985 100644
|
||
|
--- a/src/main/java/org/bukkit/block/data/BlockData.java
|
||
|
+++ b/src/main/java/org/bukkit/block/data/BlockData.java
|
||
|
@@ -211,8 +211,8 @@ public interface BlockData extends Cloneable {
|
||
|
* This is identical to {@link BlockType#getItemType()}.
|
||
|
* For example:
|
||
|
* <pre>
|
||
|
- * {@link ItemType#REDSTONE_WIRE} -> {@link BlockType#REDSTONE}
|
||
|
- * {@link ItemType#CARROTS} -> {@link BlockType#CARROT}
|
||
|
+ * {@link ItemType#REDSTONE} -> {@link BlockType#REDSTONE_WIRE}
|
||
|
+ * {@link ItemType#CARROT} -> {@link BlockType#CARROTS}
|
||
|
* </pre>
|
||
|
* @return placement item type or {@link ItemType#AIR} if it doesn't have one
|
||
|
*/
|
||
|
diff --git a/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java b/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java
|
||
|
index 170ebe3edf9fa6ac62cbc1825ea46721ecb961d2..695502ef8b30822e679b5e94d498b3fa18478fc6 100644
|
||
|
--- a/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java
|
||
|
+++ b/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java
|
||
|
@@ -55,23 +55,23 @@ public interface TrimPattern extends Keyed {
|
||
|
*/
|
||
|
public static final TrimPattern SPIRE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("spire"));
|
||
|
/**
|
||
|
- * {@link Material#WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
+ * {@link ItemType#WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
*/
|
||
|
public static final TrimPattern WAYFINDER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("wayfinder"));
|
||
|
/**
|
||
|
- * {@link Material#SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
+ * {@link ItemType#SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
*/
|
||
|
public static final TrimPattern SHAPER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("shaper"));
|
||
|
/**
|
||
|
- * {@link Material#SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
+ * {@link ItemType#SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
*/
|
||
|
public static final TrimPattern SILENCE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("silence"));
|
||
|
/**
|
||
|
- * {@link Material#RAISER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
+ * {@link ItemType#RAISER_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
*/
|
||
|
public static final TrimPattern RAISER = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("raiser"));
|
||
|
/**
|
||
|
- * {@link Material#HOST_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
+ * {@link ItemType#HOST_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||
|
*/
|
||
|
public static final TrimPattern HOST = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("host"));
|
||
|
}
|