Class Food
java.lang.Object
zombie.entity.GameEntity
zombie.inventory.InventoryItem
zombie.inventory.types.Food
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected float
static final float
protected float
protected float
protected int
protected float
int
boolean
protected boolean
float
protected String
Fields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, atlasTexture, boredomChange, Burnt, BurntString, byteData, CanStack, cat, CloseKillMove, col, Condition, ConditionMax, container, containerX, containerY, Cooked, CookedString, CookingTime, deadBodyObject, Description, EmptyString, extraItems, fatigueChange, FreshString, FrozenString, fullType, GrilledString, id, IsCookable, jobDelta, jobType, LastAged, mainCategory, MinutesToBurn, MinutesToCook, module, name, newPlaceDir, OffAge, OffAgeMax, OffString, placeDir, previousOwner, replaceOnUse, replaceOnUseFullType, ReplaceOnUseOn, requireInHandOrInventory, RequiresEquippedBothHands, rightClickContainer, ScriptItem, StaleString, staticModel, stressChange, Taken, texture, textureBurnt, textureColorMask, textureCooked, textureFluidMask, texturerotten, ToastedString, type, UnCookedString, unhappyChange, uses, visual, Weight, worldItem, worldScale, WorldTexture, worldXRotation, worldYRotation, worldZRotation
Fields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canAge()
boolean
boolean
CanStack
(InventoryItem item) boolean
checkEggHatch
(IsoHutch isoHutch) void
copyAgeFrom
(Food food1) void
copyCookedBurntFrom
(Food food0) void
copyFoodFrom
(Food food1) void
copyFoodFromSplit
(Food food1, int int0) void
copyFrozenFrom
(Food food1) void
copyNutritionFrom
(Food food1) void
copyNutritionFromRatio
(Food food1, float float0) void
copyNutritionFromSplit
(Food food1, int int0) void
copyPoisonFrom
(Food food0) void
copyTemperatureFrom
(Food food1) void
DoTooltip
(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout) boolean
void
freeze()
float
float
Deprecated.float
float
float
float
float
getChef()
float
float
float
float
int
float
float
getHeat()
float
float
float
int
float
int
getName()
getOnEat()
float
int
int
float
int
float
int
float
getScore
(SurvivorDesc desc) float
float
getTex()
float
float
int
float
float
int
float
boolean
void
inheritFoodAgeFrom
(InventoryItem inventoryItem) void
inheritOlderFoodAge
(InventoryItem inventoryItem) boolean
boolean
boolean
boolean
boolean
boolean
boolean
isFood()
boolean
IsFood()
boolean
boolean
isFresh()
boolean
isFrozen()
boolean
boolean
boolean
boolean
isPoison()
boolean
boolean
isRotten()
boolean
isSpice()
boolean
boolean
boolean
boolean
void
load
(ByteBuffer input, int WorldVersion) void
multiplyFoodValues
(float percentage) void
void
void
save
(ByteBuffer output, boolean net) void
setAnimalHatch
(String string) void
setAnimalHatchBreed
(String string) void
void
setBadCold
(boolean _bBadCold) void
setBadInMicrowave
(boolean _badInMicrowave) void
setBaseHunger
(float _baseHunger) void
setbDangerousUncooked
(boolean _bDangerousUncooked) void
setCalories
(float _calories) void
setCanBeFrozen
(boolean _canBeFrozen) void
setCarbohydrates
(float _carbohydrates) void
void
setCompostTime
(float _compostTime) void
setCookedInMicrowave
(boolean b) void
setCustomEatSound
(String customEatSound) void
setEndChange
(float _endChange) void
setEnduranceChange
(float _endChange) void
setFertilized
(boolean boolean0) void
setFertilizedTime
(int int0) void
setFluReduction
(int _fluReduction) void
setFoodType
(String foodType) void
setFreezingTime
(float _freezingTime) void
setFrozen
(boolean _frozen) void
setGoodHot
(boolean _bGoodHot) void
setHeat
(float _Heat) void
setHerbalistType
(String type) void
setHungChange
(float _hungChange) void
setLastCookMinute
(int _LastCookMinute) void
setLipids
(float _lipids) void
setMilkQty
(int int0) void
setMilkType
(String string) void
setOnCooked
(String onCooked) void
void
setPackaged
(boolean _packaged) void
setPainReduction
(float _painReduction) void
setPoisonDetectionLevel
(int _poisonDetectionLevel) void
setPoisonLevelForRecipe
(Integer poisonLevelForRecipe) void
setPoisonPower
(int poisonPower) void
setProteins
(float _proteins) void
setReduceFoodSickness
(int _ReduceFoodSickness) void
setRemoveNegativeEffectOnCooked
(boolean removeNegativeEffectOnCooked) void
setReplaceOnCooked
(List<String> replaceOnCooked) void
setReplaceOnRotten
(String _replaceOnRotten) void
setRotten
(boolean _rotten) void
setRottenTime
(float time) void
setSpice
(boolean _isSpice) void
void
setTainted
(boolean boolean0) void
setThirstChange
(float _thirstChange) void
setTimeToHatch
(int int0) void
setUseForPoison
(int useForPoison) void
setUseOnConsume
(String _useOnConsume) boolean
void
void
update()
void
void
updateAge
(boolean boolean5) void
updateSound
(BaseSoundEmitter emitter) Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, allowRandomTint, applyMaxSharpness, canBeActivated, canBeEquipped, canBeRemote, canEmitLight, canHaveOrigin, canStoreWater, copyBloodLevelFrom, copyClothing, copyConditionModData, copyModData, CopyModData, copyTimesHeadRepairedFrom, copyTimesHeadRepairedTo, copyTimesRepairedFrom, copyTimesRepairedTo, createAndStoreDefaultDeadBody, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, doBreakSound, doBuildingStash, doDamagedSound, DoTooltip, DoTooltipEmbedded, getA, getAge, getAlcoholPower, getAlternateModelName, getAmmoType, getAnimalFeedType, getAnimalTracks, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBloodLevel, getBloodLevelAdjustedHigh, getBloodLevelAdjustedLow, getBodyLocation, getBrakeForce, getBreakSound, getBringToBearSound, getBurntString, getByteData, getCat, getChanceToSpawnDamaged, getCleanString, getClothingItem, getClothingItemExtra, getClothingItemExtraOption, getClothingItemName, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionLowerChance, getConditionLowerNormal, getConditionLowerOffroad, getConditionMax, getConsolidateOption, getContainer, getContainerX, getContainerY, getContentsWeight, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentAmmoCount, getCurrentCondition, getCurrentUses, getCurrentUsesFloat, getCustomMenuOption, getDamagedSound, getDeadBodyObject, getDescription, getDigType, getDirt, getDiscomfortModifier, getDisplayCategory, getDisplayName, getDropSound, getDurability, getEatTime, getEatType, getEngineLoudness, getEntityNetID, getEquipParent, getEquippedWeight, getEquipSound, getEvolvedRecipeName, getExplosionSound, getExtraItems, getExtraItemsWeight, getFabricType, getFatigueChange, getFillFromDispenserSound, getFillFromLakeSound, getFillFromTapSound, getFillFromToiletSound, getFireFuelRatio, getFullType, getG, getGameEntityType, getGunType, getHaveBeenRepaired, getHeadCondition, getHeadConditionLowerChance, getHeadConditionLowerChanceMultiplier, getHeadConditionMax, getHearingModifier, getHotbarEquippedWeight, getIcon, getIconsForTexture, getID, getIsCraftingConsumed, getItemAfterCleaning, getItemCapacity, getItemHeat, getItemReplacementPrimaryHand, getItemReplacementSecondHand, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getLootType, getLuaCreate, getMaintenanceMod, getMaintenanceMod, getMaintenanceMod, getMaintenanceMod, getMakeUpType, getMaxAmmo, getMaxCapacity, getMaxMilk, getMaxSharpness, getMaxUses, getMechanicType, getMediaData, getMediaType, getMeltingTime, getMetalValue, getMilkReplaceItem, getMinutesToBurn, getMinutesToCook, getModData, getModelIndex, getModID, getModName, getModule, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOnBreak, getOriginX, getOriginY, getOriginZ, getOutermostContainer, getOwner, getOwnerPlayer, getPlaceDir, getPlaceMultipleSound, getPlaceOneSound, getPlayer, getPourLiquidOnGroundSound, getPourType, getPreviousOwner, getQuality, getR, getRecordedMediaIndex, getReduceInfectionPower, getRegistry_id, getRemoteControlID, getRemoteRange, getReplaceOnUse, getReplaceOnUseFullType, getReplaceOnUseOn, getReplaceOnUseOnString, getReplaceType, getReplaceTypes, getReplaceTypesMap, getRequireInHandOrInventory, getResearchableRecipes, getResearchableRecipes, getRightClickContainer, getScriptItem, getSharpness, getSharpnessIncrement, getSharpnessMultiplier, getShoutMultiplier, getShoutType, getSoundByID, getSoundParameter, getSquare, getStashChance, getStashMap, getStaticModelException, getStaticModelsByIndex, getStrainModifier, getStringItemType, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTags, getTaken, getTexture, getTextureBurnt, getTextureColorMask, getTextureCooked, getTextureFluidMask, getTexturerotten, getTimesHeadRepaired, getTimesRepaired, getTooltip, getTorchDot, getType, getUnCookedString, getUnequippedWeight, getUnequipSound, getUser, getUses, getVisionModifier, getVisual, getWeaponLevel, getWetCooldown, getWetness, getWheelFriction, getWithDrainable, getWithoutDrainable, getWorker, getWorldItem, getWorldObjectSprite, getWorldStaticItem, getWorldStaticModel, getWorldStaticModelsByIndex, getWorldXRotation, getWorldYRotation, getWorldZRotation, getX, getY, getZ, hasBlood, hasDirt, hasHeadCondition, hasMetal, hasModData, hasOrigin, hasQuality, hasReplaceType, hasResearchableRecipes, hasSharpness, hasTag, hasTimesHeadRepaired, haveExtraItems, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, HowRotten, initialiseItem, isActivated, isAlcoholic, isAlwaysWelcomeGift, isAnimalFeed, isBeingFilled, isBloody, isBroken, isBurnt, isCanBandage, IsClothing, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDamaged, isDisappearOnUse, IsDrainable, isDull, isEmittingLight, isEmptyOfFluid, isEntityValid, isEquipped, isEquippedNoSprint, isFakeEquipped, isFakeEquipped, isFavorite, isFishingLure, isFluidContainer, isFullOfFluid, isHidden, isInfected, isInitialised, isInLocalPlayerInventory, isInPlayerInventory, IsInventoryContainer, isIsCookable, isKeepOnDeplete, isKeyRing, IsLiterature, IsMap, isMemento, isProtectFromRainWhileEquipped, isPureWater, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTorchCone, isTrap, isTwoHandWeapon, isUseWorldItem, isVanilla, isVisualAid, isWaterSource, IsWeapon, isWet, isWorn, loadCorpseFromByteData, loadItem, loadItem, loadItem, ModDataMatches, monogramAfterDescriptor, nameAfterDescriptor, onBreak, playActivateDeactivateSound, playActivateSound, playDeactivateSound, playSoundOnPlayer, randomizeCondition, randomizeGeneralCondition, randomizeHeadCondition, randomizeSharpness, randomizeWorldZRotation, reduceCondition, reduceHeadCondition, RemoveFromContainer, researchRecipes, reset, saveWithSize, setActivated, setActivatedRemote, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAmmoType, setAnimalTracks, setAttachedSlot, setAttachedSlotType, setAttachedToModel, setAttachmentReplacement, setAttachmentsProvided, setAttachmentType, setBandagePower, setBeingFilled, setBlood, setBloodClothingType, setBloodLevel, setBoredomChange, setBrakeForce, setBreakSound, setBroken, setBurnt, setBurntString, setCanBeActivated, setCanBeRemote, setCat, setChanceToSpawnDamaged, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setCondition, setConditionFrom, setConditionFromHeadCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setConditionNoSound, setConditionTo, setConditionWhileLoading, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCurrentAmmoCount, setCurrentUses, setCurrentUsesFrom, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDirt, setDisplayCategory, setDurability, setEngineLoudness, setEquipParent, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setGunType, setHaveBeenRepaired, setHeadCondition, setHeadConditionFromCondition, setIcon, setIconsForTexture, setID, setInfected, setInitialised, setIsCookable, setIsCraftingConsumed, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMaxAmmo, setMaxCapacity, setMediaType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModelIndex, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setOrigin, setOrigin, setOrigin, setOriginX, setOriginY, setOriginZ, setPlaceDir, setPreviousOwner, setQuality, setRecordedMediaData, setRecordedMediaIndex, setRecordedMediaIndexInteger, setReduceInfectionPower, setRegistry_id, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setSharpness, setSharpnessFrom, setStashChance, setStashMap, setStaticModel, setStaticModelsByIndex, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaken, setTexture, setTextureBurnt, setTextureColorMask, setTextureCooked, setTextureFluidMask, setTexturerotten, setTimesHeadRepaired, setTimesRepaired, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUses, setUsesFrom, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldScale, setWorldStaticItem, setWorldStaticModel, setWorldStaticModelsByIndex, setWorldTexture, setWorldXRotation, setWorldYRotation, setWorldZRotation, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, stopEquippedAndActivatedSound, storeInByteData, synchWithVisual, toString, tryGetWorldStaticModelByIndex, unsealIfNotFull, updateEquippedAndActivatedSound, updateEquippedAndActivatedSound, Use, Use, Use, UseAndSync, UseForCrafting, UseItem
Methods inherited from class zombie.entity.GameEntity
addToWorld, attrib, componentSize, connectComponents, containsComponent, getAttributes, getComponent, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponents, hasRenderers, isAddedToEngine, isMeta, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFirstCreation, onFluidContainerUpdate, onReceiveEntityPacket, onUnEquip, receiveSyncEntity, receiveUpdateUsingPlayer, removeFromWorld, removeFromWorld, renderlast, renderlastComponents, requiresEntitySave, saveEntity, sendClientEntityPacket, sendComponentEvent, sendComponentEvent, sendEntityEvent, sendEntityEvent, sendServerEntityPacket, sendServerEntityPacketTo, sendSyncEntity, sendUpdateUsingPlayer, setUsingPlayer
-
Field Details
-
bBadCold
protected boolean bBadCold -
bGoodHot
protected boolean bGoodHot -
Heat
protected float Heat -
endChange
protected float endChange -
hungChange
protected float hungChange -
useOnConsume
-
rotten
protected boolean rotten -
bDangerousUncooked
protected boolean bDangerousUncooked -
LastCookMinute
protected int LastCookMinute -
thirstChange
public float thirstChange -
Poison
public boolean Poison -
spices
-
LastFrozenUpdate
protected float LastFrozenUpdate -
FreezerAgeMultiplier
public static final float FreezerAgeMultiplier- See Also:
-
motherID
public int motherID -
eggGenome
-
-
Constructor Details
-
Food
-
Food
-
-
Method Details
-
getCategory
- Overrides:
getCategory
in classInventoryItem
-
IsFood
public boolean IsFood()- Overrides:
IsFood
in classInventoryItem
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
checkEggHatch
-
update
public void update()- Overrides:
update
in classInventoryItem
-
updateSound
- Overrides:
updateSound
in classInventoryItem
-
updateAge
public void updateAge()- Overrides:
updateAge
in classInventoryItem
-
updateAge
public void updateAge(boolean boolean5) -
setAutoAge
public void setAutoAge()- Overrides:
setAutoAge
in classInventoryItem
-
getActualWeight
public float getActualWeight()- Overrides:
getActualWeight
in classInventoryItem
- Returns:
- the ActualWeight
-
getWeight
public float getWeight()- Overrides:
getWeight
in classInventoryItem
- Returns:
- the Weight
-
CanStack
- Overrides:
CanStack
in classInventoryItem
-
save
- Overrides:
save
in classInventoryItem
- Throws:
IOException
-
load
- Overrides:
load
in classInventoryItem
- Throws:
IOException
-
finishupdate
public boolean finishupdate()- Overrides:
finishupdate
in classInventoryItem
-
shouldUpdateInWorld
public boolean shouldUpdateInWorld()- Overrides:
shouldUpdateInWorld
in classInventoryItem
-
getName
- Overrides:
getName
in classInventoryItem
- Returns:
- the name
-
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
getEnduranceChange
public float getEnduranceChange() -
setEnduranceChange
public void setEnduranceChange(float _endChange) -
getUnhappyChange
public float getUnhappyChange()- Overrides:
getUnhappyChange
in classInventoryItem
- Returns:
- the unhappyChange
-
getBoredomChange
public float getBoredomChange()- Overrides:
getBoredomChange
in classInventoryItem
- Returns:
- the boredomChange
-
getHungerChange
public float getHungerChange() -
getStressChange
public float getStressChange()- Overrides:
getStressChange
in classInventoryItem
- Returns:
- the stressChange
-
getBoredomChangeUnmodified
public float getBoredomChangeUnmodified() -
getEnduranceChangeUnmodified
public float getEnduranceChangeUnmodified() -
getStressChangeUnmodified
public float getStressChangeUnmodified() -
getThirstChangeUnmodified
public float getThirstChangeUnmodified() -
getUnhappyChangeUnmodified
public float getUnhappyChangeUnmodified() -
getScore
- Overrides:
getScore
in classInventoryItem
-
isBadCold
public boolean isBadCold() -
setBadCold
public void setBadCold(boolean _bBadCold) -
isGoodHot
public boolean isGoodHot() -
setGoodHot
public void setGoodHot(boolean _bGoodHot) -
isCookedInMicrowave
public boolean isCookedInMicrowave() -
setCookedInMicrowave
public void setCookedInMicrowave(boolean b) -
getHeat
public float getHeat() -
getInvHeat
public float getInvHeat()- Overrides:
getInvHeat
in classInventoryItem
-
setHeat
public void setHeat(float _Heat) -
getEndChange
public float getEndChange() -
setEndChange
public void setEndChange(float _endChange) -
getBaseHungChange
Deprecated. -
getHungChange
public float getHungChange() -
setHungChange
public void setHungChange(float _hungChange) -
getUseOnConsume
-
setUseOnConsume
-
isRotten
public boolean isRotten() -
isFresh
public boolean isFresh() -
setRotten
public void setRotten(boolean _rotten) -
isbDangerousUncooked
public boolean isbDangerousUncooked() -
setbDangerousUncooked
public void setbDangerousUncooked(boolean _bDangerousUncooked) -
getLastCookMinute
public int getLastCookMinute() -
setLastCookMinute
public void setLastCookMinute(int _LastCookMinute) -
getThirstChange
public float getThirstChange() -
setThirstChange
public void setThirstChange(float _thirstChange) -
setReplaceOnCooked
-
getReplaceOnCooked
-
getBaseHunger
public float getBaseHunger() -
setBaseHunger
public void setBaseHunger(float _baseHunger) -
isSpice
public boolean isSpice()- Overrides:
isSpice
in classInventoryItem
-
setSpice
public void setSpice(boolean _isSpice) -
isPoison
public boolean isPoison() -
getPoisonDetectionLevel
public int getPoisonDetectionLevel() -
setPoisonDetectionLevel
public void setPoisonDetectionLevel(int _poisonDetectionLevel) -
getPoisonLevelForRecipe
-
setPoisonLevelForRecipe
-
getUseForPoison
public int getUseForPoison() -
setUseForPoison
public void setUseForPoison(int useForPoison) -
getPoisonPower
public int getPoisonPower() -
setPoisonPower
public void setPoisonPower(int poisonPower) -
getFoodType
-
setFoodType
-
isRemoveNegativeEffectOnCooked
public boolean isRemoveNegativeEffectOnCooked() -
setRemoveNegativeEffectOnCooked
public void setRemoveNegativeEffectOnCooked(boolean removeNegativeEffectOnCooked) -
getCookingSound
-
getCustomEatSound
-
setCustomEatSound
-
getChef
-
setChef
-
getOnCooked
-
setOnCooked
-
getHerbalistType
-
setHerbalistType
-
getSpices
-
setSpices
-
getTex
- Overrides:
getTex
in classInventoryItem
-
getWorldTexture
- Overrides:
getWorldTexture
in classInventoryItem
- Returns:
- the WorldTexture
-
getStaticModel
- Overrides:
getStaticModel
in classInventoryItem
-
getReduceFoodSickness
public int getReduceFoodSickness() -
setReduceFoodSickness
public void setReduceFoodSickness(int _ReduceFoodSickness) -
getFluReduction
public int getFluReduction() -
setFluReduction
public void setFluReduction(int _fluReduction) -
getPainReduction
public float getPainReduction() -
setPainReduction
public void setPainReduction(float _painReduction) -
getCarbohydrates
public float getCarbohydrates() -
setCarbohydrates
public void setCarbohydrates(float _carbohydrates) -
getLipids
public float getLipids() -
setLipids
public void setLipids(float _lipids) -
getProteins
public float getProteins() -
setProteins
public void setProteins(float _proteins) -
getCalories
public float getCalories() -
setCalories
public void setCalories(float _calories) -
isPackaged
public boolean isPackaged() -
setPackaged
public void setPackaged(boolean _packaged) -
getFreezingTime
public float getFreezingTime() -
setFreezingTime
public void setFreezingTime(float _freezingTime) -
freeze
public void freeze() -
isFrozen
public boolean isFrozen() -
setFrozen
public void setFrozen(boolean _frozen) -
canBeFrozen
public boolean canBeFrozen() -
setCanBeFrozen
public void setCanBeFrozen(boolean _canBeFrozen) -
isFreezing
public boolean isFreezing() -
isThawing
public boolean isThawing() -
syncItemFields
public void syncItemFields()- Overrides:
syncItemFields
in classInventoryItem
-
getReplaceOnRotten
-
setReplaceOnRotten
-
multiplyFoodValues
public void multiplyFoodValues(float percentage) -
getRottenTime
public float getRottenTime() -
setRottenTime
public void setRottenTime(float time) -
getCompostTime
public float getCompostTime() -
setCompostTime
public void setCompostTime(float _compostTime) -
getOnEat
-
setOnEat
-
isBadInMicrowave
public boolean isBadInMicrowave() -
setBadInMicrowave
public void setBadInMicrowave(boolean _badInMicrowave) -
isTainted
public boolean isTainted() -
setTainted
public void setTainted(boolean boolean0) -
setMilkQty
public void setMilkQty(int int0) -
getMilkQty
public int getMilkQty() -
setMilkType
-
getMilkType
-
isFertilized
public boolean isFertilized() -
setFertilized
public void setFertilized(boolean boolean0) -
getAnimalHatch
-
setAnimalHatch
-
getAnimalHatchBreed
-
setAnimalHatchBreed
-
getTimeToHatch
public int getTimeToHatch() -
setTimeToHatch
public void setTimeToHatch(int int0) -
isNormalAndFullFood
public boolean isNormalAndFullFood() -
isWholeFoodItem
public boolean isWholeFoodItem() -
isUncooked
public boolean isUncooked() -
OnAddedToContainer
- Overrides:
OnAddedToContainer
in classInventoryItem
-
OnBeforeRemoveFromContainer
- Overrides:
OnBeforeRemoveFromContainer
in classInventoryItem
-
setFertilizedTime
public void setFertilizedTime(int int0) -
inheritFoodAgeFrom
- Overrides:
inheritFoodAgeFrom
in classInventoryItem
-
inheritOlderFoodAge
- Overrides:
inheritOlderFoodAge
in classInventoryItem
-
hasAnimalParts
public boolean hasAnimalParts() -
isAnimalSkeleton
public boolean isAnimalSkeleton() -
canAge
public boolean canAge() -
isFood
public boolean isFood()- Overrides:
isFood
in classInventoryItem
-
copyFrozenFrom
-
copyCookedBurntFrom
-
copyTemperatureFrom
-
copyPoisonFrom
-
copyAgeFrom
-
copyNutritionFrom
-
copyNutritionFromSplit
-
copyNutritionFromRatio
-
copyFoodFrom
-
copyFoodFromSplit
-