Interface MatchPredicate
- All Known Subinterfaces:
ItemMatchPredicate
public interface MatchPredicate
Contains factories for often-used "match" predicates, that match for a value in
MinecraftPredicateContext.
Predicates created through these factories support conflict detection when used with custom items. It is as such preferred to use these over custom defined predicates when possible.
- Since:
- 2.9.3
-
Method Summary
Static MethodsModifier and TypeMethodDescriptiondimension(Identifier dimension) Creates a predicate matching the dimension identifier the Bedrock session player is currently in.
-
Method Details
-
dimension
Creates a predicate matching the dimension identifier the Bedrock session player is currently in.- Since:
- 2.9.3
- See Also:
-