Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getAlarmSquare()
- shouldUpdateInWorld()
- update()
- updateSound(BaseSoundEmitter)
- isRinging()
- finishupdate()
- DoTooltip(ObjectTooltip, ObjectTooltip.Layout)
- save(ByteBuffer, boolean)
- load(ByteBuffer, int)
- getSaveType()
- getCategory()
- setAlarmSet(boolean)
- isAlarmSet()
- setHour(int)
- setMinute(int)
- setForceDontRing(int)
- getHour()
- getMinute()
- syncAlarmClock()
- syncAlarmClock_Player(IsoPlayer)
- syncAlarmClock_World()
- syncStopRinging()
- stopRinging()
- getAlarmSound()
- setAlarmSound(String)
- getSoundRadius()
- setSoundRadius(int)
- isDigital()
Class AlarmClockClothing
java.lang.Object
zombie.entity.GameEntity
zombie.inventory.InventoryItem
zombie.inventory.types.Clothing
zombie.inventory.types.AlarmClockClothing
- All Implemented Interfaces:
IAlarmClock
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.inventory.types.Clothing
Clothing.ClothingPatch, Clothing.ClothingPatchFabricType
-
Field Summary
FieldsFields inherited from class zombie.inventory.types.Clothing
bloodLevel, CONDITION_PER_HOLES, palette, SpriteName
Fields inherited from class zombie.inventory.InventoryItem
ActualWeight, Age, alcoholic, atlasTexture, boredomChange, Burnt, BurntString, byteData, CanStack, cat, CloseKillMove, col, Condition, ConditionMax, container, containerX, containerY, Cooked, CookedString, CookingTime, deadBodyObject, Description, EmptyString, extraItems, fatigueChange, FreshString, FrozenString, fullType, GrilledString, id, IsCookable, jobDelta, jobType, 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, textureColorMask, textureCooked, textureFluidMask, texturerotten, ToastedString, type, UnCookedString, unhappyChange, uses, visual, Weight, worldItem, worldScale, WorldTexture, worldXRotation, worldYRotation, worldZRotation
Fields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
DoTooltip
(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout) boolean
int
getHour()
int
int
int
boolean
boolean
boolean
void
load
(ByteBuffer input, int WorldVersion) void
save
(ByteBuffer output, boolean net) void
setAlarmSet
(boolean _alarmSet) void
setAlarmSound
(String _alarmSound) void
setForceDontRing
(int int0) void
setHour
(int hour) void
setMinute
(int min) void
setSoundRadius
(int _soundRadius) boolean
void
void
void
syncAlarmClock_Player
(IsoPlayer player) void
void
void
update()
void
updateSound
(BaseSoundEmitter emitter) Methods inherited from class zombie.inventory.types.Clothing
addPatch, addPatchForClient, addRandomBlood, addRandomDirt, addRandomHole, canBe3DRender, canFullyRestore, CanStack, copyPatchesTo, CreateFromSprite, drainGasMask, drainGasMask, drainSCBA, flushWetness, fullyRestore, getBiteDefense, getBiteDefenseFromItem, getBloodlevel, getBloodLevel, getBloodlevelForPart, getBloodLevelForPart, getBulletDefense, getCanHaveHoles, getChanceToFall, getClothingDirtynessIncreaseLevel, getClothingExtraSubmenu, getCombatSpeedModifier, getConditionLowerChance, getCondLossPerHole, getCorpseSicknessDefense, getCoveredParts, getDefForPart, getDirtyness, getFilterType, getHolesNumber, getInsulation, getName, getNbrOfCoveredParts, getNeckProtectionModifier, getPalette, getPatchesNumber, getPatchType, getRunSpeedModifier, getScratchDefense, getScratchDefenseFromItem, getSpriteName, getStompPower, getTankType, getTemperature, getUsedDelta, getUseDelta, getWaterResistance, getWeight, getWeightWet, getWetness, getWindresistance, hasFilter, hasTank, isBloody, IsClothing, isCosmetic, isDirty, isRemoveOnBroken, isWorn, randomizeCondition, removePatch, setBiteDefense, setBloodLevel, setBulletDefense, setCanHaveHoles, setChanceToFall, setCombatSpeedModifier, setCondition, setConditionLowerChance, setDirtyness, setFilterType, setInsulation, setNeckProtectionModifier, setNoFilter, setNoTank, setPalette, setRemoveOnBroken, setRunSpeedModifier, setScratchDefense, setSpriteName, setStompPower, setTankType, setTemperature, setUsedDelta, setWaterResistance, setWeightWet, setWetness, setWindresistance, toString, Unwear, Unwear, updateWetness, updateWetness, Use
Methods inherited from class zombie.inventory.InventoryItem
addExtraItem, allowRandomTint, applyMaxSharpness, canBeActivated, canBeEquipped, canBeRemote, canEmitLight, canHaveOrigin, canStoreWater, copyBloodLevelFrom, copyClothing, copyConditionModData, copyModData, CopyModData, copyTimesHeadRepairedFrom, copyTimesHeadRepairedTo, copyTimesRepairedFrom, copyTimesRepairedTo, createAndStoreDefaultDeadBody, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, doBreakSound, doBuildingStash, doDamagedSound, DoTooltip, DoTooltipEmbedded, getA, getActualWeight, getAge, getAlcoholPower, getAlternateModelName, getAmmoType, getAnimalFeedType, getAnimalTracks, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBloodLevelAdjustedHigh, getBloodLevelAdjustedLow, getBodyLocation, getBoredomChange, getBrakeForce, getBreakSound, getBringToBearSound, getBurntString, getByteData, getCat, 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, getCurrentUsesFloat, getCustomMenuOption, getDamagedSound, getDeadBodyObject, getDescription, getDigType, getDirt, getDiscomfortModifier, getDisplayCategory, getDisplayName, getDropSound, getDurability, getEatTime, getEatType, getEngineLoudness, getEntityNetID, getEquipParent, getEquippedWeight, getEquipSound, getEvolvedRecipeName, getExplosionSound, getExtraItems, getExtraItemsWeight, getFabricType, getFatigueChange, getFillFromDispenserSound, getFillFromLakeSound, getFillFromTapSound, getFillFromToiletSound, getFireFuelRatio, getFullType, getG, getGameEntityType, getGunType, getHaveBeenRepaired, getHeadCondition, getHeadConditionLowerChance, getHeadConditionLowerChanceMultiplier, getHeadConditionMax, getHearingModifier, getHotbarEquippedWeight, getIcon, getIconsForTexture, getID, getInvHeat, getIsCraftingConsumed, getItemAfterCleaning, getItemCapacity, getItemHeat, getItemReplacementPrimaryHand, getItemReplacementSecondHand, getItemWhenDry, getJobDelta, getJobType, getKeyId, getLastAged, getLightDistance, getLightStrength, getLootType, getLuaCreate, getMaintenanceMod, getMaintenanceMod, getMaintenanceMod, getMaintenanceMod, getMakeUpType, getMaxAmmo, getMaxCapacity, getMaxMilk, getMaxSharpness, getMaxUses, getMechanicType, getMediaData, getMediaType, getMeltingTime, getMetalValue, getMilkReplaceItem, getMinutesToBurn, getMinutesToCook, getModData, getModelIndex, getModID, getModName, getModule, getNewPlaceDir, getOffAge, getOffAgeMax, getOffString, getOnBreak, getOriginX, getOriginY, getOriginZ, getOutermostContainer, getOwner, getOwnerPlayer, getPlaceDir, getPlaceMultipleSound, getPlaceOneSound, getPlayer, getPourLiquidOnGroundSound, getPourType, getPreviousOwner, getQuality, getR, getRecordedMediaIndex, getReduceInfectionPower, getRegistry_id, getRemoteControlID, getRemoteRange, getReplaceOnUse, getReplaceOnUseFullType, getReplaceOnUseOn, getReplaceOnUseOnString, getReplaceType, getReplaceTypes, getReplaceTypesMap, getRequireInHandOrInventory, getResearchableRecipes, getResearchableRecipes, getRightClickContainer, getScore, getScriptItem, getSharpness, getSharpnessIncrement, getSharpnessMultiplier, getShoutMultiplier, getShoutType, getSoundByID, getSoundParameter, getSquare, getStashChance, getStashMap, getStaticModel, getStaticModelException, getStaticModelsByIndex, getStrainModifier, getStressChange, getStringItemType, getSuspensionCompression, getSuspensionDamping, getSwingAnim, getTags, getTaken, getTex, getTexture, getTextureBurnt, getTextureColorMask, getTextureCooked, getTextureFluidMask, getTexturerotten, getTimesHeadRepaired, getTimesRepaired, getTooltip, getTorchDot, getType, getUnCookedString, getUnequippedWeight, getUnequipSound, getUnhappyChange, getUser, getUses, getVisionModifier, getVisual, getWeaponLevel, getWetCooldown, getWheelFriction, getWithDrainable, getWithoutDrainable, getWorker, getWorldItem, getWorldObjectSprite, getWorldStaticItem, getWorldStaticModel, getWorldStaticModelsByIndex, getWorldTexture, getWorldXRotation, getWorldYRotation, getWorldZRotation, getX, getY, getZ, hasBlood, hasDirt, hasHeadCondition, hasMetal, hasModData, hasOrigin, hasQuality, hasReplaceType, hasResearchableRecipes, hasSharpness, hasTag, hasTimesHeadRepaired, haveExtraItems, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, HowRotten, inheritFoodAgeFrom, inheritOlderFoodAge, initialiseItem, isActivated, isAlcoholic, isAlwaysWelcomeGift, isAnimalFeed, isBeingFilled, isBroken, isBurnt, isCanBandage, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDamaged, isDisappearOnUse, IsDrainable, isDull, isEmittingLight, isEmptyOfFluid, isEntityValid, isEquipped, isEquippedNoSprint, isFakeEquipped, isFakeEquipped, isFavorite, isFishingLure, isFluidContainer, isFood, IsFood, isFullOfFluid, isHidden, isInfected, isInitialised, isInLocalPlayerInventory, isInPlayerInventory, IsInventoryContainer, isIsCookable, isKeepOnDeplete, isKeyRing, IsLiterature, IsMap, isMemento, isProtectFromRainWhileEquipped, isPureWater, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isSpice, isTorchCone, isTrap, isTwoHandWeapon, isUseWorldItem, isVanilla, isVisualAid, isWaterSource, IsWeapon, isWet, loadCorpseFromByteData, loadItem, loadItem, loadItem, ModDataMatches, monogramAfterDescriptor, nameAfterDescriptor, OnAddedToContainer, OnBeforeRemoveFromContainer, onBreak, playActivateDeactivateSound, playActivateSound, playDeactivateSound, playSoundOnPlayer, randomizeCondition, randomizeGeneralCondition, randomizeHeadCondition, randomizeSharpness, randomizeWorldZRotation, reduceCondition, reduceHeadCondition, RemoveFromContainer, researchRecipes, reset, saveWithSize, setActivated, setActivatedRemote, setActualWeight, setAge, setAlcoholic, setAlcoholPower, setAmmoType, setAnimalTracks, 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, setConditionFrom, setConditionFromHeadCondition, setConditionFromModData, setConditionLowerNormal, setConditionLowerOffroad, setConditionMax, setConditionNoSound, setConditionTo, setConditionWhileLoading, setContainer, SetContainerPosition, setContainerX, setContainerY, setCooked, setCookedString, setCookingTime, setCount, setCountDownSound, setCurrentAmmoCount, setCurrentUses, setCurrentUsesFrom, setCustomColor, setCustomMenuOption, setCustomName, setCustomWeight, setDescription, setDirt, setDisplayCategory, setDurability, setEngineLoudness, setEquipParent, setEquipParent, setEvolvedRecipeName, setExplosionSound, setFatigueChange, setFavorite, setGunType, setHaveBeenRepaired, setHeadCondition, setHeadConditionFromCondition, setIcon, setIconsForTexture, setID, setInfected, setInitialised, setIsCookable, setIsCraftingConsumed, setItemCapacity, setItemHeat, setItemWhenDry, setJobDelta, setJobType, setKeyId, setLastAged, setLightDistance, setLightStrength, setMaxAmmo, setMaxCapacity, setMediaType, setMeltingTime, setMetalValue, setMinutesToBurn, setMinutesToCook, setModelIndex, setModule, setName, setNewPlaceDir, setOffAge, setOffAgeMax, setOffString, setOrigin, setOrigin, setOrigin, setOriginX, setOriginY, setOriginZ, setPlaceDir, setPreviousOwner, setQuality, setRecordedMediaData, setRecordedMediaIndex, setRecordedMediaIndexInteger, setReduceInfectionPower, setRegistry_id, setRemoteControlID, setRemoteController, setRemoteRange, setReplaceOnUse, setReplaceOnUseOn, setRequireInHandOrInventory, setRightClickContainer, setScriptItem, setSharpness, setSharpnessFrom, setStashChance, setStashMap, setStaticModel, setStaticModelsByIndex, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaken, setTexture, setTextureBurnt, setTextureColorMask, setTextureCooked, setTextureFluidMask, setTexturerotten, setTimesHeadRepaired, setTimesRepaired, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUses, setUsesFrom, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldItem, setWorldScale, setWorldStaticItem, setWorldStaticModel, setWorldStaticModelsByIndex, setWorldTexture, setWorldXRotation, setWorldYRotation, setWorldZRotation, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, stopEquippedAndActivatedSound, storeInByteData, synchWithVisual, syncItemFields, tryGetWorldStaticModelByIndex, unsealIfNotFull, updateAge, updateEquippedAndActivatedSound, updateEquippedAndActivatedSound, Use, Use, Use, UseAndSync, UseForCrafting, UseItem
Methods inherited from class zombie.entity.GameEntity
addToWorld, attrib, componentSize, connectComponents, containsComponent, getAttributes, getComponent, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponents, hasRenderers, isAddedToEngine, isMeta, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFirstCreation, onFluidContainerUpdate, onReceiveEntityPacket, onUnEquip, receiveSyncEntity, receiveUpdateUsingPlayer, removeFromWorld, removeFromWorld, renderlast, renderlastComponents, requiresEntitySave, saveEntity, sendClientEntityPacket, sendComponentEvent, sendComponentEvent, sendEntityEvent, sendEntityEvent, sendServerEntityPacket, sendServerEntityPacketTo, sendSyncEntity, sendUpdateUsingPlayer, setUsingPlayer
-
Field Details
-
Constructor Details
-
Method Details
-
getAlarmSquare
-
shouldUpdateInWorld
public boolean shouldUpdateInWorld()- Overrides:
shouldUpdateInWorld
in classInventoryItem
-
update
-
updateSound
- Overrides:
updateSound
in classInventoryItem
-
isRinging
public boolean isRinging() -
finishupdate
public boolean finishupdate()- Overrides:
finishupdate
in classClothing
-
DoTooltip
-
save
- Overrides:
save
in classClothing
- Throws:
IOException
-
load
- Overrides:
load
in classClothing
- Throws:
IOException
-
getSaveType
public int getSaveType()- Overrides:
getSaveType
in classClothing
-
getCategory
- Overrides:
getCategory
in classClothing
-
setAlarmSet
public void setAlarmSet(boolean _alarmSet) - Specified by:
setAlarmSet
in interfaceIAlarmClock
-
isAlarmSet
public boolean isAlarmSet()- Specified by:
isAlarmSet
in interfaceIAlarmClock
-
setHour
public void setHour(int hour) - Specified by:
setHour
in interfaceIAlarmClock
-
setMinute
public void setMinute(int min) - Specified by:
setMinute
in interfaceIAlarmClock
-
setForceDontRing
public void setForceDontRing(int int0) - Specified by:
setForceDontRing
in interfaceIAlarmClock
-
getHour
public int getHour()- Specified by:
getHour
in interfaceIAlarmClock
-
getMinute
public int getMinute()- Specified by:
getMinute
in interfaceIAlarmClock
-
syncAlarmClock
public void syncAlarmClock() -
syncAlarmClock_Player
-
syncAlarmClock_World
public void syncAlarmClock_World() -
syncStopRinging
public void syncStopRinging() -
stopRinging
public void stopRinging()- Specified by:
stopRinging
in interfaceIAlarmClock
-
getAlarmSound
-
setAlarmSound
-
getSoundRadius
public int getSoundRadius() -
setSoundRadius
public void setSoundRadius(int _soundRadius) -
isDigital
public boolean isDigital()
-