mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Deprecated Material
This commit is contained in:
parent
a995df2a25
commit
b5f483b07d
2 changed files with 4 additions and 0 deletions
|
@ -117,7 +117,9 @@ import org.jetbrains.annotations.Nullable;
|
|||
|
||||
/**
|
||||
* An enum of all material IDs accepted by the official server and client
|
||||
* @deprecated Material was split up into {@link ItemType} and {@link BlockType}
|
||||
*/
|
||||
@Deprecated
|
||||
public enum Material implements Keyed, Translatable {
|
||||
//<editor-fold desc="Materials" defaultstate="collapsed">
|
||||
AIR(9648, 0),
|
||||
|
|
|
@ -129,7 +129,9 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
|||
* Server materials.
|
||||
*
|
||||
* @see Material
|
||||
* @deprecated Material was split up into {@link ItemType} and {@link BlockType}
|
||||
*/
|
||||
@Deprecated
|
||||
Registry<Material> MATERIAL = new SimpleRegistry<>(Material.class, (mat) -> !mat.isLegacy());
|
||||
/**
|
||||
* Server statistics.
|
||||
|
|
Loading…
Add table
Reference in a new issue