Package zombie.inventory
Class InventoryItem
java.lang.Object
zombie.inventory.InventoryItem
- Direct Known Subclasses:
AlarmClock
,Clothing
,ComboItem
,DrainableComboItem
,Food
,HandWeapon
,InventoryContainer
,Key
,KeyRing
,Literature
,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 boolean
AlwaysWelcomeGift
protected float
boredomChange
protected boolean
Burnt
protected java.lang.String
BurntString
java.nio.ByteBuffer
byteData
protected boolean
CanBandage
boolean
CanStack
boolean
CanStoreWater
protected ItemType
cat
java.lang.String
CloseKillMove
Color
col
protected int
Condition
protected int
ConditionMax
protected java.lang.String
consumeMenu
protected ItemContainer
container
protected int
containerX
protected int
containerY
boolean
Cooked
protected java.lang.String
CookedString
protected float
CookingTime
protected java.lang.String
Description
protected boolean
DisappearOnUse
java.util.ArrayList
extraItems
float
fatigueChange
protected java.lang.String
FreshString
protected java.lang.String
FrozenString
long
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
java.lang.String
ReplaceOnUseOn
protected java.util.ArrayList
requireInHandOrInventory
boolean
RequiresEquippedBothHands
protected ItemContainer
rightClickContainer
protected Item
ScriptItem
protected float
stressChange
protected java.lang.String
swingAnim
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 float
Weight
IsoWorldInventoryObject
worldItem
protected java.lang.String
WorldTexture
-
Constructor Summary
Constructors Constructor Description InventoryItem(java.lang.String module, java.lang.String name, java.lang.String type, java.lang.String tex)
-
Method Summary
Modifier and Type Method Description void
addExtraItem(java.lang.String type)
boolean
canBeActivated()
boolean
canBeRemote()
boolean
CanStack(InventoryItem item)
boolean
canStoreWater()
void
copyConditionModData(InventoryItem other)
void
CopyModData(KahluaTable DefaultModData)
void
doBuildingtStash()
void
DoTooltip(ObjectTooltip tooltipUI)
void
DoTooltip(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout)
boolean
finishupdate()
float
getA()
float
getActualWeight()
float
getAge()
float
getAlcoholPower()
float
getB()
float
getBandagePower()
float
getBoredomChange()
java.lang.String
getBreakSound()
java.lang.String
getBurntString()
java.nio.ByteBuffer
getByteData()
ItemType
getCat()
java.lang.String
getCategory()
Color
getColor()
float
getColorBlue()
float
getColorGreen()
ColorInfo
getColorInfo()
float
getColorRed()
int
getCondition()
int
getConditionMax()
java.lang.String
getConsumeMenu()
ItemContainer
getContainer()
int
getContainerX()
int
getContainerY()
float
getContentsWeight()
java.lang.String
getCookedString()
float
getCookingTime()
int
getCount()
java.lang.String
getCountDownSound()
float
getCurrentCondition()
java.lang.String
getCustomMenuOption()
java.lang.String
getDescription()
java.lang.String
getDisplayCategory()
java.lang.String
getDisplayName()
IsoGameCharacter
getEquipParent()
float
getEquippedWeight()
java.lang.String
getEvolvedRecipeName()
java.lang.String
getExplosionSound()
java.util.ArrayList
getExtraItems()
float
getFatigueChange()
java.lang.String
getFullType()
float
getG()
int
getHaveBeenRepaired()
long
getID()
float
getInvHeat()
float
getItemHeat()
java.lang.String
getItemWhenDry()
float
getJobDelta()
java.lang.String
getJobType()
int
getKeyId()
float
getLastAged()
int
getLightDistance()
float
getLightStrength()
java.lang.String
getMap()
float
getMeltingTime()
float
getMetalValue()
float
getMinutesToBurn()
float
getMinutesToCook()
KahluaTable
getModData()
java.lang.String
getModule()
java.lang.String
getName()
IsoDirections
getNewPlaceDir()
int
getOffAge()
int
getOffAgeMax()
java.lang.String
getOffString()
IsoDirections
getPlaceDir()
IsoGameCharacter
getPreviousOwner()
float
getR()
float
getReduceInfectionPower()
int
getRemoteControlID()
int
getRemoteRange()
java.lang.String
getReplaceOnBreak()
java.lang.String
getReplaceOnUse()
java.lang.String
getReplaceOnUseOn()
java.lang.String
getReplaceOnUseOnString()
java.util.ArrayList
getRequireInHandOrInventory()
ItemContainer
getRightClickContainer()
int
getSaveType()
float
getScore(SurvivorDesc desc)
Item
getScriptItem()
float
getStressChange()
java.lang.String
getSwingAnim()
java.util.ArrayList
getTaken()
Texture
getTex()
Texture
getTexture()
Texture
getTextureBurnt()
Texture
getTextureCooked()
Texture
getTexturerotten()
java.lang.String
getTooltip()
java.lang.String
getType()
java.lang.String
getUnCookedString()
float
getUnequippedWeight()
float
getUnhappyChange()
int
getUses()
float
getWeight()
float
getWetCooldown()
java.lang.String
getWorker()
IsoWorldInventoryObject
getWorldItem()
java.lang.String
getWorldTexture()
boolean
hasModData()
boolean
haveExtraItems()
float
HowRotten()
boolean
isActivated()
boolean
isAlcoholic()
boolean
isAlwaysWelcomeGift()
boolean
isBeingFilled()
boolean
isBroken()
boolean
isBurnt()
boolean
isCanBandage()
boolean
IsClothing()
boolean
isCooked()
boolean
isCustomColor()
boolean
isCustomName()
boolean
isCustomWeight()
boolean
isDisappearOnUse()
boolean
IsDrainable()
boolean
isEquipped()
boolean
isFavorite()
boolean
isFishingLure()
boolean
IsFood()
boolean
isInfected()
boolean
isIsCookable()
boolean
IsLiterature()
boolean
isRemoteController()
boolean
isRequiresEquippedBothHands()
boolean
IsRotten()
boolean
isTaintedWater()
boolean
isTorchCone()
boolean
isTrap()
boolean
isTwoHandWeapon()
boolean
isWaterSource()
boolean
IsWeapon()
boolean
isWet()
void
load(java.nio.ByteBuffer input, int WorldVersion, boolean net)
boolean
ModDataMatches(InventoryItem item)
void
save(java.nio.ByteBuffer output, boolean net)
void
saveWithSize(java.nio.ByteBuffer output, boolean net)
void
setActivated(boolean activated)
void
setActualWeight(float ActualWeight)
void
setAge(float Age)
void
setAlcoholic(boolean alcoholic)
void
setAlcoholPower(float alcoholPower)
void
setAlwaysWelcomeGift(boolean AlwaysWelcomeGift)
void
setAutoAge()
void
setBandagePower(float bandagePower)
void
setBeingFilled(boolean v)
void
setBoredomChange(float boredomChange)
void
setBreakSound(java.lang.String breakSound)
void
setBroken(boolean broken)
void
setBurnt(boolean Burnt)
void
setBurntString(java.lang.String BurntString)
void
setCanBandage(boolean CanBandage)
void
setCanBeActivated(boolean activatedItem)
void
setCanBeRemote(boolean canBeRemote)
void
setCat(ItemType cat)
void
setColor(Color color)
void
setColorBlue(float colorBlue)
void
setColorGreen(float colorGreen)
void
setColorRed(float colorRed)
void
setCondition(int Condition)
void
setCondition(int Condition, boolean doSound)
void
setConditionFromModData(InventoryItem other)
void
setConditionMax(int ConditionMax)
void
setConsumeMenu(java.lang.String consumeMenu)
void
setContainer(ItemContainer container)
void
SetContainerPosition(int x, int y)
void
setContainerX(int containerX)
void
setContainerY(int containerY)
void
setCooked(boolean Cooked)
void
setCookedString(java.lang.String CookedString)
void
setCookingTime(float CookingTime)
void
setCount(int count)
void
setCountDownSound(java.lang.String sound)
void
setCustomColor(boolean customColor)
void
setCustomMenuOption(java.lang.String customMenuOption)
void
setCustomName(boolean customName)
void
setCustomWeight(boolean custom)
void
setDescription(java.lang.String Description)
void
setDisappearOnUse(boolean DisappearOnUse)
void
setDisplayCategory(java.lang.String displayCategory)
void
setEquipParent(IsoGameCharacter parent)
void
setEvolvedRecipeName(java.lang.String evolvedRecipeName)
void
setExplosionSound(java.lang.String explosionSound)
void
setFatigueChange(float fatigueChange)
void
setFavorite(boolean favorite)
void
setFishingLure(boolean fishingLure)
void
setHaveBeenRepaired(int haveBeenRepaired)
void
setInfected(boolean infected)
void
setIsCookable(boolean IsCookable)
void
setIsWaterSource(boolean IsWaterSource)
void
setItemHeat(float itemHeat)
void
setItemWhenDry(java.lang.String itemWhenDry)
void
setJobDelta(float delta)
void
setJobType(java.lang.String type)
void
setKeyId(int keyId)
void
setLastAged(float time)
void
setLightDistance(int lightDistance)
void
setLightStrength(float lightStrength)
void
setMap(java.lang.String map)
void
setMeltingTime(float meltingTime)
void
setMetalValue(float metalValue)
void
setMinutesToBurn(float MinutesToBurn)
void
setMinutesToCook(float MinutesToCook)
void
setModule(java.lang.String module)
void
setName(java.lang.String name)
void
setNewPlaceDir(IsoDirections newPlaceDir)
void
setOffAge(int OffAge)
void
setOffAgeMax(int OffAgeMax)
void
setOffString(java.lang.String OffString)
void
setPlaceDir(IsoDirections placeDir)
void
setPreviousOwner(IsoGameCharacter previousOwner)
void
setReduceInfectionPower(float reduceInfectionPower)
void
setRemoteControlID(int remoteControlID)
void
setRemoteController(boolean remoteController)
void
setRemoteRange(int remoteRange)
void
setReplaceOnBreak(java.lang.String replaceOnBreak)
void
setReplaceOnUse(java.lang.String replaceOnUse)
void
setReplaceOnUseOn(java.lang.String ReplaceOnUseOn)
void
setRequireInHandOrInventory(java.util.ArrayList requireInHandOrInventory)
void
setRightClickContainer(ItemContainer rightClickContainer)
void
setScriptItem(Item ScriptItem)
void
setStashMap(java.lang.String stashMap)
void
setStressChange(float stressChange)
void
setSwingAnim(java.lang.String swingAnim)
void
setTaintedWater(boolean taintedWater)
void
setTaken(java.util.ArrayList Taken)
void
setTexture(Texture texture)
void
setTextureBurnt(Texture textureBurnt)
void
setTextureCooked(Texture textureCooked)
void
setTexturerotten(Texture texturerotten)
void
setTooltip(java.lang.String tooltip)
void
setTorchCone(boolean isTorchCone)
void
setTrap(java.lang.Boolean trap)
void
setTwoHandWeapon(boolean isTwoHandWeapon)
void
setType(java.lang.String type)
void
setUnCookedString(java.lang.String UnCookedString)
void
setUnhappyChange(float unhappyChange)
void
setUses(int uses)
void
setWeight(float Weight)
void
setWet(boolean isWet)
void
setWetCooldown(float wetCooldown)
void
setWorker(java.lang.String worker)
void
setWorldItem(IsoWorldInventoryObject w)
void
setWorldTexture(java.lang.String WorldTexture)
boolean
shouldUpdateInWorld()
void
storeInByteData(IsoObject o)
void
update()
void
updateAge()
void
Use()
void
Use(boolean bCrafting)
void
Use(boolean bCrafting, boolean bInContainer)
void
Use(IsoGameCharacter useOn)
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
-
consumeMenu
protected java.lang.String consumeMenu -
container
-
containerX
protected int containerX -
containerY
protected int containerY -
DisappearOnUse
protected boolean DisappearOnUse -
name
protected java.lang.String name -
replaceOnUse
protected java.lang.String replaceOnUse -
ConditionMax
protected int ConditionMax -
rightClickContainer
-
swingAnim
protected java.lang.String swingAnim -
texture
-
texturerotten
-
textureCooked
-
textureBurnt
-
type
protected java.lang.String type -
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 -
AlwaysWelcomeGift
protected boolean AlwaysWelcomeGift -
CanBandage
protected boolean CanBandage -
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 long 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 -
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 module, java.lang.String name, java.lang.String type, java.lang.String tex)
-
-
Method Details
-
getSaveType
public int getSaveType() -
getWorldItem
-
setEquipParent
-
getEquipParent
-
setWorldItem
-
setJobDelta
public void setJobDelta(float delta) -
getJobDelta
public float getJobDelta() -
setJobType
public void setJobType(java.lang.String type) -
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
-
DoTooltip
-
SetContainerPosition
public void SetContainerPosition(int x, int y) -
Use
public void Use() -
UseItem
public void UseItem() -
Use
public void Use(boolean bCrafting) -
Use
public void Use(boolean bCrafting, boolean bInContainer) -
Use
-
shouldUpdateInWorld
public boolean shouldUpdateInWorld() -
update
public void update() -
finishupdate
public boolean finishupdate() -
getFullType
public java.lang.String getFullType() -
save
public void save(java.nio.ByteBuffer output, boolean net) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion, boolean net) 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() -
getScore
-
getPreviousOwner
-
setPreviousOwner
-
getScriptItem
-
setScriptItem
-
getCat
-
setCat
-
getConsumeMenu
public java.lang.String getConsumeMenu() -
setConsumeMenu
public void setConsumeMenu(java.lang.String consumeMenu) -
getContainer
-
setContainer
-
getContainerX
public int getContainerX() -
setContainerX
public void setContainerX(int containerX) -
getContainerY
public int getContainerY() -
setContainerY
public void setContainerY(int containerY) -
isDisappearOnUse
public boolean isDisappearOnUse() -
setDisappearOnUse
public void setDisappearOnUse(boolean DisappearOnUse) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getReplaceOnUse
public java.lang.String getReplaceOnUse() -
setReplaceOnUse
public void setReplaceOnUse(java.lang.String replaceOnUse) -
getConditionMax
public int getConditionMax() -
setConditionMax
public void setConditionMax(int ConditionMax) -
getRightClickContainer
-
setRightClickContainer
-
getSwingAnim
public java.lang.String getSwingAnim() -
setSwingAnim
public void setSwingAnim(java.lang.String swingAnim) -
getTexture
-
setTexture
-
getTexturerotten
-
setTexturerotten
-
getTextureCooked
-
setTextureCooked
-
getTextureBurnt
-
setTextureBurnt
-
setType
public void setType(java.lang.String type) -
getUses
public int getUses() -
setUses
public void setUses(int uses) -
getAge
public float getAge() -
setAge
public void setAge(float Age) -
getLastAged
public float getLastAged() -
setLastAged
public void setLastAged(float time) -
updateAge
public void updateAge() -
setAutoAge
public void setAutoAge() -
isIsCookable
public boolean isIsCookable() -
setIsCookable
public void setIsCookable(boolean IsCookable) -
getCookingTime
public float getCookingTime() -
setCookingTime
public void setCookingTime(float CookingTime) -
getMinutesToCook
public float getMinutesToCook() -
setMinutesToCook
public void setMinutesToCook(float MinutesToCook) -
getMinutesToBurn
public float getMinutesToBurn() -
setMinutesToBurn
public void setMinutesToBurn(float MinutesToBurn) -
isCooked
public boolean isCooked() -
setCooked
public void setCooked(boolean Cooked) -
isBurnt
public boolean isBurnt() -
setBurnt
public void setBurnt(boolean Burnt) -
getOffAge
public int getOffAge() -
setOffAge
public void setOffAge(int OffAge) -
getOffAgeMax
public int getOffAgeMax() -
setOffAgeMax
public void setOffAgeMax(int OffAgeMax) -
getWeight
public float getWeight() -
setWeight
public void setWeight(float Weight) -
getActualWeight
public float getActualWeight() -
setActualWeight
public void setActualWeight(float ActualWeight) -
getWorldTexture
public java.lang.String getWorldTexture() -
setWorldTexture
public void setWorldTexture(java.lang.String WorldTexture) -
getDescription
public java.lang.String getDescription() -
setDescription
public void setDescription(java.lang.String Description) -
getCondition
public int getCondition() -
setCondition
public void setCondition(int Condition, boolean doSound) -
setCondition
public void setCondition(int Condition) -
getOffString
public java.lang.String getOffString() -
setOffString
public void setOffString(java.lang.String OffString) -
getCookedString
public java.lang.String getCookedString() -
setCookedString
public void setCookedString(java.lang.String CookedString) -
getUnCookedString
public java.lang.String getUnCookedString() -
setUnCookedString
public void setUnCookedString(java.lang.String UnCookedString) -
getBurntString
public java.lang.String getBurntString() -
setBurntString
public void setBurntString(java.lang.String BurntString) -
getModule
public java.lang.String getModule() -
setModule
public void setModule(java.lang.String module) -
isAlwaysWelcomeGift
public boolean isAlwaysWelcomeGift() -
setAlwaysWelcomeGift
public void setAlwaysWelcomeGift(boolean AlwaysWelcomeGift) -
isCanBandage
public boolean isCanBandage() -
setCanBandage
public void setCanBandage(boolean CanBandage) -
getBoredomChange
public float getBoredomChange() -
setBoredomChange
public void setBoredomChange(float boredomChange) -
getUnhappyChange
public float getUnhappyChange() -
setUnhappyChange
public void setUnhappyChange(float unhappyChange) -
getStressChange
public float getStressChange() -
setStressChange
public void setStressChange(float stressChange) -
getTaken
public java.util.ArrayList getTaken() -
setTaken
public void setTaken(java.util.ArrayList Taken) -
getPlaceDir
-
setPlaceDir
-
getNewPlaceDir
-
setNewPlaceDir
-
setReplaceOnUseOn
public void setReplaceOnUseOn(java.lang.String ReplaceOnUseOn) -
getReplaceOnUseOn
public java.lang.String getReplaceOnUseOn() -
getReplaceOnUseOnString
public java.lang.String getReplaceOnUseOnString() -
setIsWaterSource
public void setIsWaterSource(boolean IsWaterSource) -
isWaterSource
public boolean isWaterSource() -
CopyModData
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
isActivated
public boolean isActivated() -
setActivated
public void setActivated(boolean activated) -
setCanBeActivated
public void setCanBeActivated(boolean activatedItem) -
canBeActivated
public boolean canBeActivated() -
setLightStrength
public void setLightStrength(float lightStrength) -
getLightStrength
public float getLightStrength() -
isTorchCone
public boolean isTorchCone() -
setTorchCone
public void setTorchCone(boolean isTorchCone) -
getLightDistance
public int getLightDistance() -
setLightDistance
public void setLightDistance(int lightDistance) -
canStoreWater
public boolean canStoreWater() -
getFatigueChange
public float getFatigueChange() -
setFatigueChange
public void setFatigueChange(float fatigueChange) -
getCurrentCondition
public float getCurrentCondition() -
setColor
-
getColor
-
getColorInfo
-
isTwoHandWeapon
public boolean isTwoHandWeapon() -
setTwoHandWeapon
public void setTwoHandWeapon(boolean isTwoHandWeapon) -
getCustomMenuOption
public java.lang.String getCustomMenuOption() -
setCustomMenuOption
public void setCustomMenuOption(java.lang.String customMenuOption) -
setTooltip
public void setTooltip(java.lang.String tooltip) -
getTooltip
public java.lang.String getTooltip() -
getDisplayCategory
public java.lang.String getDisplayCategory() -
setDisplayCategory
public void setDisplayCategory(java.lang.String displayCategory) -
getHaveBeenRepaired
public int getHaveBeenRepaired() -
setHaveBeenRepaired
public void setHaveBeenRepaired(int haveBeenRepaired) -
isBroken
public boolean isBroken() -
setBroken
public void setBroken(boolean broken) -
getReplaceOnBreak
public java.lang.String getReplaceOnBreak() -
setReplaceOnBreak
public void setReplaceOnBreak(java.lang.String replaceOnBreak) -
getDisplayName
public java.lang.String getDisplayName() -
setTrap
public void setTrap(java.lang.Boolean trap) -
isTrap
public boolean isTrap() -
addExtraItem
public void addExtraItem(java.lang.String type) -
haveExtraItems
public boolean haveExtraItems() -
getExtraItems
public java.util.ArrayList getExtraItems() -
isCustomName
public boolean isCustomName() -
setCustomName
public void setCustomName(boolean customName) -
isFishingLure
public boolean isFishingLure() -
setFishingLure
public void setFishingLure(boolean fishingLure) -
copyConditionModData
-
setConditionFromModData
-
getBreakSound
public java.lang.String getBreakSound() -
setBreakSound
public void setBreakSound(java.lang.String breakSound) -
setBeingFilled
public void setBeingFilled(boolean v) -
isBeingFilled
public boolean isBeingFilled() -
isAlcoholic
public boolean isAlcoholic() -
setAlcoholic
public void setAlcoholic(boolean alcoholic) -
getAlcoholPower
public float getAlcoholPower() -
setAlcoholPower
public void setAlcoholPower(float alcoholPower) -
getBandagePower
public float getBandagePower() -
setBandagePower
public void setBandagePower(float bandagePower) -
getReduceInfectionPower
public float getReduceInfectionPower() -
setReduceInfectionPower
public void setReduceInfectionPower(float reduceInfectionPower) -
saveWithSize
public final void saveWithSize(java.nio.ByteBuffer output, boolean net) throws java.io.IOException- Throws:
java.io.IOException
-
isCustomWeight
public boolean isCustomWeight() -
setCustomWeight
public void setCustomWeight(boolean custom) -
getContentsWeight
public float getContentsWeight() -
getEquippedWeight
public float getEquippedWeight() -
getUnequippedWeight
public float getUnequippedWeight() -
isEquipped
public boolean isEquipped() -
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int keyId) -
isTaintedWater
public boolean isTaintedWater() -
setTaintedWater
public void setTaintedWater(boolean taintedWater) -
isRemoteController
public boolean isRemoteController() -
setRemoteController
public void setRemoteController(boolean remoteController) -
canBeRemote
public boolean canBeRemote() -
setCanBeRemote
public void setCanBeRemote(boolean canBeRemote) -
getRemoteControlID
public int getRemoteControlID() -
setRemoteControlID
public void setRemoteControlID(int remoteControlID) -
getRemoteRange
public int getRemoteRange() -
setRemoteRange
public void setRemoteRange(int remoteRange) -
getExplosionSound
public java.lang.String getExplosionSound() -
setExplosionSound
public void setExplosionSound(java.lang.String explosionSound) -
getCountDownSound
public java.lang.String getCountDownSound() -
setCountDownSound
public void setCountDownSound(java.lang.String sound) -
getColorRed
public float getColorRed() -
setColorRed
public void setColorRed(float colorRed) -
getColorGreen
public float getColorGreen() -
setColorGreen
public void setColorGreen(float colorGreen) -
getColorBlue
public float getColorBlue() -
setColorBlue
public void setColorBlue(float colorBlue) -
getEvolvedRecipeName
public java.lang.String getEvolvedRecipeName() -
setEvolvedRecipeName
public void setEvolvedRecipeName(java.lang.String evolvedRecipeName) -
getMetalValue
public float getMetalValue() -
setMetalValue
public void setMetalValue(float metalValue) -
getItemHeat
public float getItemHeat() -
setItemHeat
public void setItemHeat(float itemHeat) -
getInvHeat
public float getInvHeat() -
getMeltingTime
public float getMeltingTime() -
setMeltingTime
public void setMeltingTime(float meltingTime) -
getWorker
public java.lang.String getWorker() -
setWorker
public void setWorker(java.lang.String worker) -
getID
public long getID() -
isWet
public boolean isWet() -
setWet
public void setWet(boolean isWet) -
getWetCooldown
public float getWetCooldown() -
setWetCooldown
public void setWetCooldown(float wetCooldown) -
getItemWhenDry
public java.lang.String getItemWhenDry() -
setItemWhenDry
public void setItemWhenDry(java.lang.String itemWhenDry) -
isFavorite
public boolean isFavorite() -
setFavorite
public void setFavorite(boolean favorite) -
getRequireInHandOrInventory
public java.util.ArrayList getRequireInHandOrInventory() -
setRequireInHandOrInventory
public void setRequireInHandOrInventory(java.util.ArrayList requireInHandOrInventory) -
isCustomColor
public boolean isCustomColor() -
setCustomColor
public void setCustomColor(boolean customColor) -
getMap
public java.lang.String getMap() -
setMap
public void setMap(java.lang.String map) -
doBuildingtStash
public void doBuildingtStash() -
setStashMap
public void setStashMap(java.lang.String stashMap) -
setInfected
public void setInfected(boolean infected) -
isInfected
public boolean isInfected()
-