Class SculkShriekerMock

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

public class SculkShriekerMock extends TileStateMock implements org.bukkit.block.SculkShrieker
  • Constructor Details

    • SculkShriekerMock

      public SculkShriekerMock(@NotNull @NotNull org.bukkit.Material material)
    • SculkShriekerMock

      protected SculkShriekerMock(@NotNull @NotNull org.bukkit.block.Block block)
    • SculkShriekerMock

      protected SculkShriekerMock(@NotNull @NotNull SculkShriekerMock state)
  • Method Details

    • getSnapshot

      @NotNull public @NotNull org.bukkit.block.BlockState getSnapshot()
      Description copied from class: BlockStateMock
      This returns a copy of this BlockStateMock. Inheritents of this class should override this method!
      Specified by:
      getSnapshot in class TileStateMock
      Returns:
      A snapshot of this BlockStateMock.
    • getWarningLevel

      public int getWarningLevel()
      Specified by:
      getWarningLevel in interface org.bukkit.block.SculkShrieker
    • setWarningLevel

      public void setWarningLevel(int level)
      Specified by:
      setWarningLevel in interface org.bukkit.block.SculkShrieker