Package | Description |
---|---|
net.minecraft.advancements.criterion | |
net.minecraft.entity | |
net.minecraft.entity.projectile | |
net.minecraft.potion | |
net.minecraft.util.registry | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
private Potion |
ItemPredicate.potion |
private Potion |
ItemPredicate.Builder.potion |
private Potion |
BrewedPotionTrigger.Instance.potion |
Modifier and Type | Method and Description |
---|---|
boolean |
BrewedPotionTrigger.Instance.test(Potion potion) |
void |
BrewedPotionTrigger.trigger(ServerPlayerEntity player,
Potion potionIn) |
Constructor and Description |
---|
Instance(Potion potion) |
ItemPredicate(Tag<Item> p_i225740_1_,
Item p_i225740_2_,
MinMaxBounds.IntBound p_i225740_3_,
MinMaxBounds.IntBound p_i225740_4_,
EnchantmentPredicate[] p_i225740_5_,
EnchantmentPredicate[] p_i225740_6_,
Potion p_i225740_7_,
NBTPredicate p_i225740_8_) |
Modifier and Type | Field and Description |
---|---|
private Potion |
AreaEffectCloudEntity.potion |
Modifier and Type | Method and Description |
---|---|
void |
AreaEffectCloudEntity.setPotion(Potion potionIn) |
Modifier and Type | Field and Description |
---|---|
private Potion |
ArrowEntity.potion |
Modifier and Type | Method and Description |
---|---|
private void |
PotionEntity.makeAreaOfEffectCloud(ItemStack p_190542_1_,
Potion p_190542_2_) |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<PotionBrewing.MixPredicate<Potion>> |
PotionBrewing.POTION_TYPE_CONVERSIONS |
Modifier and Type | Method and Description |
---|---|
static Potion |
PotionUtils.getPotionFromItem(ItemStack itemIn) |
static Potion |
Potion.getPotionTypeForName(java.lang.String name) |
static Potion |
PotionUtils.getPotionTypeFromNBT(CompoundNBT tag) |
private static Potion |
Potions.register(java.lang.String key,
Potion potionIn) |
Modifier and Type | Method and Description |
---|---|
private static void |
PotionBrewing.addMix(Potion p_193357_0_,
Item p_193357_1_,
Potion p_193357_2_) |
static ItemStack |
PotionUtils.addPotionToItemStack(ItemStack itemIn,
Potion potionIn) |
static boolean |
PotionBrewing.func_222124_a(Potion p_222124_0_) |
static int |
PotionUtils.getPotionColor(Potion potionIn) |
static java.util.List<EffectInstance> |
PotionUtils.mergeEffects(Potion potionIn,
java.util.Collection<EffectInstance> effects) |
private static Potion |
Potions.register(java.lang.String key,
Potion potionIn) |
Modifier and Type | Field and Description |
---|---|
static DefaultedRegistry<Potion> |
Registry.POTION
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Potion> |
ForgeRegistries.POTION_TYPES |