public class SweepingEnchantment extends Enchantment
Enchantment.Rarity
name, type
delegate
コンストラクタと説明 |
---|
SweepingEnchantment(Enchantment.Rarity rarityIn,
EquipmentSlotType... slots) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel()
Returns the maximum level that the enchantment can have.
|
int |
getMinEnchantability(int enchantmentLevel)
Returns the minimal value of enchantability needed on the enchantment level passed.
|
static float |
getSweepingDamageRatio(int p_191526_0_) |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurt
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public SweepingEnchantment(Enchantment.Rarity rarityIn, EquipmentSlotType... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability
クラス内 Enchantment
public int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability
クラス内 Enchantment
public int getMaxLevel()
getMaxLevel
クラス内 Enchantment
public static float getSweepingDamageRatio(int p_191526_0_)