Modifier and Type |
Method and Description |
static void |
buildTooltip(ItemStack stack,
List<Text> list,
float float2) |
static int |
getColor(Collection<StatusEffectInstance> effects) |
static int |
getColor(ItemStack stack) |
static int |
getColor(Potion potion) |
static List<StatusEffectInstance> |
getCustomPotionEffects(CompoundTag tag) |
static void |
getCustomPotionEffects(CompoundTag tag,
List<StatusEffectInstance> list) |
static List<StatusEffectInstance> |
getCustomPotionEffects(ItemStack stack) |
static Potion |
getPotion(CompoundTag compound) |
static Potion |
getPotion(ItemStack stack) |
static List<StatusEffectInstance> |
getPotionEffects(CompoundTag tag) |
static List<StatusEffectInstance> |
getPotionEffects(ItemStack stack) |
static List<StatusEffectInstance> |
getPotionEffects(Potion potion,
Collection<StatusEffectInstance> custom) |
static ItemStack |
setCustomPotionEffects(ItemStack stack,
Collection<StatusEffectInstance> effects) |
static ItemStack |
setPotion(ItemStack stack,
Potion potion) |