Class MaterialTagMock

java.lang.Object
org.mockbukkit.mockbukkit.tags.BaseTagMock<Material>
org.mockbukkit.mockbukkit.tags.MaterialTagMock
All Implemented Interfaces:
net.kyori.adventure.key.Keyed, Keyed, Tag<Material>

public class MaterialTagMock extends BaseTagMock<Material>
A rather simple mock implementation for Material Tags.
  • Constructor Details

    • MaterialTagMock

      public MaterialTagMock(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Collection<Material> items)
      Constructs a new MaterialTagMock with the provided NamespacedKey and items.
      Parameters:
      key - The key for the tag.
      items - The items included in the tag.
    • MaterialTagMock

      public MaterialTagMock(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Material... items)
      Constructs a new MaterialTagMock with the provided NamespacedKey and items.
      Parameters:
      key - The key for the tag.
      items - The items included in the tag.
  • Method Details