mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-30 11:42:02 -07:00
Experimental annotation changes (#12028)
This commit is contained in:
@@ -271,7 +271,6 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||
* @see JukeboxSong
|
||||
* @deprecated use {@link RegistryAccess#getRegistry(RegistryKey)} with {@link RegistryKey#JUKEBOX_SONG}
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
@Deprecated(since = "1.21")
|
||||
Registry<JukeboxSong> JUKEBOX_SONG = legacyRegistryFor(JukeboxSong.class);
|
||||
/**
|
||||
|
@@ -1,8 +1,5 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.bukkit.loot.Lootable;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a crafter.
|
||||
*/
|
||||
|
@@ -1,10 +1,7 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a creaking heart.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface CreakingHeart extends TileState {
|
||||
}
|
||||
|
@@ -4,7 +4,6 @@ import java.util.Collection;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.spawner.TrialSpawnerConfiguration;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.block;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a trial spawner.
|
||||
*/
|
||||
|
@@ -1,14 +1,12 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.Orientable;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* 'active' is whether the block is active.
|
||||
* <br>
|
||||
* 'natural' is whether this is a naturally generated block.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface CreakingHeart extends Orientable {
|
||||
|
||||
/**
|
||||
|
@@ -1,12 +1,10 @@
|
||||
package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.data.BlockData;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* 'tip' indicates whether this block is a tip.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface HangingMoss extends BlockData {
|
||||
|
||||
/**
|
||||
|
@@ -2,7 +2,6 @@ package org.bukkit.block.data.type;
|
||||
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
@@ -11,7 +10,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
*
|
||||
* 'bottom' denotes whether this is a bottom block.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface MossyCarpet extends BlockData {
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Wind Charge.
|
||||
*/
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Bogged Skeleton.
|
||||
*/
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Breeze. Whoosh!
|
||||
*/
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Wind Charge.
|
||||
*/
|
||||
|
@@ -1,11 +1,8 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Creaking.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface Creaking extends Monster {
|
||||
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents a Wind Charge.
|
||||
*/
|
||||
|
@@ -1,11 +1,9 @@
|
||||
package org.bukkit.entity.boat;
|
||||
|
||||
import org.bukkit.entity.Boat;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents an pale oak boat.
|
||||
* Represents a pale oak boat.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface PaleOakBoat extends Boat {
|
||||
}
|
||||
|
@@ -1,11 +1,9 @@
|
||||
package org.bukkit.entity.boat;
|
||||
|
||||
import org.bukkit.entity.ChestBoat;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Represents an pale oak chest boat.
|
||||
* Represents a pale oak chest boat.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface PaleOakChestBoat extends ChestBoat {
|
||||
}
|
||||
|
@@ -1,7 +1,5 @@
|
||||
package org.bukkit.inventory;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
/**
|
||||
* Interface to the inventory of a Crafter.
|
||||
*/
|
||||
|
@@ -2,11 +2,9 @@ package org.bukkit.inventory.meta;
|
||||
|
||||
import java.util.List;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ApiStatus.Experimental
|
||||
public interface BundleMeta extends ItemMeta {
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user