Class SealedFluidProperties

java.lang.Object
zombie.entity.components.fluids.SealedFluidProperties
Direct Known Subclasses:
FluidConsume, FluidProperties

public class SealedFluidProperties extends Object
  • Field Details

  • Constructor Details

    • SealedFluidProperties

      public SealedFluidProperties()
  • Method Details

    • save

      public void save(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer byteBuffer, int var2) throws IOException
      Throws:
      IOException
    • hasProperties

      public boolean hasProperties()
    • clear

      protected void clear()
    • addFromMultiplied

      protected void addFromMultiplied(SealedFluidProperties sealedFluidProperties0, float float0)
    • setEffects

      protected void setEffects(float float0, float float1, float float2, float float3, float float4, float float5)
    • setNutrients

      protected void setNutrients(float float0, float float1, float float2, float float3)
    • setReductions

      protected void setReductions(float float0, float float1, float float2, float float3)
    • getFatigueChange

      public float getFatigueChange()
    • setFatigueChange

      protected void setFatigueChange(float float0)
    • getHungerChange

      public float getHungerChange()
    • setHungerChange

      protected void setHungerChange(float float0)
    • getStressChange

      public float getStressChange()
    • setStressChange

      protected void setStressChange(float float0)
    • getThirstChange

      public float getThirstChange()
    • setThirstChange

      protected void setThirstChange(float float0)
    • getUnhappyChange

      public float getUnhappyChange()
    • setUnhappyChange

      protected void setUnhappyChange(float float0)
    • getCalories

      public float getCalories()
    • setCalories

      protected void setCalories(float float0)
    • getCarbohydrates

      public float getCarbohydrates()
    • setCarbohydrates

      protected void setCarbohydrates(float float0)
    • getLipids

      public float getLipids()
    • setLipids

      protected void setLipids(float float0)
    • getProteins

      public float getProteins()
    • setProteins

      protected void setProteins(float float0)
    • getAlcohol

      public float getAlcohol()
    • setAlcohol

      protected void setAlcohol(float float0)
    • getFluReduction

      public float getFluReduction()
    • setFluReduction

      protected void setFluReduction(float float0)
    • getPainReduction

      public float getPainReduction()
    • setPainReduction

      protected void setPainReduction(float float0)
    • getEnduranceChange

      public float getEnduranceChange()
    • setEnduranceChange

      protected void setEnduranceChange(float float0)
    • getFoodSicknessReduction

      public float getFoodSicknessReduction()
    • setFoodSicknessReduction

      protected void setFoodSicknessReduction(float float0)