Class BellStateMock

All Implemented Interfaces:
PersistentDataViewHolder, Bell, BlockState, TileState, Metadatable, PersistentDataHolder

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

    • BellStateMock

      public BellStateMock(@NotNull @NotNull Material material)
      Constructs a new BellStateMock for the provided Material. Only supports Material.BELL
      Parameters:
      material - The material this state is for.
    • BellStateMock

      protected BellStateMock(@NotNull @NotNull Block block)
      Constructs a new BellStateMock for the provided Block. Only supports Material.BELL
      Parameters:
      block - The block this state is for.
    • BellStateMock

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