Optimised FastGetEnchants for enchantment-specific level getting

This commit is contained in:
Auxilor
2020-12-20 13:19:24 +00:00
parent ff102602a4
commit faa9afc2a2
7 changed files with 77 additions and 4 deletions

View File

@@ -7,4 +7,5 @@ import java.util.Map;
public interface FastGetEnchantsWrapper {
Map<Enchantment, Integer> getEnchantmentsOnItem(ItemStack itemStack);
int getLevelOnItem(ItemStack itemStack, Enchantment enchantment);
}