mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +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
|
* 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 {
|
public enum Material implements Keyed, Translatable {
|
||||||
//<editor-fold desc="Materials" defaultstate="collapsed">
|
//<editor-fold desc="Materials" defaultstate="collapsed">
|
||||||
AIR(9648, 0),
|
AIR(9648, 0),
|
||||||
|
|
|
@ -129,7 +129,9 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
||||||
* Server materials.
|
* Server materials.
|
||||||
*
|
*
|
||||||
* @see Material
|
* @see Material
|
||||||
|
* @deprecated Material was split up into {@link ItemType} and {@link BlockType}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
Registry<Material> MATERIAL = new SimpleRegistry<>(Material.class, (mat) -> !mat.isLegacy());
|
Registry<Material> MATERIAL = new SimpleRegistry<>(Material.class, (mat) -> !mat.isLegacy());
|
||||||
/**
|
/**
|
||||||
* Server statistics.
|
* Server statistics.
|
||||||
|
|
Loading…
Add table
Reference in a new issue