Enum PartialSearch.MatchState
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PartialSearch.MatchState extends Enum<PartialSearch.MatchState>
Represents the degree to which a recipe's slots are satisfied by the current input.
- Since:
5.0.21
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<PartialSearch.MatchState>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLEvery required recipe slot is covered by a corresponding input item.
PARTIAL_NOT_ENOUGHOne or more required recipe slots have no matching input item.
-
Method Summary
Modifier and Type Method Description final BooleanisPartialMatch()Returns truewhen this state is not ALL.final Array<PartialSearch.MatchState>values()final PartialSearch.MatchStatevalueOf(String value)final EnumEntries<PartialSearch.MatchState>getEntries()-
-
Method Detail
-
isPartialMatch
final Boolean isPartialMatch()
Returns
truewhen this state is not ALL.- Since:
5.0.21
-
values
final Array<PartialSearch.MatchState> values()
-
valueOf
final PartialSearch.MatchState valueOf(String value)
-
getEntries
final EnumEntries<PartialSearch.MatchState> getEntries()
-
-
-
-