blob: b18704ddcc45090533c6fd67a42cb5cf0a301f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
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"));
}
|