minus

operator fun minus(element: Material): MaterialSet

A set without element. Nothing changes if element is not part of this set.

Throws

if one of the tags includes element


operator fun minus(elements: Iterable<Material>): MaterialSet

A set without elements. Elements that are not part of this set are ignored. If elements is a MaterialSet, its tags are removed from the tags of this set first, then its materials.

Throws

if one of the remaining tags includes one of the elements; nothing is removed


operator fun minus(elements: Array<out Material>): MaterialSet
operator fun minus(elements: Sequence<Material>): MaterialSet

A set without elements. Elements that are not part of this set are ignored.

Throws

if one of the tags includes one of the elements; nothing is removed


operator fun minus(tag: Tag<Material>): MaterialSet

A set without the tag with the key of tag. Nothing changes if no such tag is part of this set.