All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.item.enchantment.EnchantmentEntry Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.item.enchantment;

/**
 * @author Nukkit Project Team
 */
public class EnchantmentEntry {

    private final Enchantment[] enchantments;
    private final int cost;
    private final String randomName;

    public EnchantmentEntry(Enchantment[] enchantments, int cost, String randomName) {
        this.enchantments = enchantments;
        this.cost = cost;
        this.randomName = randomName;
    }

    public Enchantment[] getEnchantments() {
        return enchantments;
    }

    public int getCost() {
        return cost;
    }

    public String getRandomName() {
        return randomName;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy