Klasse UPotion

java.lang.Object
net.minecraft.world.item.alchemy.Potion
info.u_team.u_team_core.potion.UPotion
Alle implementierten Schnittstellen:
net.minecraft.world.flag.FeatureElement

public class UPotion extends net.minecraft.world.item.alchemy.Potion
  • Feldübersicht

    Von Klasse geerbte Felder net.minecraft.world.item.alchemy.Potion

    CODEC, STREAM_CODEC

    Von Schnittstelle geerbte Felder net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    UPotion(String name, Supplier<List<net.minecraft.world.effect.MobEffectInstance>> supplier)
     
    UPotion(Supplier<List<net.minecraft.world.effect.MobEffectInstance>> supplier)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    List<net.minecraft.world.effect.MobEffectInstance>
     
    boolean
     

    Von Klasse geerbte Methoden net.minecraft.world.item.alchemy.Potion

    getName, requiredFeatures, requiredFeatures

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden net.minecraft.world.flag.FeatureElement

    isEnabled
  • Konstruktordetails

    • UPotion

      public UPotion(Supplier<List<net.minecraft.world.effect.MobEffectInstance>> supplier)
    • UPotion

      public UPotion(String name, Supplier<List<net.minecraft.world.effect.MobEffectInstance>> supplier)
  • Methodendetails

    • getEffects

      public List<net.minecraft.world.effect.MobEffectInstance> getEffects()
      Setzt außer Kraft:
      getEffects in Klasse net.minecraft.world.item.alchemy.Potion
    • hasInstantEffects

      public boolean hasInstantEffects()
      Setzt außer Kraft:
      hasInstantEffects in Klasse net.minecraft.world.item.alchemy.Potion