Add some missing vanilla tags

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-01-17 13:44:27 +11:00
parent 1591d0c1c7
commit 92e73f0542

View file

@ -124,18 +124,6 @@ public interface Tag<T extends Keyed> {
* Vanilla block tag representing all Minecart rails.
*/
Tag<Material> RAILS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("rails"), Material.class);
/**
* Vanilla block tag representing all coral blocks.
*/
Tag<Material> CORAL_BLOCKS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("coral_blocks"), Material.class);
/**
* Vanilla block tag representing all coral.
*/
Tag<Material> CORALS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("corals"), Material.class);
/**
* Vanilla block tag representing all wall corals.
*/
Tag<Material> WALL_CORALS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("wall_corals"), Material.class);
/**
* Vanilla block tag representing all leaves fans.
*/
@ -165,6 +153,26 @@ public interface Tag<T extends Keyed> {
* Vanilla block tag denoting impermeable blocks which do not drip fluids.
*/
Tag<Material> IMPERMEABLE = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("impermeable"), Material.class);
/**
* Vanilla block tag denoting all underwater blocks which may be bonemealed.
*/
Tag<Material> UNDERWATER_BONEMEALS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("underwater_bonemeals"), Material.class);
/**
* Vanilla block tag representing all coral blocks.
*/
Tag<Material> CORAL_BLOCKS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("coral_blocks"), Material.class);
/**
* Vanilla block tag representing all wall corals.
*/
Tag<Material> WALL_CORALS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("wall_corals"), Material.class);
/**
* Vanilla block tag representing all coral plants.
*/
Tag<Material> CORAL_PLANTS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("coral_plants"), Material.class);
/**
* Vanilla block tag representing all coral.
*/
Tag<Material> CORALS = Bukkit.getTag(REGISTRY_BLOCKS, NamespacedKey.minecraft("corals"), Material.class);
/**
* Key for the built in item registry.
*/