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_HOLESFields inherited from class zombie.inventory.InventoryItem
atlasTexture, byteData, CanStack, CloseKillMove, col, Cooked, deadBodyObject, extraItems, fatigueChange, id, jobDelta, jobType, mainCategory, ReplaceOnUseOn, RequiresEquippedBothHands, worldAlpha, worldItem, worldScale, worldXRotation, worldYRotation, worldZRotationFields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDoTooltip(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout) booleanintgetHour()intintintbooleanbooleanbooleanvoidload(ByteBuffer input, int WorldVersion) voidsave(ByteBuffer output, boolean net) voidsetAlarmSet(boolean _alarmSet) voidsetAlarmSound(String _alarmSound) voidsetForceDontRing(int int0) voidsetHour(int hour) voidsetMinute(int min) voidsetSoundRadius(int _soundRadius) booleanvoidvoidvoidsyncAlarmClock_Player(IsoPlayer player) voidvoidvoidupdate()voidupdateSound(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, 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, UseMethods inherited from class zombie.inventory.InventoryItem
addExtraItem, addExtraItem, allowRandomTint, applyMaxSharpness, canBeActivated, canBeEquipped, canBeRemote, canEmitLight, canHaveOrigin, canStoreWater, copyBloodLevelFrom, copyClothing, copyConditionModData, copyConditionStatesFrom, copyModData, CopyModData, copyTimesHeadRepairedFrom, copyTimesHeadRepairedTo, copyTimesRepairedFrom, copyTimesRepairedTo, createAndStoreDefaultDeadBody, createCloneItem, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, damageCheck, doBreakSound, doBuildingStash, doDamagedSound, DoTooltip, DoTooltipEmbedded, emptyLiquid, getA, getActualWeight, getAge, getAimReleaseSound, getAlcoholPower, getAlternateModelName, getAmmoType, getAnimalFeedType, getAnimalTracks, getAttachedSlot, getAttachedSlotType, getAttachedToModel, getAttachmentReplacement, getAttachmentsProvided, getAttachmentType, getB, getBandagePower, getBlood, getBloodClothingType, getBloodLevelAdjustedHigh, getBloodLevelAdjustedLow, getBodyLocation, getBoredomChange, getBrakeForce, getBreakSound, getBringToBearSound, getBulletHitArmourSound, 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, getFileName, getFillFromDispenserSound, getFillFromLakeSound, getFillFromTapSound, getFillFromToiletSound, getFireFuelRatio, getFluidContainerFromSelfOrWorldItem, 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, getNoRecipesModDataString, getOffAge, getOffAgeMax, getOffString, getOnBreak, getOpeningRecipe, getOriginX, getOriginY, getOriginZ, getOutermostContainer, getOwner, 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, getWeaponHitArmourSound, getWeaponLevel, getWetCooldown, getWheelFriction, getWithDrainable, getWithoutDrainable, getWorker, getWorldAlpha, getWorldItem, getWorldObjectSprite, getWorldStaticItem, getWorldStaticModel, getWorldStaticModelsByIndex, getWorldTexture, getWorldXRotation, getWorldYRotation, getWorldZRotation, getX, getY, getZ, hasBeenHeard, hasBeenSeen, hasBlood, hasDirt, hasHeadCondition, hasMetal, hasModData, hasOrigin, hasQuality, hasReplaceType, hasResearchableRecipes, hasSharpness, hasTag, hasTag, hasTimesHeadRepaired, haveExtraItems, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, headConditionCheck, HowRotten, incrementCondition, inheritFoodAgeFrom, inheritOlderFoodAge, initialiseItem, is, isActivated, isAlcoholic, isAlwaysWelcomeGift, isAnimalCorpse, isAnimalFeed, isBeingFilled, isBroken, isBurnt, isCanBandage, isConditionAffectsCapacity, isCookable, isCooked, isCustomColor, isCustomName, isCustomWeight, isDamaged, isDisappearOnUse, isDoingExtendedPlacement, IsDrainable, isDull, isEmittingLight, isEmptyOfFluid, isEntityValid, isEquipped, isEquippedNoSprint, isFakeEquipped, isFakeEquipped, isFavorite, isFavouriteRecipeInput, isFishingLure, isFluidContainer, isFood, IsFood, isForceDropHeavyItem, isFullOfFluid, isHidden, isHumanCorpse, isInfected, isInitialised, isInLocalPlayerInventory, isInPlayerInventory, IsInventoryContainer, isIsCookable, isKeepOnDeplete, isKeyRing, IsLiterature, IsMap, isMemento, isNoRecipes, isProtectFromRainWhileEquipped, isPureWater, isRecordedMedia, isRemoteController, isRequiresEquippedBothHands, IsRotten, isSealed, isSpice, isTorchCone, isTrap, isTwoHandWeapon, isUnwanted, isUseWorldItem, isVanilla, isVisualAid, isWaterSource, IsWeapon, isWet, loadCorpseFromByteData, loadItem, loadItem, loadItem, ModDataMatches, monogramAfterDescriptor, nameAfterDescriptor, OnAddedToContainer, OnBeforeRemoveFromContainer, onBreak, playActivateDeactivateSound, playActivateSound, playDeactivateSound, randomizeCondition, randomizeGeneralCondition, randomizeHeadCondition, randomizeSharpness, randomizeWorldZRotation, reduceCondition, reduceHeadCondition, Remove, 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, setDoingExtendedPlacement, 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, setNoRecipes, 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, setStaticModel, setStaticModelsByIndex, setStressChange, setSuspensionCompression, setSuspensionDamping, setTaken, setTexture, setTextureBurnt, setTextureColorMask, setTextureCooked, setTextureFluidMask, setTexturerotten, setTimesHeadRepaired, setTimesRepaired, setTooltip, setTorchCone, setType, setUnCookedString, setUnhappyChange, setUnwanted, setUses, setUsesFrom, setWeight, setWet, setWetCooldown, setWheelFriction, setWorker, setWorldAlpha, setWorldItem, setWorldScale, setWorldStaticItem, setWorldStaticModel, setWorldStaticModel, setWorldStaticModelsByIndex, setWorldTexture, setWorldXRotation, setWorldYRotation, setWorldZRotation, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, sharpnessCheck, storeInByteData, SynchSpawn, synchWithVisual, syncItemFields, tryGetWorldStaticModelByIndex, unsealIfNotFull, updateAge, updateEquippedAndActivatedSound, updateEquippedAndActivatedSound, Use, Use, Use, UseAndSync, UseForCrafting, UseItemMethods inherited from class zombie.entity.GameEntity
addToWorld, attrib, componentSize, containsComponent, getAttributes, getComponent, getComponentAny, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getEntityScript, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponentAny, hasComponents, hasRenderers, isAddedToEngine, isMeta, isOutside, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFluidContainerUpdate, onUnEquip, removeFromWorld, removeFromWorld, renderlast, renderlastComponents, requiresEntitySave, saveEntity, sendSyncEntity, setUsingPlayer
-
Field Details
-
PacketPlayer
public static short PacketPlayer -
PacketWorld
public static short PacketWorld
-
-
Constructor Details
-
AlarmClockClothing
-
AlarmClockClothing
-
-
Method Details
-
getAlarmSquare
-
shouldUpdateInWorld
public boolean shouldUpdateInWorld()- Overrides:
shouldUpdateInWorldin classInventoryItem
-
update
public void update()- Specified by:
updatein interfaceIAlarmClock- Overrides:
updatein classClothing
-
updateSound
- Overrides:
updateSoundin classInventoryItem
-
isRinging
public boolean isRinging() -
finishupdate
public boolean finishupdate()- Overrides:
finishupdatein classClothing
-
DoTooltip
-
save
- Overrides:
savein classClothing- Throws:
IOException
-
load
- Overrides:
loadin classClothing- Throws:
IOException
-
getSaveType
public int getSaveType()- Overrides:
getSaveTypein classClothing
-
getCategory
- Overrides:
getCategoryin classClothing
-
setAlarmSet
public void setAlarmSet(boolean _alarmSet) - Specified by:
setAlarmSetin interfaceIAlarmClock
-
isAlarmSet
public boolean isAlarmSet()- Specified by:
isAlarmSetin interfaceIAlarmClock
-
setHour
public void setHour(int hour) - Specified by:
setHourin interfaceIAlarmClock
-
setMinute
public void setMinute(int min) - Specified by:
setMinutein interfaceIAlarmClock
-
setForceDontRing
public void setForceDontRing(int int0) - Specified by:
setForceDontRingin interfaceIAlarmClock
-
getHour
public int getHour()- Specified by:
getHourin interfaceIAlarmClock
-
getMinute
public int getMinute()- Specified by:
getMinutein interfaceIAlarmClock
-
syncAlarmClock
public void syncAlarmClock() -
syncAlarmClock_Player
-
syncAlarmClock_World
public void syncAlarmClock_World() -
syncStopRinging
public void syncStopRinging() -
stopRinging
public void stopRinging()- Specified by:
stopRingingin interfaceIAlarmClock
-
getAlarmSound
-
setAlarmSound
-
getSoundRadius
public int getSoundRadius() -
setSoundRadius
public void setSoundRadius(int _soundRadius) -
isDigital
public boolean isDigital()
-