Repackage NMS

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-03-16 09:00:00 +11:00
parent 18496e998f
commit 9da047989c
968 changed files with 5448 additions and 5050 deletions

View File

@@ -1,6 +1,6 @@
package org.bukkit;
import net.minecraft.server.MinecraftKey;
import net.minecraft.resources.MinecraftKey;
import org.bukkit.craftbukkit.util.CraftNamespacedKey;
import org.bukkit.loot.LootTable;
import org.bukkit.loot.LootTables;
@@ -24,7 +24,7 @@ public class LootTablesTest extends AbstractTestingBase {
@Test
public void testNMS() {
for (MinecraftKey key : net.minecraft.server.LootTables.a()) {
for (MinecraftKey key : net.minecraft.world.level.storage.loot.LootTables.a()) {
NamespacedKey bukkitKey = CraftNamespacedKey.fromMinecraft(key);
LootTables lootTable = Registry.LOOT_TABLES.get(bukkitKey);