Improved performance of BlockPreDispenseEvent

This commit is contained in:
Intelli 2025-03-10 19:39:33 -06:00
parent 4803b1af23
commit 484614f71e
4 changed files with 161 additions and 2 deletions

View file

@ -109,6 +109,8 @@ public class ConfigHandler extends Queue {
public static ConcurrentHashMap<String, List<ItemStack>> itemsBuy = new ConcurrentHashMap<>();
public static ConcurrentHashMap<String, Object[]> hopperAbort = new ConcurrentHashMap<>();
public static ConcurrentHashMap<String, Object[]> hopperSuccess = new ConcurrentHashMap<>();
public static ConcurrentHashMap<String, ConcurrentHashMap<String, Long>> dispenserNoChange = new ConcurrentHashMap<>();
public static ConcurrentHashMap<String, Object[]> dispenserPending = new ConcurrentHashMap<>();
public static Map<String, List<ItemStack[]>> forceContainer = syncMap();
public static Map<String, Integer> lookupType = syncMap();
public static Map<String, Object[]> lookupThrottle = syncMap();