-
- All Implemented Interfaces:
public interface ItemGroup
Represents a group of Materials.
-
-
Method Summary
Modifier and Type Method Description abstract ItemGroup
addMaterials(Material material)
Returns a copy of this ItemGroup with the added Materials. abstract ItemGroup
removeMaterials(Material material)
Returns a copy of this ItemGroup with the removed Materials. abstract ItemGroup
inverse()
Returns a copy of this ItemGroup with the inverse flag flipped. abstract String
getName()
Name of the group - e.g. abstract Set<Material>
getMaterials()
Materials in this group abstract Boolean
isInverse()
Negative matching of materials abstract Integer
getPriority()
-
-
Method Detail
-
addMaterials
abstract ItemGroup addMaterials(Material material)
Returns a copy of this ItemGroup with the added Materials.
- Parameters:
material
- Material(s) to add
-
removeMaterials
abstract ItemGroup removeMaterials(Material material)
Returns a copy of this ItemGroup with the removed Materials.
- Parameters:
material
- Material(s) to remove
-
inverse
abstract ItemGroup inverse()
Returns a copy of this ItemGroup with the inverse flag flipped.
-
getMaterials
abstract Set<Material> getMaterials()
Materials in this group
-
getPriority
abstract Integer getPriority()
-
-
-
-