History - net.minecraft.world.item.alchemy.PotionContents

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

cws

cwu

Fields

int: h, EMPTY_COLOR, field_30946, UNCRAFTABLE_COLOR, f_315229_

int: i, BASE_POTION_COLOR, field_49277, EFFECTLESS_COLOR, f_315879_

int: h, BASE_POTION_COLOR, field_49277, EFFECTLESS_COLOR, f_315879_

com.mojang.serialization.Codec<PotionContents>: j, FULL_CODEC, field_49749, BASE_CODEC, f_316625_

com.mojang.serialization.Codec<PotionContents>: i, FULL_CODEC, field_49749, BASE_CODEC, f_316625_

Constructors

Methods

1.20.6

Names

coy

cws

net.minecraft.world.item.alchemy.PotionUtils

net.minecraft.world.item.alchemy.PotionContents

net.minecraft.potion.PotionUtil

net.minecraft.component.type.PotionContentsComponent

net.minecraft.src.C_1443_

net.minecraft.src.C_313529_

net.minecraft.world.item.alchemy.PotionUtil

net.minecraft.world.item.alchemy.PotionContents

Fields

String: a, TAG_CUSTOM_POTION_EFFECTS, field_30943, CUSTOM_POTION_EFFECTS_KEY, f_151254_

String: b, TAG_CUSTOM_POTION_COLOR, field_30944, CUSTOM_POTION_COLOR_KEY, f_151255_

String: c, TAG_POTION, field_30945, POTION_KEY, f_151256_

int: d, EMPTY_COLOR, field_30946, DEFAULT_COLOR, f_151257_

int: h, EMPTY_COLOR, field_30946, UNCRAFTABLE_COLOR, f_315229_

Component: e, NO_EFFECT, field_25817, NONE_TEXT, f_43545_

Component: g, NO_EFFECT, field_25817, NONE_TEXT, f_315730_

Optional<Holder<Potion>>: d, potion, comp_2378, potion, f_317059_

Optional<Integer>: e, customColor, comp_2379, customColor, f_314927_

List<MobEffectInstance>: f, customEffects, comp_2380, customEffects, f_315369_

PotionContents: a, EMPTY, field_49274, DEFAULT, f_313984_

int: i, BASE_POTION_COLOR, field_49277, EFFECTLESS_COLOR, f_315879_

com.mojang.serialization.Codec<PotionContents>: j, FULL_CODEC, field_49749, BASE_CODEC, f_316625_

com.mojang.serialization.Codec<PotionContents>: b, CODEC, field_49275, CODEC, f_315880_

StreamCodec<RegistryFriendlyByteBuf, PotionContents>: c, STREAM_CODEC, field_49276, PACKET_CODEC, f_315823_

Constructors

()

(Holder<Potion>)

(Optional<Holder<Potion>>, Optional<Integer>, List<MobEffectInstance>)

Methods

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, m_43547_

List<MobEffectInstance> (Potion, Collection<MobEffectInstance>): a, getAllEffects, method_8059, getPotionEffects, m_43561_

List<MobEffectInstance> (CompoundTag): a, getAllEffects, method_8066, getPotionEffects, m_43566_

List<MobEffectInstance> (ItemStack): b, getCustomEffects, method_8068, getCustomPotionEffects, m_43571_

List<MobEffectInstance> (CompoundTag): b, getCustomEffects, method_8060, getCustomPotionEffects, m_43573_

void (CompoundTag, List<MobEffectInstance>): a, getCustomEffects, method_8058, getCustomPotionEffects, m_43568_

int (Collection<MobEffectInstance>): a, getColor, method_8055, getColor, m_43564_

Potion (ItemStack): d, getPotion, method_8063, getPotion, m_43579_

Potion (CompoundTag): c, getPotion, method_8057, getPotion, m_43577_

ItemStack (ItemStack, Potion): a, setPotion, method_8061, setPotion, m_43549_

ItemStack (ItemStack, Collection<MobEffectInstance>): a, setCustomEffects, method_8056, setCustomPotionEffects, m_43552_

int (Potion): a, getColor, method_8062, getColor, m_43559_

int (ItemStack): c, getColor, method_8064, getColor, m_43575_

void (ItemStack, List<Component>, float, float): a, addPotionTooltip, method_47372, buildTooltip, m_43555_

void (List<MobEffectInstance>, List<Component>, float, float): a, addPotionTooltip, method_8065, buildTooltip, m_257410_

