Class BambooMock

java.lang.Object
be.seeseemelk.mockbukkit.block.data.BlockDataMock
be.seeseemelk.mockbukkit.block.data.BambooMock
All Implemented Interfaces:
Cloneable, org.bukkit.block.data.Ageable, org.bukkit.block.data.BlockData, org.bukkit.block.data.type.Bamboo, org.bukkit.block.data.type.Sapling

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

    • BambooMock

      public BambooMock()
      Constructs a new BambooMock for the provided Material.
  • Method Details

    • getLeaves

      @NotNull public @NotNull org.bukkit.block.data.type.Bamboo.Leaves getLeaves()
      Specified by:
      getLeaves in interface org.bukkit.block.data.type.Bamboo
    • setLeaves

      public void setLeaves(@NotNull org.bukkit.block.data.type.Bamboo.Leaves leaves)
      Specified by:
      setLeaves in interface org.bukkit.block.data.type.Bamboo
    • getAge

      public int getAge()
      Specified by:
      getAge in interface org.bukkit.block.data.Ageable
    • setAge

      public void setAge(int age)
      Specified by:
      setAge in interface org.bukkit.block.data.Ageable
    • getMaximumAge

      public int getMaximumAge()
      Specified by:
      getMaximumAge in interface org.bukkit.block.data.Ageable
    • getStage

      public int getStage()
      Specified by:
      getStage in interface org.bukkit.block.data.type.Sapling
    • setStage

      public void setStage(int stage)
      Specified by:
      setStage in interface org.bukkit.block.data.type.Sapling
    • getMaximumStage

      public int getMaximumStage()
      Specified by:
      getMaximumStage in interface org.bukkit.block.data.type.Sapling