Package eu.sculkpowered.server.container
Interface EnchantmentTableContainer
- All Superinterfaces:
Container
Represents a container of an enchantment table.
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.sculkpowered.server.container.Container
Container.Type
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the level requirement for the bottom enchantmentvoid
bottomEnchantingLevel
(int level) Sets the level requirement for the bottom enchantment.@NotNull Enchantment
Gets the bottom enchantment.void
bottomEnchantment
(@NotNull Enchantment enchantment) Sets the bottom enchantment.int
Gets the enchantment seed.void
enchantmentSeed
(int seed) Sets the enchantment seed that is used to draw the enchantment names.int
Gets the level requirement for the middle enchantmentvoid
middleEnchantingLevel
(int level) Sets the level requirement for the middle enchantment.@NotNull Enchantment
Gets the middle enchantment.void
middleEnchantment
(@NotNull Enchantment enchantment) Sets the middle enchantment.int
Gets the requirement for the bottom enchantment.void
requirementForBottomEnchantment
(int requirement) Sets the requirement for the bottom enchantment.int
Gets the requirement for the middle enchantment.void
requirementForMiddleEnchantment
(int requirement) Sets the requirement for the middle enchantment.int
Gets the requirement for the top enchantment.void
requirementForTopEnchantment
(int requirement) Sets the requirement for the top enchantment.int
Gets the level requirement for the top enchantmentvoid
topEnchantingLevel
(int level) Sets the level requirement for the top enchantment.@NotNull Enchantment
Gets the top enchantment.void
topEnchantment
(@NotNull Enchantment enchantment) Sets the top enchantment.
-
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
Sets the top enchantment.- Parameters:
enchantment
- the enchantment at the top- Since:
- 1.0.0
-
topEnchantment
Gets the top enchantment.- Returns:
- the top enchantment
- Since:
- 1.0.0
-
middleEnchantment
Sets the middle enchantment.- Parameters:
enchantment
- the enchantment at the middle- Since:
- 1.0.0
-
middleEnchantment
Gets the middle enchantment.- Returns:
- the middle enchantment
- Since:
- 1.0.0
-
bottomEnchantment
Sets the bottom enchantment.- Parameters:
enchantment
- the enchantment at the bottom- Since:
- 1.0.0
-
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
-