net.minecraft.world.item.alchemy

public class Potion

cow
net.minecraft.world.item.alchemy.Potion
net.minecraft.class_1842
net.minecraft.potion.Potion
net.minecraft.src.C_1440_
net.minecraft.world.item.alchemy.PotionRegistry

Field summary

Modifier and TypeField
private final String
a
name
field_8954
baseName
f_43481_
private final com.google.common.collect.ImmutableList<MobEffectInstance>
b
effects
field_8955
effects
f_43482_
private final Holder$Reference<Potion>
c
builtInRegistryHolder
field_45767
registryEntry
f_290831_

Constructor summary

ModifierConstructor
public (MobEffectInstance... effects)
public (String baseName, MobEffectInstance... effects)

Method summary

Modifier and TypeMethod
public static Potion
a(String arg0)
byName(String arg0)
method_8048(String arg0)
byId(String id)
m_43489_(String p_43490_)
public String
b(String arg0)
getName(String arg0)
method_8051(String arg0)
finishTranslationKey(String prefix)
m_43492_(String arg0)
public List<MobEffectInstance>
a()
getEffects()
method_8049()
getEffects()
m_43488_()
public boolean
b()
hasInstantEffects()
method_8050()
hasInstantEffect()
m_43491_()
public Holder$Reference<Potion>
c()
builtInRegistryHolder()
method_53211()
getRegistryEntry()
m_293993_()