ItemStack (Item, Holder<Potion>): a, createItemStack, method_57400, createStack, m_324840_

boolean (Holder<Potion>): a, is, method_57401, matches, m_323649_

Iterable<MobEffectInstance> (): a, getAllEffects, method_57397, getEffects, m_319638_

void (Consumer<MobEffectInstance>): a, forEachEffect, method_57402, forEachEffect, m_325077_

PotionContents (Holder<Potion>): b, withPotion, method_57403, with, m_324670_

PotionContents (MobEffectInstance): a, withEffectAdded, method_57398, with, m_324984_

int (): b, getColor, method_8064, getColor, m_318943_

int (Holder<Potion>): c, getColor, method_8062, getColor, m_318851_

int (Iterable<MobEffectInstance>): a, getColor, method_8055, getColor, m_324402_

OptionalInt (Iterable<MobEffectInstance>): b, getColorOptional, method_58111, mixColors, m_320220_

boolean (): c, hasEffects, method_57405, hasEffects, m_323528_

List<MobEffectInstance> (): d, customEffects, comp_2380, customEffects, m_321614_

void (Consumer<Component>, float, float): a, addPotionTooltip, method_47372, buildTooltip, m_324933_

void (Iterable<MobEffectInstance>, Consumer<Component>, float, float): a, addPotionTooltip, method_8065, buildTooltip, m_319937_

Optional<Holder<Potion>> (): e, potion, comp_2378, potion, f_317059_

Optional<Integer> (): f, customColor, comp_2379, customColor, f_314927_

1.20.4

Names

cle

coy

Fields

Constructors

Methods

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_47372, buildTooltip, m_43555_

