mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 06:32:17 -07:00
Remove a bunch more experimental annotations (#12712)
This commit is contained in:
committed by
Nassim Jahnke
parent
7f60924390
commit
371a422567
@@ -122,7 +122,6 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
*
|
||||
* @see BlockType
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
Registry<BlockType> BLOCK = registryFor(RegistryKey.BLOCK);
|
||||
/**
|
||||
* Custom boss bars.
|
||||
@@ -179,7 +178,6 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
*
|
||||
* @see ItemType
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
Registry<ItemType> ITEM = registryFor(RegistryKey.ITEM);
|
||||
/**
|
||||
* Default server loot tables.
|
||||
@@ -480,7 +478,6 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
* @throws UnsupportedOperationException if this registry doesn't have or support tags
|
||||
* @see #getTag(TagKey)
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
boolean hasTag(TagKey<T> key);
|
||||
|
||||
/**
|
||||
@@ -507,8 +504,8 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
* @see Tag#resolve(Registry)
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
default Collection<T> getTagValues(TagKey<T> key) {
|
||||
Tag<T> tag = getTag(key);
|
||||
default Collection<T> getTagValues(final TagKey<T> key) {
|
||||
Tag<T> tag = this.getTag(key);
|
||||
return tag.resolve(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user