Class FluidConsume
java.lang.Object
zombie.entity.components.fluids.SealedFluidProperties
zombie.entity.components.fluids.FluidConsume
-
Field Summary
Fields inherited from class zombie.entity.components.fluids.SealedFluidProperties
Str_Alcohol, Str_Calories, Str_Carbohydrates, Str_Endurance, Str_Fatigue, Str_Flu, Str_FoodSickness, Str_Hunger, Str_Lipids, Str_Pain, Str_Proteins, Str_Stress, Str_Thirst, Str_Unhappy -
Method Summary
Modifier and TypeMethodDescriptionstatic FluidConsumeAlloc()voidclear()static FluidConsumecombine(FluidConsume arg0, FluidConsume arg1) combineWith(FluidConsume arg0) floatstatic FluidConsumeLoad(ByteBuffer arg0, int arg1) static FluidConsumeLoad(FluidConsume arg0, ByteBuffer arg1, int arg2) voidrelease()static voidSave(FluidConsume arg0, ByteBuffer arg1) Methods inherited from class zombie.entity.components.fluids.SealedFluidProperties
getAlcohol, getCalories, getCarbohydrates, getEnduranceChange, getFatigueChange, getFluReduction, getFoodSicknessReduction, getHungerChange, getLipids, getPainReduction, getPoison, getProteins, getStressChange, getThirstChange, getUnhappyChange, hasProperties, load, save
-
Method Details
-
Alloc
-
release
public void release() -
clear
public void clear() -
combine
-
combineWith
-
getAmount
public float getAmount() -
getPoisonEffect
-
Save
- Throws:
IOException
-
Load
- Throws:
IOException
-
Load
- Throws:
IOException
-