Package net.minecraft.potion
Class PotionUtil
java.lang.Object
net.minecraft.potion.PotionUtil
public class PotionUtil extends Object
- Mappings:
Namespace Name official bqnintermediary net/minecraft/class_1844named net/minecraft/potion/PotionUtil
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PotionUtil() -
Method Summary
-
Field Details
-
NONE_TEXT
- Mappings:
Namespace Name Mixin selector official aLbqn;a:Loj;intermediary field_25817Lnet/minecraft/class_1844;field_25817:Lnet/minecraft/class_2561;named NONE_TEXTLnet/minecraft/potion/PotionUtil;NONE_TEXT:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
PotionUtil
public PotionUtil()
-
-
Method Details
-
getPotionEffects
- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lboq;)Ljava/util/List;intermediary method_8067Lnet/minecraft/class_1844;method_8067(Lnet/minecraft/class_1799;)Ljava/util/List;named getPotionEffectsLnet/minecraft/potion/PotionUtil;getPotionEffects(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
getPotionEffects
public static List<StatusEffectInstance> getPotionEffects(Potion potion, Collection<StatusEffectInstance> custom)- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lbql;Ljava/util/Collection;)Ljava/util/List;intermediary method_8059Lnet/minecraft/class_1844;method_8059(Lnet/minecraft/class_1842;Ljava/util/Collection;)Ljava/util/List;named getPotionEffectsLnet/minecraft/potion/PotionUtil;getPotionEffects(Lnet/minecraft/potion/Potion;Ljava/util/Collection;)Ljava/util/List;
-
getPotionEffects
- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lmr;)Ljava/util/List;intermediary method_8066Lnet/minecraft/class_1844;method_8066(Lnet/minecraft/class_2487;)Ljava/util/List;named getPotionEffectsLnet/minecraft/potion/PotionUtil;getPotionEffects(Lnet/minecraft/nbt/CompoundTag;)Ljava/util/List;
-
getCustomPotionEffects
- Mappings:
Namespace Name Mixin selector official bLbqn;b(Lboq;)Ljava/util/List;intermediary method_8068Lnet/minecraft/class_1844;method_8068(Lnet/minecraft/class_1799;)Ljava/util/List;named getCustomPotionEffectsLnet/minecraft/potion/PotionUtil;getCustomPotionEffects(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
getCustomPotionEffects
public static List<StatusEffectInstance> getCustomPotionEffects(@Nullable @Nullable CompoundTag tag)- Mappings:
Namespace Name Mixin selector official bLbqn;b(Lmr;)Ljava/util/List;intermediary method_8060Lnet/minecraft/class_1844;method_8060(Lnet/minecraft/class_2487;)Ljava/util/List;named getCustomPotionEffectsLnet/minecraft/potion/PotionUtil;getCustomPotionEffects(Lnet/minecraft/nbt/CompoundTag;)Ljava/util/List;
-
getCustomPotionEffects
public static void getCustomPotionEffects(@Nullable @Nullable CompoundTag tag, List<StatusEffectInstance> list)- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lmr;Ljava/util/List;)Vintermediary method_8058Lnet/minecraft/class_1844;method_8058(Lnet/minecraft/class_2487;Ljava/util/List;)Vnamed getCustomPotionEffectsLnet/minecraft/potion/PotionUtil;getCustomPotionEffects(Lnet/minecraft/nbt/CompoundTag;Ljava/util/List;)V
-
getColor
- Mappings:
Namespace Name Mixin selector official cLbqn;c(Lboq;)Iintermediary method_8064Lnet/minecraft/class_1844;method_8064(Lnet/minecraft/class_1799;)Inamed getColorLnet/minecraft/potion/PotionUtil;getColor(Lnet/minecraft/item/ItemStack;)I
-
getColor
- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lbql;)Iintermediary method_8062Lnet/minecraft/class_1844;method_8062(Lnet/minecraft/class_1842;)Inamed getColorLnet/minecraft/potion/PotionUtil;getColor(Lnet/minecraft/potion/Potion;)I
-
getColor
- Mappings:
Namespace Name Mixin selector official aLbqn;a(Ljava/util/Collection;)Iintermediary method_8055Lnet/minecraft/class_1844;method_8055(Ljava/util/Collection;)Inamed getColorLnet/minecraft/potion/PotionUtil;getColor(Ljava/util/Collection;)I
-
getPotion
- Mappings:
Namespace Name Mixin selector official dLbqn;d(Lboq;)Lbql;intermediary method_8063Lnet/minecraft/class_1844;method_8063(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1842;named getPotionLnet/minecraft/potion/PotionUtil;getPotion(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/potion/Potion;
-
getPotion
- Mappings:
Namespace Name Mixin selector official cLbqn;c(Lmr;)Lbql;intermediary method_8057Lnet/minecraft/class_1844;method_8057(Lnet/minecraft/class_2487;)Lnet/minecraft/class_1842;named getPotionLnet/minecraft/potion/PotionUtil;getPotion(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/potion/Potion;
-
setPotion
- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lboq;Lbql;)Lboq;intermediary method_8061Lnet/minecraft/class_1844;method_8061(Lnet/minecraft/class_1799;Lnet/minecraft/class_1842;)Lnet/minecraft/class_1799;named setPotionLnet/minecraft/potion/PotionUtil;setPotion(Lnet/minecraft/item/ItemStack;Lnet/minecraft/potion/Potion;)Lnet/minecraft/item/ItemStack;
-
setCustomPotionEffects
public static ItemStack setCustomPotionEffects(ItemStack stack, Collection<StatusEffectInstance> effects)- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lboq;Ljava/util/Collection;)Lboq;intermediary method_8056Lnet/minecraft/class_1844;method_8056(Lnet/minecraft/class_1799;Ljava/util/Collection;)Lnet/minecraft/class_1799;named setCustomPotionEffectsLnet/minecraft/potion/PotionUtil;setCustomPotionEffects(Lnet/minecraft/item/ItemStack;Ljava/util/Collection;)Lnet/minecraft/item/ItemStack;
-
buildTooltip
@Environment(CLIENT) public static void buildTooltip(ItemStack stack, List<Text> list, float float2)- Mappings:
Namespace Name Mixin selector official aLbqn;a(Lboq;Ljava/util/List;F)Vintermediary method_8065Lnet/minecraft/class_1844;method_8065(Lnet/minecraft/class_1799;Ljava/util/List;F)Vnamed buildTooltipLnet/minecraft/potion/PotionUtil;buildTooltip(Lnet/minecraft/item/ItemStack;Ljava/util/List;F)V
-