Class AstralPotion

java.lang.Object
net.minecraft.potion.Potion
dev.jaxydog.astral.content.effect.AstralPotion
All Implemented Interfaces:
Registered, Registered.Common

public class AstralPotion extends net.minecraft.potion.Potion implements Registered.Common
An extension of a Potion that provides commonly used functionality.

This type is automatically registered.

Since:
2.0.0
  • Constructor Details

    • AstralPotion

      public AstralPotion(String path, @Nullable @Nullable AstralPotion.Recipe recipe, net.minecraft.entity.effect.StatusEffectInstance... effects)
      Creates a new potion.
      Parameters:
      path - The potion's identifier path.
      recipe - The potion's recipe.
      effects - The potion's status effects.
      Since:
      2.0.0
    • AstralPotion

      public AstralPotion(String path, net.minecraft.entity.effect.StatusEffectInstance... effects)
      Creates a new potion.
      Parameters:
      path - The potion's identifier path.
      effects - The potion's status effects.
      Since:
      2.0.0
  • Method Details