void (List<MobEffectInstance>, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, m_257410_

void (ItemStack, List<Component>, float, float): a, addPotionTooltip, method_47372, buildTooltip, m_43555_

void (List<MobEffectInstance>, List<Component>, float, float): a, addPotionTooltip, method_8065, buildTooltip, m_257410_

1.20.2

Names

chy

cle

Fields

Constructors

Methods

1.20.1

Names

cht

chy

Fields

Constructors

Methods

1.19.4

Names

cfr

cht

Fields

Constructors

Methods

1.19.3

Names

ccu

cfr

Fields

Constructors

Methods

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, m_43555_

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_47372, buildTooltip, m_43555_

void (List<MobEffectInstance>, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, m_257410_

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

cbx

ccu

Fields

Constructors

Methods

1.19

Names

bwt

cbx

Fields

Constructors

Methods

1.18.2

Names

bwb

bwt

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

bsn

bwb

Fields

Constructors

Methods

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, m_43547_, getEffects

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, m_43547_

1.17.1

Names

bsm

bsn

Fields

Constructors

Methods

1.17

Names

bnv

bsm

net.minecraft.potion.PotionUtils

net.minecraft.src.C_1443_

net.minecraft.server.v1_16_R3.PotionUtil

net.minecraft.world.item.alchemy.PotionUtil

Fields

MutableComponent: a, NO_EFFECT, field_25817, field_25817, field_242400_a

String: a, TAG_CUSTOM_POTION_EFFECTS, field_30943, CUSTOM_POTION_EFFECTS_KEY, f_151254_

String: b, TAG_CUSTOM_POTION_COLOR, field_30944, CUSTOM_POTION_COLOR_KEY, f_151255_

String: c, TAG_POTION, field_30945, POTION_KEY, f_151256_

int: d, EMPTY_COLOR, field_30946, DEFAULT_COLOR, f_151257_

Component: e, NO_EFFECT, field_25817, NONE_TEXT, f_43545_

Constructors

()

Methods

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, func_185189_a, getEffects

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, m_43547_, getEffects

List<MobEffectInstance> (Potion, Collection<MobEffectInstance>): a, getAllEffects, method_8059, getPotionEffects, func_185186_a

List<MobEffectInstance> (Potion, Collection<MobEffectInstance>): a, getAllEffects, method_8059, getPotionEffects, m_43561_

List<MobEffectInstance> (CompoundTag): a, getAllEffects, method_8066, getPotionEffects, func_185185_a

List<MobEffectInstance> (CompoundTag): a, getAllEffects, method_8066, getPotionEffects, m_43566_

List<MobEffectInstance> (ItemStack): b, getCustomEffects, method_8068, getCustomPotionEffects, func_185190_b

List<MobEffectInstance> (ItemStack): b, getCustomEffects, method_8068, getCustomPotionEffects, m_43571_

List<MobEffectInstance> (CompoundTag): b, getCustomEffects, method_8060, getCustomPotionEffects, func_185192_b

List<MobEffectInstance> (CompoundTag): b, getCustomEffects, method_8060, getCustomPotionEffects, m_43573_

void (CompoundTag, List<MobEffectInstance>): a, getCustomEffects, method_8058, getCustomPotionEffects, func_185193_a

void (CompoundTag, List<MobEffectInstance>): a, getCustomEffects, method_8058, getCustomPotionEffects, m_43568_

int (Collection<MobEffectInstance>): a, getColor, method_8055, getColor, func_185181_a

int (Collection<MobEffectInstance>): a, getColor, method_8055, getColor, m_43564_

Potion (ItemStack): d, getPotion, method_8063, getPotion, func_185191_c

Potion (ItemStack): d, getPotion, method_8063, getPotion, m_43579_

Potion (CompoundTag): c, getPotion, method_8057, getPotion, func_185187_c

Potion (CompoundTag): c, getPotion, method_8057, getPotion, m_43577_

ItemStack (ItemStack, Potion): a, setPotion, method_8061, setPotion, func_185188_a

ItemStack (ItemStack, Potion): a, setPotion, method_8061, setPotion, m_43549_

ItemStack (ItemStack, Collection<MobEffectInstance>): a, setCustomEffects, method_8056, setCustomPotionEffects, func_185184_a

ItemStack (ItemStack, Collection<MobEffectInstance>): a, setCustomEffects, method_8056, setCustomPotionEffects, m_43552_

int (Potion): a, getColor, method_8062, getColor, func_185183_a

int (Potion): a, getColor, method_8062, getColor, m_43559_

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, func_185182_a

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, m_43555_

int (ItemStack): c, getColor, method_8064, getColor, func_190932_c

int (ItemStack): c, getColor, method_8064, getColor, m_43575_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

bns

bnv

net.minecraft.server.v1_16_R2.PotionUtil

net.minecraft.server.v1_16_R3.PotionUtil

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

bmd

bns

net.minecraft.server.v1_16_R1.PotionUtil

net.minecraft.server.v1_16_R2.PotionUtil

Fields

MutableComponent: a, NO_EFFECT, field_25817, field_25817, field_242400_a

Constructors

Methods

1.16.1

Names

bgf

bmd

net.minecraft.server.v1_15_R1.PotionUtil

net.minecraft.server.v1_16_R1.PotionUtil

Fields

Constructors

Methods

1.15.2

Names

bgc

bgf

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

bea

bgc

net.minecraft.server.v1_14_R1.PotionUtil

net.minecraft.server.v1_15_R1.PotionUtil

Fields

Constructors

Methods

1.14.4

Names

bdv

bea

net.minecraft.world.item.alchemy.PotionUtils

Fields

Constructors

Methods

List<MobEffect> (ItemStack): a, method_8067, getPotionEffects, func_185189_a, getEffects

List<MobEffectInstance> (ItemStack): a, getMobEffects, method_8067, getPotionEffects, func_185189_a, getEffects

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, method_8059, getPotionEffects, func_185186_a

List<MobEffectInstance> (Potion, Collection<MobEffectInstance>): a, getAllEffects, method_8059, getPotionEffects, func_185186_a

List<MobEffect> (NBTTagCompound): a, method_8066, getPotionEffects, func_185185_a

List<MobEffectInstance> (CompoundTag): a, getAllEffects, method_8066, getPotionEffects, func_185185_a

List<MobEffect> (ItemStack): b, method_8068, getCustomPotionEffects, func_185190_b

List<MobEffectInstance> (ItemStack): b, getCustomEffects, method_8068, getCustomPotionEffects, func_185190_b

List<MobEffect> (NBTTagCompound): b, method_8060, getCustomPotionEffects, func_185192_b

List<MobEffectInstance> (CompoundTag): b, getCustomEffects, method_8060, getCustomPotionEffects, func_185192_b

void (NBTTagCompound, List<MobEffect>): a, method_8058, getCustomPotionEffects, func_185193_a

void (CompoundTag, List<MobEffectInstance>): a, getCustomEffects, method_8058, getCustomPotionEffects, func_185193_a

int (Collection<MobEffect>): a, method_8055, getColor, func_185181_a

int (Collection<MobEffectInstance>): a, getColor, method_8055, getColor, func_185181_a

PotionRegistry (ItemStack): d, method_8063, getPotion, func_185191_c

Potion (ItemStack): d, getPotion, method_8063, getPotion, func_185191_c

PotionRegistry (NBTTagCompound): c, method_8057, getPotion, func_185187_c

Potion (CompoundTag): c, getPotion, method_8057, getPotion, func_185187_c

ItemStack (ItemStack, PotionRegistry): a, method_8061, setPotion, func_185188_a

ItemStack (ItemStack, Potion): a, setPotion, method_8061, setPotion, func_185188_a

ItemStack (ItemStack, Collection<MobEffect>): a, method_8056, setCustomPotionEffects, func_185184_a

ItemStack (ItemStack, Collection<MobEffectInstance>): a, setCustomEffects, method_8056, setCustomPotionEffects, func_185184_a

int (PotionRegistry): a, method_8062, getColor, func_185183_a

int (Potion): a, getColor, method_8062, getColor, func_185183_a

void (ItemStack, List<IChatBaseComponent>, float): a, method_8065, buildTooltip, func_185182_a

void (ItemStack, List<Component>, float): a, addPotionTooltip, method_8065, buildTooltip, func_185182_a

int (ItemStack): c, method_8064, getColor, func_190932_c

int (ItemStack): c, getColor, method_8064, getColor, func_190932_c

1.14.3

Names

bds

bdv

net.minecraft.potion.PotionUtil

Fields

Constructors

Methods

List<MobEffect> (ItemStack): a, method_8067, func_185189_a, getEffects

List<MobEffect> (ItemStack): a, method_8067, getPotionEffects, func_185189_a, getEffects

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, method_8059, func_185186_a

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, method_8059, getPotionEffects, func_185186_a

List<MobEffect> (NBTTagCompound): a, method_8066, func_185185_a

List<MobEffect> (NBTTagCompound): a, method_8066, getPotionEffects, func_185185_a

List<MobEffect> (ItemStack): b, method_8068, func_185190_b

List<MobEffect> (ItemStack): b, method_8068, getCustomPotionEffects, func_185190_b

List<MobEffect> (NBTTagCompound): b, method_8060, func_185192_b

List<MobEffect> (NBTTagCompound): b, method_8060, getCustomPotionEffects, func_185192_b

void (NBTTagCompound, List<MobEffect>): a, method_8058, func_185193_a

void (NBTTagCompound, List<MobEffect>): a, method_8058, getCustomPotionEffects, func_185193_a

int (Collection<MobEffect>): a, method_8055, func_185181_a

int (Collection<MobEffect>): a, method_8055, getColor, func_185181_a

PotionRegistry (ItemStack): d, method_8063, func_185191_c

PotionRegistry (ItemStack): d, method_8063, getPotion, func_185191_c

PotionRegistry (NBTTagCompound): c, method_8057, func_185187_c

PotionRegistry (NBTTagCompound): c, method_8057, getPotion, func_185187_c

ItemStack (ItemStack, PotionRegistry): a, method_8061, func_185188_a

ItemStack (ItemStack, PotionRegistry): a, method_8061, setPotion, func_185188_a

ItemStack (ItemStack, Collection<MobEffect>): a, method_8056, func_185184_a

ItemStack (ItemStack, Collection<MobEffect>): a, method_8056, setCustomPotionEffects, func_185184_a

int (PotionRegistry): a, method_8062, func_185183_a

int (PotionRegistry): a, method_8062, getColor, func_185183_a

void (ItemStack, List<IChatBaseComponent>, float): a, method_8065, func_185182_a

void (ItemStack, List<IChatBaseComponent>, float): a, method_8065, buildTooltip, func_185182_a

int (ItemStack): c, method_8064, func_190932_c

int (ItemStack): c, method_8064, getColor, func_190932_c

1.14.2

Names

Fields

Constructors

Methods

1.14.1

Names

bdr

bds

Fields

Constructors

Methods

1.14

Names

auv

bdr

net.minecraft.class_1844

net.minecraft.server.v1_13_R2.PotionUtil

net.minecraft.server.v1_14_R1.PotionUtil

Fields

Constructors

Methods

List<MobEffect> (ItemStack): a, func_185189_a, getEffects

List<MobEffect> (ItemStack): a, method_8067, func_185189_a, getEffects

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, func_185186_a

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, method_8059, func_185186_a

List<MobEffect> (NBTTagCompound): a, func_185185_a

List<MobEffect> (NBTTagCompound): a, method_8066, func_185185_a

List<MobEffect> (ItemStack): b, func_185190_b

List<MobEffect> (ItemStack): b, method_8068, func_185190_b

List<MobEffect> (NBTTagCompound): b, func_185192_b

List<MobEffect> (NBTTagCompound): b, method_8060, func_185192_b

void (NBTTagCompound, List<MobEffect>): a, func_185193_a

void (NBTTagCompound, List<MobEffect>): a, method_8058, func_185193_a

int (Collection<MobEffect>): a, func_185181_a

int (Collection<MobEffect>): a, method_8055, func_185181_a

PotionRegistry (ItemStack): d, func_185191_c

PotionRegistry (ItemStack): d, method_8063, func_185191_c

PotionRegistry (NBTTagCompound): c, func_185187_c

PotionRegistry (NBTTagCompound): c, method_8057, func_185187_c

ItemStack (ItemStack, PotionRegistry): a, func_185188_a

ItemStack (ItemStack, PotionRegistry): a, method_8061, func_185188_a

ItemStack (ItemStack, Collection<MobEffect>): a, func_185184_a

ItemStack (ItemStack, Collection<MobEffect>): a, method_8056, func_185184_a

int (PotionRegistry): a, func_185183_a

int (PotionRegistry): a, method_8062, func_185183_a

void (ItemStack, List<IChatBaseComponent>, float): a, func_185182_a

void (ItemStack, List<IChatBaseComponent>, float): a, method_8065, func_185182_a

int (ItemStack): c, func_190932_c

int (ItemStack): c, method_8064, func_190932_c

1.13.2

Names

auu

auv

Fields

Constructors

Methods

1.13.1

Names

aur

auu

net.minecraft.server.v1_13_R1.PotionUtil

net.minecraft.server.v1_13_R2.PotionUtil

Fields

Constructors

Methods

1.13

Names

aki

aur

net.minecraft.server.v1_12_R1.PotionUtil

net.minecraft.server.v1_13_R1.PotionUtil

Fields

Constructors

Methods

1.12.2

Names

Fields

Constructors

Methods

1.12.1

Names

akg

aki

Fields

Constructors

Methods

1.12

Names

aha

akg

net.minecraft.server.v1_11_R1.PotionUtil

net.minecraft.server.v1_12_R1.PotionUtil

Fields

Constructors

Methods

1.11.2

Names

Fields

Constructors

Methods

1.11.1

Names

agz

aha

Fields

Constructors

Methods

1.11

Names

afp

agz

net.minecraft.server.v1_10_R1.PotionUtil

net.minecraft.server.v1_11_R1.PotionUtil

Fields

Constructors

Methods

PotionRegistry (ItemStack): c, func_185191_c

PotionRegistry (ItemStack): d, func_185191_c

int (ItemStack): c, func_190932_c

1.10.2

Names

Fields

Constructors

Methods

1.10

Names

afg

afp

net.minecraft.server.v1_9_R2.PotionUtil

net.minecraft.server.v1_10_R1.PotionUtil

Fields

Constructors

Methods

1.9.4

Names

net.minecraft.server.v1_9_R1.PotionUtil

net.minecraft.server.v1_9_R2.PotionUtil

Fields

Constructors

Methods

1.9.2

Names

Fields

Constructors

Methods

1.9

Names

afg

net.minecraft.potion.PotionUtils

net.minecraft.server.v1_9_R1.PotionUtil

Fields

Constructors

Methods

List<MobEffect> (ItemStack): a, func_185189_a, getEffects

List<MobEffect> (PotionRegistry, Collection<MobEffect>): a, func_185186_a

List<MobEffect> (NBTTagCompound): a, func_185185_a

List<MobEffect> (ItemStack): b, func_185190_b

List<MobEffect> (NBTTagCompound): b, func_185192_b

void (NBTTagCompound, List<MobEffect>): a, func_185193_a

int (Collection<MobEffect>): a, func_185181_a

PotionRegistry (ItemStack): c, func_185191_c

PotionRegistry (NBTTagCompound): c, func_185187_c

ItemStack (ItemStack, PotionRegistry): a, func_185188_a

ItemStack (ItemStack, Collection<MobEffect>): a, func_185184_a

int (PotionRegistry): a, func_185183_a

void (ItemStack, List<String>, float): a, func_185182_a