--- a/net/minecraft/world/level/storage/loot/LootDataType.java
+++ b/net/minecraft/world/level/storage/loot/LootDataType.java
@@ -31,9 +_,14 @@
     }
 
     private static LootDataType.Validator<LootTable> createLootTableValidator() {
-        return (context, key, value) -> value.validate(
-            context.setContextKeySet(value.getParamSet()).enterElement("{" + key.registry() + "/" + key.location() + "}", key)
-        );
+        // CraftBukkit start
+        return (context, key, value) -> {
+            value.validate(
+                context.setContextKeySet(value.getParamSet()).enterElement("{" + key.registry() + "/" + key.location() + "}", key)
+            );
+            value.craftLootTable = new org.bukkit.craftbukkit.CraftLootTable(org.bukkit.craftbukkit.util.CraftNamespacedKey.fromMinecraft(key.location()), value);
+            // CraftBukkit end
+        };
     }
 
     @FunctionalInterface
