AdventureModePredicate
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
static of(predicates as List<BlockPredicate>, showInTooltip as bool) as AdventureModePredicate
Parameters:
predicates: List<BlockPredicate>
Type: List<BlockPredicate>
showInTooltip: bool
Type: bool
Return Type:
AdventureModePredicate
static ofBlocks(predicates as List<Block>, showInTooltip as bool) as AdventureModePredicate
Return Type:
AdventureModePredicate
static ofTags(predicates as List<KnownTag<Block>>, showInTooltip as bool) as AdventureModePredicate
Parameters:
Return Type:
AdventureModePredicate
Getter
Return Type:
bool
withTooltip(tooltip as bool) as AdventureModePredicate
Parameters:
tooltip: bool
Type: bool
Return Type:
AdventureModePredicate