mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Change how converting from / to BlockType and ItemType work
This commit is contained in:
parent
e3e84e6920
commit
6ab21c5095
2 changed files with 0 additions and 12 deletions
|
@ -3143,9 +3143,6 @@ public interface BlockType<B extends BlockData> extends Keyed, Translatable {
|
|||
|
||||
/**
|
||||
* Returns true if this BlockType has a corresponding {@link ItemType}.
|
||||
* <p>
|
||||
* Where corresponding means, that they have the same {@link NamespacedKey}
|
||||
* returned by {@link #getKey()}.
|
||||
*
|
||||
* @return true if there is an ItemType with the same key, otherwise false
|
||||
* @see #getItemType()
|
||||
|
@ -3155,9 +3152,6 @@ public interface BlockType<B extends BlockData> extends Keyed, Translatable {
|
|||
/**
|
||||
* Returns the corresponding {@link ItemType} for the given BlockType.
|
||||
* <p>
|
||||
* Where corresponding means, that they have the same {@link NamespacedKey}
|
||||
* returned by {@link #getKey()}.
|
||||
* <p>
|
||||
* If there is no corresponding {@link ItemType} an error will be thrown.
|
||||
*
|
||||
* @return the corresponding ItemType
|
||||
|
|
|
@ -1382,9 +1382,6 @@ public interface ItemType extends Keyed, Translatable {
|
|||
|
||||
/**
|
||||
* Returns true if this ItemType has a corresponding {@link BlockType}.
|
||||
* <p>
|
||||
* Where corresponding means, that they have the same {@link NamespacedKey}
|
||||
* returned by {@link #getKey()}.
|
||||
*
|
||||
* @return true if there is a BlockType with the same key, otherwise false
|
||||
* @see #getBlockType()
|
||||
|
@ -1394,9 +1391,6 @@ public interface ItemType extends Keyed, Translatable {
|
|||
/**
|
||||
* Returns the corresponding {@link BlockType} for the given ItemType.
|
||||
* <p>
|
||||
* Where corresponding means, that they have the same {@link NamespacedKey}
|
||||
* returned by {@link #getKey()}.
|
||||
* <p>
|
||||
* If there is no corresponding {@link BlockType} an error will be thrown.
|
||||
*
|
||||
* @return the corresponding BlockType
|
||||
|
|
Loading…
Add table
Reference in a new issue