Class AmethystClusterMock

java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.AmethystClusterMock
All Implemented Interfaces:
Cloneable, org.bukkit.block.data.BlockData, org.bukkit.block.data.Directional, org.bukkit.block.data.type.AmethystCluster, org.bukkit.block.data.Waterlogged

public class AmethystClusterMock extends BlockDataMock implements org.bukkit.block.data.type.AmethystCluster
Mock implementation of AmethystCluster.
  • Constructor Details

    • AmethystClusterMock

      public AmethystClusterMock(@NotNull @NotNull org.bukkit.Material type)
      Constructs a new BedMock for the provided Material. Only supports Material.AMETHYST_CLUSTER
      Parameters:
      type - The material this data is for.
  • Method Details

    • getFacing

      @NotNull public @NotNull org.bukkit.block.BlockFace getFacing()
      Specified by:
      getFacing in interface org.bukkit.block.data.Directional
    • setFacing

      public void setFacing(@NotNull @NotNull org.bukkit.block.BlockFace facing)
      Specified by:
      setFacing in interface org.bukkit.block.data.Directional
    • getFaces

      @NotNull public @NotNull Set<org.bukkit.block.BlockFace> getFaces()
      Specified by:
      getFaces in interface org.bukkit.block.data.Directional
    • isWaterlogged

      public boolean isWaterlogged()
      Specified by:
      isWaterlogged in interface org.bukkit.block.data.Waterlogged
    • setWaterlogged

      public void setWaterlogged(boolean waterlogged)
      Specified by:
      setWaterlogged in interface org.bukkit.block.data.Waterlogged