Package zombie.inventory.types
Class WeaponPart
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.WeaponPart
public class WeaponPart extends InventoryItem
-
Field Summary
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 WeaponPart(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
-
Method Summary
Modifier and Type Method Description void
DoTooltip(ObjectTooltip objectTooltip, ObjectTooltip.Layout layout)
int
getAimingTime()
float
getAngle()
java.lang.String
getCategory()
int
getClipSize()
float
getDamage()
int
getHitChance()
float
getMaxRange()
float
getMinRangeRanged()
java.util.ArrayList
getMountOn()
java.lang.String
getPartType()
float
getRecoilDelay()
int
getReloadTime()
int
getSaveType()
float
getWeightModifier()
void
setAimingTime(int int1)
void
setAngle(float float1)
void
setClipSize(int int1)
void
setDamage(float float1)
void
setHitChance(int int1)
void
setMaxRange(float float1)
void
setMinRangeRanged(float float1)
void
setMountOn(java.util.ArrayList arrayList)
void
setPartType(java.lang.String string)
void
setRecoilDelay(float float1)
void
setReloadTime(int int1)
void
setWeightModifier(float float1)
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, canBeActivated, canBeRemote, CanStack, canStoreWater, copyConditionModData, CopyModData, doBuildingtStash, DoTooltip, finishupdate, 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, getName, 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, load, ModDataMatches, save, 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
-
Constructor Details
-
WeaponPart
public WeaponPart(java.lang.String string, java.lang.String string2, java.lang.String string3, java.lang.String string4)
-
-
Method Details
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classInventoryItem
-
getCategory
public java.lang.String getCategory()- Overrides:
getCategory
in classInventoryItem
-
DoTooltip
- Overrides:
DoTooltip
in classInventoryItem
-
getMinRangeRanged
public float getMinRangeRanged() -
setMinRangeRanged
public void setMinRangeRanged(float float1) -
getMaxRange
public float getMaxRange() -
setMaxRange
public void setMaxRange(float float1) -
getRecoilDelay
public float getRecoilDelay() -
setRecoilDelay
public void setRecoilDelay(float float1) -
getClipSize
public int getClipSize() -
setClipSize
public void setClipSize(int int1) -
getDamage
public float getDamage() -
setDamage
public void setDamage(float float1) -
getMountOn
public java.util.ArrayList getMountOn() -
setMountOn
public void setMountOn(java.util.ArrayList arrayList) -
getPartType
public java.lang.String getPartType() -
setPartType
public void setPartType(java.lang.String string) -
getReloadTime
public int getReloadTime() -
setReloadTime
public void setReloadTime(int int1) -
getAimingTime
public int getAimingTime() -
setAimingTime
public void setAimingTime(int int1) -
getHitChance
public int getHitChance() -
setHitChance
public void setHitChance(int int1) -
getAngle
public float getAngle() -
setAngle
public void setAngle(float float1) -
getWeightModifier
public float getWeightModifier() -
setWeightModifier
public void setWeightModifier(float float1)
-