Package net.minecraft.potion
Class Potion
java.lang.Object
net.minecraft.potion.Potion
- Mappings:
Namespace Name official chw
intermediary net/minecraft/class_1842
named net/minecraft/potion/Potion
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPotion
(@Nullable String baseName, StatusEffectInstance[] effects) Potion
(StatusEffectInstance[] effects) -
Method Summary
-
Field Details
-
baseName
- Mappings:
Namespace Name Mixin selector official a
Lchw;a:Ljava/lang/String;
intermediary field_8954
Lnet/minecraft/class_1842;field_8954:Ljava/lang/String;
named baseName
Lnet/minecraft/potion/Potion;baseName:Ljava/lang/String;
-
effects
- Mappings:
Namespace Name Mixin selector official b
Lchw;b:Lcom/google/common/collect/ImmutableList;
intermediary field_8955
Lnet/minecraft/class_1842;field_8955:Lcom/google/common/collect/ImmutableList;
named effects
Lnet/minecraft/potion/Potion;effects:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
Potion
- Mappings:
Namespace Name Mixin selector official <init>
Lchw;<init>([Lbfa;)V
intermediary <init>
Lnet/minecraft/class_1842;<init>([Lnet/minecraft/class_1293;)V
named <init>
Lnet/minecraft/potion/Potion;<init>([Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
Potion
- Mappings:
Namespace Name Mixin selector official <init>
Lchw;<init>(Ljava/lang/String;[Lbfa;)V
intermediary <init>
Lnet/minecraft/class_1842;<init>(Ljava/lang/String;[Lnet/minecraft/class_1293;)V
named <init>
Lnet/minecraft/potion/Potion;<init>(Ljava/lang/String;[Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
-
Method Details
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lchw;a(Ljava/lang/String;)Lchw;
intermediary method_8048
Lnet/minecraft/class_1842;method_8048(Ljava/lang/String;)Lnet/minecraft/class_1842;
named byId
Lnet/minecraft/potion/Potion;byId(Ljava/lang/String;)Lnet/minecraft/potion/Potion;
-
finishTranslationKey
- Mappings:
Namespace Name Mixin selector official b
Lchw;b(Ljava/lang/String;)Ljava/lang/String;
intermediary method_8051
Lnet/minecraft/class_1842;method_8051(Ljava/lang/String;)Ljava/lang/String;
named finishTranslationKey
Lnet/minecraft/potion/Potion;finishTranslationKey(Ljava/lang/String;)Ljava/lang/String;
-
getEffects
- Mappings:
Namespace Name Mixin selector official a
Lchw;a()Ljava/util/List;
intermediary method_8049
Lnet/minecraft/class_1842;method_8049()Ljava/util/List;
named getEffects
Lnet/minecraft/potion/Potion;getEffects()Ljava/util/List;
-
hasInstantEffect
public boolean hasInstantEffect()- Mappings:
Namespace Name Mixin selector official b
Lchw;b()Z
intermediary method_8050
Lnet/minecraft/class_1842;method_8050()Z
named hasInstantEffect
Lnet/minecraft/potion/Potion;hasInstantEffect()Z
-