mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-28 15:39:36 +02:00
24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
||
|
Date: Sun, 3 Jan 2021 20:03:40 -0800
|
||
|
Subject: [PATCH] Added missing vanilla tags
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/Tag.java b/src/main/java/org/bukkit/Tag.java
|
||
|
index ef96155a6625cdfd9ebe75957fd2d3fa408039c5..aeef4dea5ea7e5581988e5fedcfec29eee8d58eb 100644
|
||
|
--- a/src/main/java/org/bukkit/Tag.java
|
||
|
+++ b/src/main/java/org/bukkit/Tag.java
|
||
|
@@ -724,6 +724,12 @@ public interface Tag<T extends Keyed> extends Keyed {
|
||
|
* Vanilla item tag representing all chest boat items.
|
||
|
*/
|
||
|
Tag<Material> ITEMS_CHEST_BOATS = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("chest_boats"), Material.class);
|
||
|
+ // Paper start
|
||
|
+ /**
|
||
|
+ * Vanilla item tag representing all non-flammable wood items.
|
||
|
+ */
|
||
|
+ Tag<Material> ITEMS_NON_FLAMMABLE_WOOD = Bukkit.getTag(REGISTRY_ITEMS, NamespacedKey.minecraft("non_flammable_wood"), Material.class);
|
||
|
+ // Paper end
|
||
|
/**
|
||
|
* Vanilla item tag representing all fish items.
|
||
|
*/
|