Class Potion

  • Direct Known Subclasses:
    PotionHealth

    public class Potion
    extends java.lang.Object
    • Field Detail

      • potionTypes

        public static final Potion[] potionTypes
      • potionNames

        public static final java.util.Map<java.lang.String,​Potion> potionNames
      • field_35676_b

        public static final Potion field_35676_b
      • moveSpeed

        public static final Potion moveSpeed
      • moveSlowdown

        public static final Potion moveSlowdown
      • digSpeed

        public static final Potion digSpeed
      • digSlowdown

        public static final Potion digSlowdown
      • damageBoost

        public static final Potion damageBoost
      • heal

        public static final Potion heal
      • harm

        public static final Potion harm
      • jump

        public static final Potion jump
      • confusion

        public static final Potion confusion
      • regeneration

        public static final Potion regeneration
      • resistance

        public static final Potion resistance
      • fireResistance

        public static final Potion fireResistance
      • waterBreathing

        public static final Potion waterBreathing
      • invisibility

        public static final Potion invisibility
      • blindness

        public static final Potion blindness
      • nightVision

        public static final Potion nightVision
      • hunger

        public static final Potion hunger
      • weakness

        public static final Potion weakness
      • poison

        public static final Potion poison
      • field_35688_v

        public static final Potion field_35688_v
      • field_35687_w

        public static final Potion field_35687_w
      • field_35697_x

        public static final Potion field_35697_x
      • field_35696_y

        public static final Potion field_35696_y
      • field_35695_z

        public static final Potion field_35695_z
      • field_35667_A

        public static final Potion field_35667_A
      • field_35668_B

        public static final Potion field_35668_B
      • field_35669_C

        public static final Potion field_35669_C
      • field_35663_D

        public static final Potion field_35663_D
      • field_35664_E

        public static final Potion field_35664_E
      • field_35665_F

        public static final Potion field_35665_F
      • field_35666_G

        public static final Potion field_35666_G
      • id

        public final int id
    • Constructor Detail

      • Potion

        protected Potion​(int var1,
                         boolean var2,
                         int var3)
    • Method Detail

      • setIconIndex

        protected Potion setIconIndex​(int var1,
                                      int var2)
      • getId

        public int getId()
      • performEffect

        public void performEffect​(LivingEntity var1,
                                  int var2)
      • isInstant

        public boolean isInstant()
      • isReady

        public boolean isReady​(int var1,
                               int var2)
      • setPotionName

        public Potion setPotionName​(java.lang.String var1)
      • getShortName

        public java.lang.String getShortName()
      • getName

        public java.lang.String getName()
      • getTranslatedName

        public java.lang.String getTranslatedName()
      • hasStatusIcon

        @Client
        public @net.minecraft.modding.api.Side.Client boolean hasStatusIcon()
      • getStatusIconIndex

        @Client
        public @net.minecraft.modding.api.Side.Client int getStatusIconIndex()
      • isBadEffect

        @Client
        public @net.minecraft.modding.api.Side.Client boolean isBadEffect()
      • setEffectiveness

        protected Potion setEffectiveness​(double var1)
      • getEffectiveness

        public double getEffectiveness()
      • setPotionUnusable

        public Potion setPotionUnusable()
      • isUsable

        public boolean isUsable()
      • getLiquidColor

        public int getLiquidColor()