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