Package zombie.inventory.types
Class InventoryContainer
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.InventoryContainer
public final class InventoryContainer extends InventoryItem
-
Field Summary
Fields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, boredomChange, Burnt, BurntString, byteData, CanStack, CanStoreWater, cat, CloseKillMove, col, Condition, ConditionMax, containerX, containerY, Cooked, CookedString, CookingTime, Description, extraItems, fatigueChange, FreshString, FrozenString, fullType, id, IsCookable, IsWaterSource, jobDelta, jobType, keepOnDeplete, LastAged, mainCategory, MinutesToBurn, MinutesToCook, module, name, newPlaceDir, OffAge, OffAgeMax, OffString, placeDir, previousOwner, replaceOnUse, replaceOnUseFullType, ReplaceOnUseOn, requireInHandOrInventory, RequiresEquippedBothHands, rightClickContainer, ScriptItem, staticModel, stressChange, Taken, texture, textureBurnt, textureCooked, texturerotten, type, UnCookedString, unhappyChange, uses, visual, Weight, worldItem, worldScale, WorldTexture, worldZRotation
-
Constructor Summary
Constructors Constructor Description InventoryContainer(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
-
Method Summary
Modifier and Type Method Description java.lang.String
canBeEquipped()
void
DoTooltip(ObjectTooltip objectTooltip)
void
DoTooltip(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
float
getBloodLevel()
int
getCapacity()
java.lang.String
getCategory()
java.lang.String
getClothingExtraSubmenu()
float
getContentsWeight()
int
getEffectiveCapacity(IsoGameCharacter gameCharacter)
float
getEquippedWeight()
ItemContainer
getInventory()
float
getInventoryWeight()
ItemContainer
getItemContainer()
int
getSaveType()
int
getWeightReduction()
boolean
IsInventoryContainer()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
setBloodLevel(float float1)
void
setCanBeEquipped(java.lang.String string)
void
setCapacity(int int1)
void
setItemContainer(ItemContainer itemContainer)
void
setWeightReduction(int int1)
void
updateAge()
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, allowRandomTint, canBeActivated, canBeRemote, canEmitLight, CanStack, canStoreWater, copyConditionModData, copyModData, CopyModData, doBuildingStash, finishupdate, getA, getActualWeight, getAge, getAlcoholPower, getAlternateModelName, getAmmoType, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBodyLocation, getBoredomChange, getBrakeForce, getBreakSound, getBringToBearSound, getBurntString, getByteData, getCat, getChanceToSpawnDamaged, getCleanString, getClothingItem, getClothingItemExtra, getClothingItemExtraOption, getClothingItemName, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionLowerNormal, getConditionLowerOffroad, getConditionMax, getConsolidateOption, getContainer, getContainerX, getContainerY, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentAmmoCount, getCurrentCondition, getCustomMenuOption, getDescription, getDirt, getDisplayCategory, getDisplayName, getEatType, getEngineLoudness, getEquipParent, getEquipSound, getEvolvedRecipeName, getExplosionSound, getExtraItems, getExtraItemsWeight, getFabricType, getFatigueChange, getFullType, getG, getGunType, getHaveBeenRepaired, getHotbarEquippedWeight, getIconsForTexture, getID, getInvHeat, getItemCapacity, getItemHeat, getItemReplacementPrimaryHand, getItemReplacementSecondHand, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getMakeUpType, getMaxAmmo, getMaxCapacity, getMechanicType, getMediaData, getMediaType, getMeltingTime, getMetalValue, getMinutesToBurn, getMinutesToCook, getModData, getModID, getModName, getModule, getName, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOutermostContainer, getPlaceDir, getPreviousOwner, getR, getRecordedMediaIndex, getReduceInfectionPower, getRegistry_id, getRemoteControlID, getRemoteRange, getReplaceOnUse, getReplaceOnUseFullType, getReplaceOnUseOn, getReplaceOnUseOnString, getRequireInHandOrInventory, getRightClickContainer, getScore, getScriptItem, getStashChance, getStaticModel, getStressChange, getStringItemType, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTags, getTaken, getTex, getTexture, getTextureBurnt, getTextureCooked, getTexturerotten, getTooltip, getTorchDot, getType, getUnCookedString, getUnequippedWeight, getUnequipSound, getUnhappyChange, getUses, getVisual, getWeight, getWetCooldown, getWheelFriction, getWorker, getWorldItem, getWorldStaticItem, getWorldTexture, hasBlood, hasDirt, hasModData, hasTag, haveExtraItems, HowRotten, isActivated, isAlcoholic, isAlwaysWelcomeGift, isBeingFilled, isBroken, isBurnt, isCanBandage, IsClothing, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDisappearOnUse, IsDrainable, isEmittingLight, isEquipped, isEquippedNoSprint, isFavorite, isFishingLure, IsFood, isHairDye, isHidden, isInfected, isInLocalPlayerInventory, isInPlayerInventory, isIsCookable, IsLiterature, IsMap, isProtectFromRainWhileEquipped, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTaintedWater, isTorchCone, isTrap, isTwoHandWeapon, isUseWorldItem, isVanilla, isWaterSource, IsWeapon, isWet, loadItem, loadItem, ModDataMatches, saveWithSize, setActivated, setActivatedRemote, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAmmoType, setAttachedSlot, setAttachedSlotType, setAttachedToModel, setAttachmentReplacement, setAttachmentsProvided, setAttachmentType, setAutoAge, setBandagePower, setBeingFilled, setBlood, setBloodClothingType, setBoredomChange, setBrakeForce, setBreakSound, setBroken, setBurnt, setBurntString, setCanBeActivated, setCanBeRemote, setCat, setChanceToSpawnDamaged, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCurrentAmmoCount, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDirt, setDisplayCategory, setEngineLoudness, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setGunType, setHaveBeenRepaired, setIconsForTexture, setID, setInfected, setIsCookable, setIsWaterSource, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMaxAmmo, setMaxCapacity, setMediaType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setPlaceDir, setPreviousOwner, setRecordedMediaData, setRecordedMediaIndex, setReduceInfectionPower, setRegistry_id, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setStashChance, setStashMap, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaintedWater, setTaken, setTexture, setTextureBurnt, setTextureCooked, setTexturerotten, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUses, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldScale, setWorldTexture, setWorldZRotation, shouldUpdateInWorld, storeInByteData, synchWithVisual, update, updateSound, Use, Use, Use, UseItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InventoryContainer
public InventoryContainer(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
-
-
Method Details
-
IsInventoryContainer
public boolean IsInventoryContainer()- Overrides:
IsInventoryContainer
in classInventoryItem
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
getCategory
public java.lang.String getCategory()- Overrides:
getCategory
in classInventoryItem
-
getInventory
-
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException- Overrides:
save
in classInventoryItem
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Overrides:
load
in classInventoryItem
- Throws:
java.io.IOException
-
getCapacity
public int getCapacity() -
setCapacity
public void setCapacity(int int1) -
getInventoryWeight
public float getInventoryWeight() -
getEffectiveCapacity
-
getWeightReduction
public int getWeightReduction() -
setWeightReduction
public void setWeightReduction(int int1) -
updateAge
public void updateAge()- Overrides:
updateAge
in classInventoryItem
-
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
setBloodLevel
public void setBloodLevel(float float1) -
getBloodLevel
public float getBloodLevel() -
setCanBeEquipped
public void setCanBeEquipped(java.lang.String string) -
canBeEquipped
public java.lang.String canBeEquipped() -
getItemContainer
-
setItemContainer
-
getContentsWeight
public float getContentsWeight()- Overrides:
getContentsWeight
in classInventoryItem
-
getEquippedWeight
public float getEquippedWeight()- Overrides:
getEquippedWeight
in classInventoryItem
-