implements ConsumableListener, TooltipProvider
dcw | |
net.minecraft.world.item.alchemy.PotionContents | |
net.minecraft.class_1844 |
Field summary
Modifier and Type | Field | ||||||
---|---|---|---|---|---|---|---|
private final Optional<Holder<Potion>> |
| ||||||
private final Optional<Integer> |
| ||||||
private final List<MobEffectInstance> |
| ||||||
private final Optional<String> |
| ||||||
public static final PotionContents |
| ||||||
private static final Component |
| ||||||
public static final int |
| ||||||
private static final com.mojang.serialization.Codec<PotionContents> |
| ||||||
public static final com.mojang.serialization.Codec<PotionContents> |
| ||||||
public static final StreamCodec<RegistryFriendlyByteBuf, PotionContents> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Holder<Potion> arg0) |
public | (Optional<Holder<Potion>> arg0, Optional<Integer> arg1, List<MobEffectInstance> arg2, Optional<String> arg3) |
Method summary
Modifier and Type | Method | ||||||
---|---|---|---|---|---|---|---|
public static ItemStack |
| ||||||
public boolean |
| ||||||
public Iterable<MobEffectInstance> |
| ||||||
public void |
| ||||||
public PotionContents |
| ||||||
public PotionContents |
| ||||||
public int |
| ||||||
public int |
| ||||||
public Component |
| ||||||
public static OptionalInt |
| ||||||
public boolean |
| ||||||
public List<MobEffectInstance> |
| ||||||
public void |
| ||||||
public static void |
| ||||||
public static MutableComponent |
| ||||||
public void |
| ||||||
public void |
| ||||||
public Optional<Holder<Potion>> |
| ||||||
public Optional<Integer> |
| ||||||
public Optional<String> |
|