Interface TargetMatcher
- All Known Implementing Classes:
BlockMatcher
,ItemBlockMatcher
,ItemMatcher
public interface TargetMatcher
Matches a
Target
.-
Method Summary
Modifier and TypeMethodDescriptionGet the matched type ID, which is merely used for indexing.boolean
Return whether the given target is matched by this matcher.
-
Method Details
-
getMatchedTypeId
String getMatchedTypeId()Get the matched type ID, which is merely used for indexing.- Returns:
- the type ID
-
test
Return whether the given target is matched by this matcher.- Parameters:
target
- the target- Returns:
- true if matched
-