Class BannerMock

All Implemented Interfaces:
Banner, BlockState, TileState, Metadatable, Nameable, PersistentDataHolder

public class BannerMock extends TileStateMock implements Banner
Mock implementation of a Banner.
See Also:
  • Constructor Details

    • BannerMock

      public BannerMock(@NotNull @NotNull Material material)
      Constructs a new BannerMock for the provided Material. Only supports materials in Tag.BANNERS
      Parameters:
      material - The material this state is for.
    • BannerMock

      protected BannerMock(@NotNull @NotNull Block block)
      Constructs a new BannerMock for the provided Block. Only supports materials in Tag.BANNERS
      Parameters:
      block - The block this state is for.
    • BannerMock

      protected BannerMock(@NotNull @NotNull BannerMock state)
      Constructs a new BannerMock by cloning the data from an existing one.
      Parameters:
      state - The state to clone.
  • Method Details