Package zombie.inventory.types
Class DrainableComboItem
java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.DrainableComboItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected floatprotected floatprotected intprotected Stringprotected Stringprotected floatprotected intprotected floatFields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, atlasTexture, boredomChange, Burnt, BurntString, byteData, CanStack, CanStoreWater, cat, CloseKillMove, col, Condition, ConditionMax, container, containerX, containerY, Cooked, CookedString, CookingTime, Description, extraItems, fatigueChange, FreshString, FrozenString, fullType, id, IsCookable, IsWaterSource, jobDelta, jobType, keepOnDeplete, LastAged, mainCategory, MinutesToBurn, MinutesToCook, module, name, newPlaceDir, OffAge, OffAgeMax, OffString, placeDir, previousOwner, replaceOnUse, replaceOnUseFullType, ReplaceOnUseOn, requireInHandOrInventory, RequiresEquippedBothHands, rightClickContainer, ScriptItem, StaleString, staticModel, stressChange, Taken, texture, textureBurnt, textureCooked, texturerotten, type, UnCookedString, unhappyChange, uses, visual, Weight, worldItem, worldScale, WorldTexture, worldZRotation -
Constructor Summary
ConstructorsConstructorDescriptionDrainableComboItem(String string, String string2, String string3, String string4) DrainableComboItem(String string, String string2, String string3, Item item) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanCanStack(InventoryItem inventoryItem) booleanfloatgetDelta()floatintfloatgetHeat()floatfloatintintfloatgetTicks()intfloatfloatfloatbooleanbooleanbooleanvoidrender()voidvoidsetCanConsolidate(boolean boolean1) voidsetDelta(float float1) voidsetHeat(float float1) voidsetOnCooked(String string) voidsetRainFactor(float float1) voidsetReplaceOnCooked(List list) voidsetReplaceOnDeplete(String string) voidsetTicks(float float1) voidsetTicksPerEquipUse(int int1) voidsetUsedDelta(float float1) voidsetUseDelta(float float1) voidsetUseWhileEquiped(boolean boolean1) voidsetUseWhileUnequiped(boolean boolean1) voidsetWeightEmpty(float float1) booleanvoidupdate()voidvoidUse()Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, allowRandomTint, canBeActivated, canBeRemote, canEmitLight, canStoreWater, copyConditionModData, copyModData, CopyModData, doBuildingStash, DoTooltip, DoTooltip, getA, getActualWeight, getAge, getAlcoholPower, getAlternateModelName, getAmmoType, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBodyLocation, getBoredomChange, getBrakeForce, getBreakSound, getBringToBearSound, getBurntString, getByteData, getCat, getCategory, getChanceToSpawnDamaged, getCleanString, getClothingItem, getClothingItemExtra, getClothingItemExtraOption, getClothingItemName, getColor, getColorBlue, getColorGreen, getColorInfo, getColorRed, getCondition, getConditionLowerNormal, getConditionLowerOffroad, getConditionMax, getConsolidateOption, getContainer, getContainerX, getContainerY, getContentsWeight, getCookedString, getCookingTime, getCount, getCountDownSound, getCurrentAmmoCount, getCurrentCondition, getCurrentUses, getCustomMenuOption, getDescription, getDirt, getDisplayCategory, getDisplayName, getEatType, getEngineLoudness, getEquipParent, getEquippedWeight, getEquipSound, getEvolvedRecipeName, getExplosionSound, getExtraItems, getExtraItemsWeight, getFabricType, getFatigueChange, getFillFromDispenserSound, getFillFromTapSound, getFullType, getG, getGunType, getHaveBeenRepaired, getHotbarEquippedWeight, getIconsForTexture, getID, getItemCapacity, getItemHeat, getItemReplacementPrimaryHand, getItemReplacementSecondHand, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getLuaCreate, getMakeUpType, getMaxAmmo, getMaxCapacity, getMechanicType, getMediaData, getMediaType, getMeltingTime, getMetalValue, getMinutesToBurn, getMinutesToCook, getModData, getModID, getModName, getModule, getName, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOutermostContainer, getPlaceDir, getPlaceMultipleSound, getPlaceOneSound, getPreviousOwner, getR, getRecordedMediaIndex, getReduceInfectionPower, getRegistry_id, getRemoteControlID, getRemoteRange, getReplaceOnUse, getReplaceOnUseFullType, getReplaceOnUseOn, getReplaceOnUseOnString, getReplaceType, getReplaceTypes, getReplaceTypesMap, getRequireInHandOrInventory, getRightClickContainer, getScore, getScriptItem, getSoundByID, getSoundParameter, getStashChance, getStaticModel, getStressChange, getStringItemType, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTags, getTaken, getTex, getTexture, getTextureBurnt, getTextureCooked, getTexturerotten, getTooltip, getTorchDot, getType, getUnCookedString, getUnequippedWeight, getUnequipSound, getUnhappyChange, getUses, getVisual, getWeight, getWetCooldown, getWheelFriction, getWorker, getWorldItem, getWorldStaticItem, getWorldTexture, hasBlood, hasDirt, hasModData, hasReplaceType, hasTag, haveExtraItems, HowRotten, initialiseItem, isActivated, isAlcoholic, isAlwaysWelcomeGift, isBeingFilled, isBroken, isBurnt, isCanBandage, IsClothing, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDisappearOnUse, isEmittingLight, isEquipped, isEquippedNoSprint, isFavorite, isFishingLure, IsFood, isHairDye, isHidden, isInfected, isInitialised, isInLocalPlayerInventory, isInPlayerInventory, IsInventoryContainer, isIsCookable, IsLiterature, IsMap, isProtectFromRainWhileEquipped, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isTaintedWater, isTorchCone, isTrap, isTwoHandWeapon, isUseWorldItem, isVanilla, isWaterSource, IsWeapon, isWet, load, loadItem, loadItem, ModDataMatches, save, saveWithSize, setActivated, setActivatedRemote, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAmmoType, setAttachedSlot, setAttachedSlotType, setAttachedToModel, setAttachmentReplacement, setAttachmentsProvided, setAttachmentType, setAutoAge, setBandagePower, setBeingFilled, setBlood, setBloodClothingType, setBoredomChange, setBrakeForce, setBreakSound, setBroken, setBurnt, setBurntString, setCanBeActivated, setCanBeRemote, setCat, setChanceToSpawnDamaged, setColor, setColorBlue, setColorGreen, setColorRed, setCondition, setCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCurrentAmmoCount, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDirt, setDisplayCategory, setEngineLoudness, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setGunType, setHaveBeenRepaired, setIconsForTexture, setID, setInfected, setInitialised, setIsCookable, setIsWaterSource, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMaxAmmo, setMaxCapacity, setMediaType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setPlaceDir, setPreviousOwner, setRecordedMediaData, setRecordedMediaIndex, setRecordedMediaIndexInteger, setReduceInfectionPower, setRegistry_id, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setStashChance, setStashMap, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaintedWater, setTaken, setTexture, setTextureBurnt, setTextureCooked, setTexturerotten, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUses, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldScale, setWorldTexture, setWorldZRotation, storeInByteData, synchWithVisual, updateAge, updateSound, Use, Use, UseItem
-
Field Details
-
bUseWhileEquiped
protected boolean bUseWhileEquiped -
bUseWhileUnequiped
protected boolean bUseWhileUnequiped -
ticksPerEquipUse
protected int ticksPerEquipUse -
useDelta
protected float useDelta -
delta
protected float delta -
ticks
protected float ticks -
ReplaceOnDeplete
-
ReplaceOnDepleteFullType
-
ReplaceOnCooked
-
Heat
protected float Heat -
LastCookMinute
protected int LastCookMinute
-
-
Constructor Details
-
DrainableComboItem
-
DrainableComboItem
-
-
Method Details
-
IsDrainable
public boolean IsDrainable()- Overrides:
IsDrainablein classInventoryItem
-
getSaveType
public int getSaveType()- Overrides:
getSaveTypein classInventoryItem
-
CanStack
- Overrides:
CanStackin classInventoryItem
-
getUsedDelta
public float getUsedDelta()- Specified by:
getUsedDeltain interfaceDrainable
-
getDrainableUsesInt
public int getDrainableUsesInt() -
getDrainableUsesFloat
public float getDrainableUsesFloat() -
render
public void render() -
renderlast
public void renderlast()- Specified by:
renderlastin interfaceIUpdater
-
setUsedDelta
public void setUsedDelta(float float1) - Specified by:
setUsedDeltain interfaceDrainable
-
shouldUpdateInWorld
public boolean shouldUpdateInWorld()- Overrides:
shouldUpdateInWorldin classInventoryItem
-
update
public void update()- Specified by:
updatein interfaceIUpdater- Overrides:
updatein classInventoryItem
-
Use
public void Use()- Overrides:
Usein classInventoryItem
-
updateWeight
public void updateWeight() -
getWeightEmpty
public float getWeightEmpty() -
setWeightEmpty
public void setWeightEmpty(float float1) -
isUseWhileEquiped
public boolean isUseWhileEquiped() -
setUseWhileEquiped
public void setUseWhileEquiped(boolean boolean1) -
isUseWhileUnequiped
public boolean isUseWhileUnequiped() -
setUseWhileUnequiped
public void setUseWhileUnequiped(boolean boolean1) -
getTicksPerEquipUse
public int getTicksPerEquipUse() -
setTicksPerEquipUse
public void setTicksPerEquipUse(int int1) -
getUseDelta
public float getUseDelta() -
setUseDelta
public void setUseDelta(float float1) -
getDelta
public float getDelta() -
setDelta
public void setDelta(float float1) -
getTicks
public float getTicks() -
setTicks
public void setTicks(float float1) -
setReplaceOnDeplete
-
getReplaceOnDeplete
-
getReplaceOnDepleteFullType
-
setHeat
public void setHeat(float float1) -
getHeat
public float getHeat() -
getInvHeat
public float getInvHeat()- Overrides:
getInvHeatin classInventoryItem
-
finishupdate
public boolean finishupdate()- Overrides:
finishupdatein classInventoryItem
-
getRemainingUses
public int getRemainingUses() -
getRainFactor
public float getRainFactor() -
setRainFactor
public void setRainFactor(float float1) -
canConsolidate
public boolean canConsolidate() -
setCanConsolidate
public void setCanConsolidate(boolean boolean1) -
getReplaceOnCooked
-
setReplaceOnCooked
-
getOnCooked
-
setOnCooked
-