with

public static NBTFilter with(Array<String> includedTags)

Shorthand for constructing a new filter with the mode set to INCLUDE, and calling addTags(...) with the includedTags.