Package zombie.inventory.types
Class Clothing
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Clothing
public class Clothing extends InventoryItem
-
Field Summary
Fields Modifier and Type Field Description float
bloodLevel
protected Item.ClothingBodyLocation
bodyLocation
protected java.lang.String
palette
protected java.lang.String
SpriteName
Fields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, AlwaysWelcomeGift, boredomChange, Burnt, BurntString, byteData, CanBandage, CanStack, CanStoreWater, cat, CloseKillMove, col, Condition, ConditionMax, consumeMenu, container, containerX, containerY, Cooked, CookedString, CookingTime, Description, DisappearOnUse, extraItems, fatigueChange, FreshString, FrozenString, id, IsCookable, IsWaterSource, jobDelta, jobType, keepOnDeplete, LastAged, mainCategory, MinutesToBurn, MinutesToCook, module, name, newPlaceDir, OffAge, OffAgeMax, OffString, placeDir, previousOwner, replaceOnUse, ReplaceOnUseOn, requireInHandOrInventory, RequiresEquippedBothHands, rightClickContainer, ScriptItem, stressChange, swingAnim, Taken, texture, textureBurnt, textureCooked, texturerotten, type, UnCookedString, unhappyChange, uses, Weight, worldItem, WorldTexture
-
Constructor Summary
Constructors Constructor Description Clothing(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, java.lang.String string5, java.lang.String string6)
Clothing(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item, java.lang.String string4, java.lang.String string5)
-
Method Summary
Modifier and Type Method Description boolean
CanStack(InventoryItem inventoryItem)
static Clothing
CreateFromSprite(java.lang.String string)
void
DoTooltip(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
boolean
finishupdate()
float
getBloodlevel()
Item.ClothingBodyLocation
getBodyLocation()
java.lang.String
getCategory()
float
getClothingDirtynessIncreaseLevel()
int
getConditionLowerChance()
float
getDirtyness()
float
getInsulation()
java.lang.String
getName()
java.lang.String
getPalette()
int
getSaveType()
java.lang.String
getSpriteName()
float
getTemperature()
boolean
isBloody()
boolean
isDirty()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
setBloodLevel(float float1)
void
setBodyLocation(Item.ClothingBodyLocation clothingBodyLocation)
void
setCondition(int int1)
void
setConditionLowerChance(int int1)
void
setDirtyness(float float1)
void
setInsulation(float float1)
void
setPalette(java.lang.String string)
void
setSpriteName(java.lang.String string)
void
setTemperature(float float1)
void
Unwear()
void
update()
void
Use(boolean boolean1, boolean boolean2)
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, canBeActivated, canBeRemote, canStoreWater, copyConditionModData, CopyModData, doBuildingtStash, DoTooltip, getA, getActualWeight, getAge, getAlcoholPower, getB, getBandagePower, getBoredomChange, getBrakeForce, getBreakSound, getBurntString, getByteData, getCat, getChanceToSpawnDamaged, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionLowerNormal, getConditionLowerOffroad, getConditionMax, getConsumeMenu, getContainer, getContainerX, getContainerY, getContentsWeight, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentCondition, getCustomMenuOption, getDescription, getDisplayCategory, getDisplayName, getEngineLoudness, getEquipParent, getEquippedWeight, getEvolvedRecipeName, getExplosionSound, getExtraItems, getFatigueChange, getFullType, getG, getHaveBeenRepaired, getID, getInvHeat, getItemCapacity, getItemHeat, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getMap, getMaxCapacity, getMechanicType, getMeltingTime, getMetalValue, getMinutesToBurn, getMinutesToCook, getModData, getModule, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOutermostContainer, getPlaceDir, getPreviousOwner, getR, getReduceInfectionPower, getRemoteControlID, getRemoteRange, getReplaceOnBreak, getReplaceOnUse, getReplaceOnUseOn, getReplaceOnUseOnString, getRequireInHandOrInventory, getRightClickContainer, getScore, getScriptItem, getStressChange, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTaken, getTex, getTexture, getTextureBurnt, getTextureCooked, getTexturerotten, getTooltip, getType, getUnCookedString, getUnequippedWeight, getUnhappyChange, getUses, getWeight, getWetCooldown, getWheelFriction, getWorker, getWorldItem, getWorldTexture, hasModData, haveExtraItems, HowRotten, isActivated, isAlcoholic, isAlwaysWelcomeGift, isBeingFilled, isBroken, isBurnt, isCanBandage, IsClothing, isConditionAffectsCapacity, isCooked, isCustomColor, isCustomName, isCustomWeight, isDisappearOnUse, IsDrainable, isEquipped, isFavorite, isFishingLure, IsFood, isInfected, isInLocalPlayerInventory, isInPlayerInventory, isIsCookable, IsLiterature, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTaintedWater, isTorchCone, isTrap, isTwoHandWeapon, isWaterSource, IsWeapon, isWet, ModDataMatches, saveWithSize, setActivated, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAlwaysWelcomeGift, setAutoAge, setBandagePower, setBeingFilled, setBoredomChange, setBrakeForce, setBreakSound, setBroken, setBurnt, setBurntString, setCanBandage, setCanBeActivated, setCanBeRemote, setCat, setChanceToSpawnDamaged, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setConsumeMenu, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDisappearOnUse, setDisplayCategory, setEngineLoudness, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setFishingLure, setHaveBeenRepaired, setID, setInfected, setIsCookable, setIsWaterSource, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMap, setMaxCapacity, setMechanicType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setPlaceDir, setPreviousOwner, setReduceInfectionPower, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnBreak, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setStashMap, setStressChange, setSuspensionCompression, setSuspensionDamping, setSwingAnim, setTaintedWater, setTaken, setTexture, setTextureBurnt, setTextureCooked, setTexturerotten, setTooltip, setTorchCone, setTrap, setTwoHandWeapon, setType, setUnCookedString, setUnhappyChange, setUses, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldTexture, shouldUpdateInWorld, storeInByteData, updateAge, updateSound, Use, Use, Use, UseItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bodyLocation
-
SpriteName
protected java.lang.String SpriteName -
palette
protected java.lang.String palette -
bloodLevel
public float bloodLevel
-
-
Constructor Details
-
Clothing
public Clothing(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4, java.lang.String string5, java.lang.String string6) -
Clothing
public Clothing(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item, java.lang.String string4, java.lang.String string5)
-
-
Method Details
-
getCategory
public java.lang.String getCategory()- Overrides:
getCategory
in classInventoryItem
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
Unwear
public void Unwear() -
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
isDirty
public boolean isDirty() -
isBloody
public boolean isBloody() -
getName
public java.lang.String getName()- Overrides:
getName
in classInventoryItem
-
update
public void update()- Overrides:
update
in classInventoryItem
-
finishupdate
public boolean finishupdate()- Overrides:
finishupdate
in classInventoryItem
-
Use
public void Use(boolean boolean1, boolean boolean2)- Overrides:
Use
in classInventoryItem
-
CanStack
- Overrides:
CanStack
in classInventoryItem
-
CreateFromSprite
-
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, boolean boolean1) throws java.io.IOException- Overrides:
load
in classInventoryItem
- Throws:
java.io.IOException
-
getBodyLocation
-
setBodyLocation
-
getSpriteName
public java.lang.String getSpriteName() -
setSpriteName
public void setSpriteName(java.lang.String string) -
getPalette
public java.lang.String getPalette() -
setPalette
public void setPalette(java.lang.String string) -
getTemperature
public float getTemperature() -
setTemperature
public void setTemperature(float float1) -
setDirtyness
public void setDirtyness(float float1) -
setBloodLevel
public void setBloodLevel(float float1) -
getDirtyness
public float getDirtyness() -
getBloodlevel
public float getBloodlevel() -
getConditionLowerChance
public int getConditionLowerChance() -
setConditionLowerChance
public void setConditionLowerChance(int int1) -
setCondition
public void setCondition(int int1)- Overrides:
setCondition
in classInventoryItem
-
getClothingDirtynessIncreaseLevel
public float getClothingDirtynessIncreaseLevel() -
getInsulation
public float getInsulation() -
setInsulation
public void setInsulation(float float1)
-