Change how converting from / to BlockType and ItemType work

This commit is contained in:
DerFrZocker 2023-05-22 21:35:15 +02:00
parent e3e84e6920
commit 6ab21c5095
No known key found for this signature in database
GPG key ID: 713F71FFFE1DDF91
2 changed files with 0 additions and 12 deletions

View file

@ -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

View file

@ -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