Class JigsawMock

All Implemented Interfaces:
org.bukkit.block.BlockState, org.bukkit.block.Jigsaw, org.bukkit.block.TileState, org.bukkit.metadata.Metadatable, org.bukkit.persistence.PersistentDataHolder

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

    • JigsawMock

      public JigsawMock(@NotNull @NotNull org.bukkit.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 org.bukkit.block.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