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 FluidConsume
Alloc()
void
clear()
static FluidConsume
combine
(FluidConsume fluidConsume2, FluidConsume fluidConsume1) combineWith
(FluidConsume fluidConsume2) float
static FluidConsume
Load
(ByteBuffer byteBuffer, int int0) static FluidConsume
Load
(FluidConsume fluidConsume, ByteBuffer byteBuffer, int int0) void
release()
static void
Save
(FluidConsume fluidConsume, ByteBuffer byteBuffer) Methods inherited from class zombie.entity.components.fluids.SealedFluidProperties
getAlcohol, getCalories, getCarbohydrates, getEnduranceChange, getFatigueChange, getFluReduction, getFoodSicknessReduction, getHungerChange, getLipids, getPainReduction, 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
public static FluidConsume Load(FluidConsume fluidConsume, ByteBuffer byteBuffer, int int0) throws IOException - Throws:
IOException
-