Class BedMock

All Implemented Interfaces:
Bed, BlockState, TileState, Colorable, Metadatable, PersistentDataHolder

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

    • BedMock

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

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

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