aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0451-Expose-LootTable-of-DecoratedPot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0451-Expose-LootTable-of-DecoratedPot.patch')
-rw-r--r--patches/api/0451-Expose-LootTable-of-DecoratedPot.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/api/0451-Expose-LootTable-of-DecoratedPot.patch b/patches/api/0451-Expose-LootTable-of-DecoratedPot.patch
new file mode 100644
index 0000000000..42a8de4123
--- /dev/null
+++ b/patches/api/0451-Expose-LootTable-of-DecoratedPot.patch
@@ -0,0 +1,19 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: FireInstall <[email protected]>
+Date: Sat, 20 Jan 2024 16:20:07 +0100
+Subject: [PATCH] Expose LootTable of DecoratedPot
+
+
+diff --git a/src/main/java/org/bukkit/block/DecoratedPot.java b/src/main/java/org/bukkit/block/DecoratedPot.java
+index f76230e0bba49639fc2e70ee32a53e3a9182f217..feae34e459523d17a10b673bbec28abcac9cdadd 100644
+--- a/src/main/java/org/bukkit/block/DecoratedPot.java
++++ b/src/main/java/org/bukkit/block/DecoratedPot.java
+@@ -12,7 +12,7 @@ import org.jetbrains.annotations.Nullable;
+ /**
+ * Represents a captured state of a decorated pot.
+ */
+-public interface DecoratedPot extends TileState, BlockInventoryHolder {
++public interface DecoratedPot extends TileState, BlockInventoryHolder , org.bukkit.loot.Lootable { // Paper - expose loot table
+
+ /**
+ * Set the sherd on the provided side.