ACACIA_LOGS, ANVIL, BAMBOO_PLANTABLE_ON, BANNERS, BEDS, BIRCH_LOGS, BUTTONS, CARPETS, CORAL_BLOCKS, CORAL_PLANTS, CORALS, DARK_OAK_LOGS, DIRT_LIKE, DOORS, ENDERMAN_HOLDABLE, FENCES, FLOWER_POTS, ICE, IMPERMEABLE, ITEMS_ARROWS, ITEMS_BANNERS, ITEMS_BOATS, ITEMS_COALS, ITEMS_FISHES, ITEMS_MUSIC_DISCS, JUNGLE_LOGS, LEAVES, LOGS, OAK_LOGS, PLANKS, RAILS, REGISTRY_BLOCKS, REGISTRY_ITEMS, SAND, SAPLINGS, SIGNS, SLABS, SMALL_FLOWERS, SPRUCE_LOGS, STAIRS, STANDING_SIGNS, STONE_BRICKS, TRAPDOORS, UNDERWATER_BONEMEALS, VALID_SPAWN, WALL_CORALS, WALL_SIGNS, WALLS, WOODEN_BUTTONS, WOODEN_DOORS, WOODEN_FENCES, WOODEN_PRESSURE_PLATES, WOODEN_SLABS, WOODEN_STAIRS, WOODEN_TRAPDOORS, WOOL| Constructor | Description |
|---|---|
MaterialSetTag(Collection<Material> materials) |
Deprecated.
Use NamespacedKey version of constructor
|
MaterialSetTag(Predicate<Material> filter) |
Deprecated.
Use NamespacedKey version of constructor
|
MaterialSetTag(Material... materials) |
Deprecated.
Use NamespacedKey version of constructor
|
MaterialSetTag(NamespacedKey key,
Collection<Material> materials) |
|
MaterialSetTag(NamespacedKey key,
Predicate<Material> filter) |
|
MaterialSetTag(NamespacedKey key,
Material... materials) |
@Deprecated public MaterialSetTag(@NotNull Predicate<Material> filter)
@Deprecated public MaterialSetTag(@NotNull Collection<Material> materials)
@Deprecated public MaterialSetTag(@NotNull Material... materials)
public MaterialSetTag(@Nullable
NamespacedKey key,
@NotNull
Predicate<Material> filter)
public MaterialSetTag(@Nullable
NamespacedKey key,
@NotNull
Material... materials)
public MaterialSetTag(@Nullable
NamespacedKey key,
@NotNull
Collection<Material> materials)
@NotNull public NamespacedKey getKey()
Keyed@NotNull public MaterialSetTag add(@NotNull Tag<Material>... tags)
@NotNull public MaterialSetTag add(@NotNull MaterialSetTag... tags)
@NotNull public MaterialSetTag add(@NotNull Material... material)
@NotNull public MaterialSetTag add(@NotNull Collection<Material> materials)
@NotNull public MaterialSetTag contains(@NotNull String with)
@NotNull public MaterialSetTag endsWith(@NotNull String with)
@NotNull public MaterialSetTag startsWith(@NotNull String with)
@NotNull public MaterialSetTag add(@NotNull Predicate<Material> filter)
@NotNull public MaterialSetTag not(@NotNull MaterialSetTag tags)
@NotNull public MaterialSetTag not(@NotNull Material... material)
@NotNull public MaterialSetTag not(@NotNull Collection<Material> materials)
@NotNull public MaterialSetTag not(@NotNull Predicate<Material> filter)
@NotNull public MaterialSetTag notEndsWith(@NotNull String with)
@NotNull public MaterialSetTag notStartsWith(@NotNull String with)
@NotNull public Set<Material> getValues()
Tagpublic boolean isTagged(@NotNull
BlockData block)
public boolean isTagged(@NotNull
BlockState block)
public boolean isTagged(@NotNull
Block block)
public boolean isTagged(@NotNull
ItemStack item)
public boolean isTagged(@NotNull
Material material)
Tag@NotNull public MaterialSetTag ensureSize(@NotNull String label, int size)
Copyright © 2020. All rights reserved.