Class DrainableComboItem

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.DrainableComboItem
All Implemented Interfaces:
IUpdater, Drainable

public class DrainableComboItem
extends InventoryItem
implements Drainable, IUpdater
  • Field Details

    • bUseWhileEquiped

      protected boolean bUseWhileEquiped
    • ticksPerEquipUse

      protected int ticksPerEquipUse
    • useDelta

      protected float useDelta
    • delta

      protected float delta
    • ticks

      protected float ticks
    • ReplaceOnDeplete

      protected java.lang.String ReplaceOnDeplete
    • ReplaceOnDepleteFullType

      protected java.lang.String ReplaceOnDepleteFullType
    • Heat

      protected float Heat
    • LastCookMinute

      protected int LastCookMinute
    • OnCooked

      public java.lang.String OnCooked
  • Constructor Details

    • DrainableComboItem

      public DrainableComboItem​(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
    • DrainableComboItem

      public DrainableComboItem​(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item)
  • Method Details

    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • CanStack

      public boolean CanStack​(InventoryItem inventoryItem)
      Overrides:
      CanStack in class InventoryItem
    • getUsedDelta

      public float getUsedDelta()
      Specified by:
      getUsedDelta in interface Drainable
    • getDrainableUsesInt

      public int getDrainableUsesInt()
    • getDrainableUsesFloat

      public float getDrainableUsesFloat()
    • render

      public void render()
      Specified by:
      render in interface IUpdater
    • renderlast

      public void renderlast()
      Specified by:
      renderlast in interface IUpdater
    • setUsedDelta

      public void setUsedDelta​(float float1)
      Specified by:
      setUsedDelta in interface Drainable
    • shouldUpdateInWorld

      public boolean shouldUpdateInWorld()
      Overrides:
      shouldUpdateInWorld in class InventoryItem
    • update

      public void update()
      Specified by:
      update in interface IUpdater
      Overrides:
      update in class InventoryItem
    • Use

      public void Use()
      Overrides:
      Use in class InventoryItem
    • updateWeight

      public void updateWeight()
    • isUseWhileEquiped

      public boolean isUseWhileEquiped()
    • setUseWhileEquiped

      public void setUseWhileEquiped​(boolean boolean1)
    • getTicksPerEquipUse

      public int getTicksPerEquipUse()
    • setTicksPerEquipUse

      public void setTicksPerEquipUse​(int int1)
    • getUseDelta

      public float getUseDelta()
    • setUseDelta

      public void setUseDelta​(float float1)
    • getDelta

      public float getDelta()
    • setDelta

      public void setDelta​(float float1)
    • getTicks

      public float getTicks()
    • setTicks

      public void setTicks​(float float1)
    • setReplaceOnDeplete

      public void setReplaceOnDeplete​(java.lang.String string)
    • getReplaceOnDeplete

      public java.lang.String getReplaceOnDeplete()
    • getReplaceOnDepleteFullType

      public java.lang.String getReplaceOnDepleteFullType()
    • getHeat

      public float getHeat()
    • getInvHeat

      public float getInvHeat()
      Overrides:
      getInvHeat in class InventoryItem
    • finishupdate

      public boolean finishupdate()
      Overrides:
      finishupdate in class InventoryItem
    • getRemainingUses

      public int getRemainingUses()
    • getRainFactor

      public float getRainFactor()
    • setRainFactor

      public void setRainFactor​(float float1)
    • canConsolidate

      public boolean canConsolidate()
    • setCanConsolidate

      public void setCanConsolidate​(boolean boolean1)