Package zombie.inventory.types
Class Moveable
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.Moveable
- Direct Known Subclasses:
Radio
public class Moveable extends InventoryItem
-
Field Summary
Fields Modifier and Type Field Description protected boolean
canBeDroppedOnFloor
protected java.lang.String
worldSprite
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
-
Method Summary
Modifier and Type Method Description boolean
CanBeDroppedOnFloor()
java.lang.String
getCustomNameFull()
float
getLightB()
java.lang.String
getLightBulbItem()
float
getLightDelta()
float
getLightG()
float
getLightPower()
float
getLightR()
java.lang.String
getMovableFullName()
java.lang.String
getName()
int
getSaveType()
IsoSpriteGrid
getSpriteGrid()
java.lang.String
getWorldSprite()
boolean
isLight()
boolean
isLightHasBattery()
boolean
isLightUseBattery()
boolean
isMultiGridAnchor()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
boolean
ReadFromWorldSprite(java.lang.String string)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
setLight(boolean boolean1)
void
setLightB(float float1)
void
setLightBulbItem(java.lang.String string)
void
setLightDelta(float float1)
void
setLightG(float float1)
void
setLightHasBattery(boolean boolean1)
void
setLightPower(float float1)
void
setLightR(float float1)
void
setLightUseBattery(boolean boolean1)
void
setWorldSprite(java.lang.String string)
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, canBeActivated, canBeRemote, CanStack, canStoreWater, copyConditionModData, CopyModData, doBuildingtStash, DoTooltip, DoTooltip, finishupdate, getA, getActualWeight, getAge, getAlcoholPower, getB, getBandagePower, getBoredomChange, getBrakeForce, getBreakSound, getBurntString, getByteData, getCat, getCategory, 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, 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, update, updateAge, updateSound, Use, Use, Use, Use, UseItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
worldSprite
protected java.lang.String worldSprite -
canBeDroppedOnFloor
protected boolean canBeDroppedOnFloor
-
-
Constructor Details
-
Moveable
public Moveable(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4) -
Moveable
public Moveable(java.lang.String string, java.lang.String string2, java.lang.String string3, Item item)
-
-
Method Details
-
getName
public java.lang.String getName()- Overrides:
getName
in classInventoryItem
-
CanBeDroppedOnFloor
public boolean CanBeDroppedOnFloor() -
getMovableFullName
public java.lang.String getMovableFullName() -
getCustomNameFull
public java.lang.String getCustomNameFull() -
isMultiGridAnchor
public boolean isMultiGridAnchor() -
getSpriteGrid
-
getWorldSprite
public java.lang.String getWorldSprite() -
ReadFromWorldSprite
public boolean ReadFromWorldSprite(java.lang.String string) -
isLight
public boolean isLight() -
setLight
public void setLight(boolean boolean1) -
isLightUseBattery
public boolean isLightUseBattery() -
setLightUseBattery
public void setLightUseBattery(boolean boolean1) -
isLightHasBattery
public boolean isLightHasBattery() -
setLightHasBattery
public void setLightHasBattery(boolean boolean1) -
getLightBulbItem
public java.lang.String getLightBulbItem() -
setLightBulbItem
public void setLightBulbItem(java.lang.String string) -
getLightPower
public float getLightPower() -
setLightPower
public void setLightPower(float float1) -
getLightDelta
public float getLightDelta() -
setLightDelta
public void setLightDelta(float float1) -
getLightR
public float getLightR() -
setLightR
public void setLightR(float float1) -
getLightG
public float getLightG() -
setLightG
public void setLightG(float float1) -
getLightB
public float getLightB() -
setLightB
public void setLightB(float float1) -
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
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
-
setWorldSprite
public void setWorldSprite(java.lang.String string)
-