Package net.minecraft.potion
Class Potion
java.lang.Object
net.minecraft.potion.Potion
- Mappings:
Namespace Name official cow
intermediary net/minecraft/class_1842
named net/minecraft/potion/Potion
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableList<StatusEffectInstance>
private final RegistryEntry.Reference<Potion>
-
Constructor Summary
ConstructorDescriptionPotion
(@Nullable String baseName, StatusEffectInstance[] effects) Potion
(StatusEffectInstance[] effects) -
Method Summary
Modifier and TypeMethodDescriptionstatic Potion
finishTranslationKey
(String prefix) Deprecated.boolean
-
Field Details
-
baseName
- Mappings:
Namespace Name Mixin selector official a
Lcow;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
Lcow;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;
-
registryEntry
- Mappings:
Namespace Name Mixin selector official c
Lcow;c:Lih$c;
intermediary field_45767
Lnet/minecraft/class_1842;field_45767:Lnet/minecraft/class_6880$class_6883;
named registryEntry
Lnet/minecraft/potion/Potion;registryEntry:Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
-
Constructor Details
-
Potion
- Mappings:
Namespace Name Mixin selector official <init>
Lcow;<init>([Lbli;)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>
Lcow;<init>(Ljava/lang/String;[Lbli;)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
Lcow;a(Ljava/lang/String;)Lcow;
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
Lcow;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
Lcow;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
Lcow;b()Z
intermediary method_8050
Lnet/minecraft/class_1842;method_8050()Z
named hasInstantEffect
Lnet/minecraft/potion/Potion;hasInstantEffect()Z
-
getRegistryEntry
Deprecated.- Mappings:
Namespace Name Mixin selector official c
Lcow;c()Lih$c;
intermediary method_53211
Lnet/minecraft/class_1842;method_53211()Lnet/minecraft/class_6880$class_6883;
named getRegistryEntry
Lnet/minecraft/potion/Potion;getRegistryEntry()Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-