Class JigsawMock

All Implemented Interfaces:
BlockState, Jigsaw, TileState, Metadatable, PersistentDataHolder

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

    • JigsawMock

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

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

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