Interface EnchantmentTableContainer

All Superinterfaces:
Container

public interface EnchantmentTableContainer extends Container
Represents a container of an enchantment table.
  • Method Details

    • requirementForTopEnchantment

      void requirementForTopEnchantment(int requirement)
      Sets the requirement for the top enchantment.
      Parameters:
      requirement - the requirement for the top enchantment
      Since:
      1.0.0
    • requirementForTopEnchantment

      int requirementForTopEnchantment()
      Gets the requirement for the top enchantment.
      Returns:
      the requirement for the top enchantment
      Since:
      1.0.0
    • requirementForMiddleEnchantment

      void requirementForMiddleEnchantment(int requirement)
      Sets the requirement for the middle enchantment.
      Parameters:
      requirement - the requirement for the middle enchantment
      Since:
      1.0.0
    • requirementForMiddleEnchantment

      int requirementForMiddleEnchantment()
      Gets the requirement for the middle enchantment.
      Returns:
      the requirement for the middle enchantment
      Since:
      1.0.0
    • requirementForBottomEnchantment

      void requirementForBottomEnchantment(int requirement)
      Sets the requirement for the bottom enchantment.
      Parameters:
      requirement - the requirement for the bottom enchantment
      Since:
      1.0.0
    • requirementForBottomEnchantment

      int requirementForBottomEnchantment()
      Gets the requirement for the bottom enchantment.
      Returns:
      the requirement for the bottom enchantment
      Since:
      1.0.0
    • enchantmentSeed

      void enchantmentSeed(int seed)
      Sets the enchantment seed that is used to draw the enchantment names.
      Parameters:
      seed - the seed to draw
      Since:
      1.0.0
    • enchantmentSeed

      int enchantmentSeed()
      Gets the enchantment seed.
      Returns:
      the enchantment seed
      Since:
      1.0.0
    • topEnchantment

      void topEnchantment(@NotNull @NotNull Enchantment enchantment)
      Sets the top enchantment.
      Parameters:
      enchantment - the enchantment at the top
      Since:
      1.0.0
    • topEnchantment

      @NotNull @NotNull Enchantment topEnchantment()
      Gets the top enchantment.
      Returns:
      the top enchantment
      Since:
      1.0.0
    • middleEnchantment

      void middleEnchantment(@NotNull @NotNull Enchantment enchantment)
      Sets the middle enchantment.
      Parameters:
      enchantment - the enchantment at the middle
      Since:
      1.0.0
    • middleEnchantment

      @NotNull @NotNull Enchantment middleEnchantment()
      Gets the middle enchantment.
      Returns:
      the middle enchantment
      Since:
      1.0.0
    • bottomEnchantment

      void bottomEnchantment(@NotNull @NotNull Enchantment enchantment)
      Sets the bottom enchantment.
      Parameters:
      enchantment - the enchantment at the bottom
      Since:
      1.0.0
    • bottomEnchantment

      @NotNull @NotNull Enchantment bottomEnchantment()
      Gets the bottom enchantment.
      Returns:
      the bottom enchantment
      Since:
      1.0.0
    • topEnchantingLevel

      void topEnchantingLevel(int level)
      Sets the level requirement for the top enchantment.
      Parameters:
      level - the level requirement for the top enchantment
      Since:
      1.0.0
    • topEnchantingLevel

      int topEnchantingLevel()
      Gets the level requirement for the top enchantment
      Returns:
      the level requirement for the top enchantment
      Since:
      1.0.0
    • middleEnchantingLevel

      void middleEnchantingLevel(int level)
      Sets the level requirement for the middle enchantment.
      Parameters:
      level - the level requirement for the middle enchantment
      Since:
      1.0.0
    • middleEnchantingLevel

      int middleEnchantingLevel()
      Gets the level requirement for the middle enchantment
      Returns:
      the level requirement for the middle enchantment
      Since:
      1.0.0
    • bottomEnchantingLevel

      void bottomEnchantingLevel(int level)
      Sets the level requirement for the bottom enchantment.
      Parameters:
      level - the level requirement for the bottom enchantment
      Since:
      1.0.0
    • bottomEnchantingLevel

      int bottomEnchantingLevel()
      Gets the level requirement for the bottom enchantment
      Returns:
      the level requirement for the bottom enchantment
      Since:
      1.0.0