mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2026-01-04 15:41:35 +00:00
legacy format support
This commit is contained in:
@@ -26,6 +26,16 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public interface RequirementManager {
|
||||
|
||||
/**
|
||||
* Legacy format support
|
||||
* @param key key
|
||||
* @param requirements requirements
|
||||
* @param weight weight
|
||||
* @return success or not
|
||||
*/
|
||||
@Deprecated
|
||||
boolean putLegacyLootToMap(String key, Requirement[] requirements, double weight);
|
||||
|
||||
/**
|
||||
* Registers a custom requirement type with its corresponding factory.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user