modsmith Войти Войти Рус / Eng

Hourglass

hourglass · 887551 загрузок · LGPL-3.0-only

клиент: required · сервер: required (заявлено автором мода)

Кровати плавно ускоряют течение времени до наступления дня. Пользовательская продолжительность дня и ночи.

Описание

Hourglass Logo

   

«Песочные часы» — это мод Minecraft Forge, который дает вам контроль над течением времени. Это позволяет вам настройте продолжительность цикла день-ночь и измените механику сна Minecraft, ускорив скорость времени.

Особенности

Этот мод (опционально) ** заменяет стандартный режим сна плавным и естественным переходом. до утра**, ускоряя течение времени, пока вы находитесь в постели. В мультиплеере время пройдёт быстрее в зависимости от процента игроков, которые в данный момент спят. Это устраняет необходимость в любая система голосования во сне или порог игрока, поскольку любое количество игроков может повлиять на продолжительность ночи.

 

«Песочные часы» позволяют настраивать продолжительность цикла день-ночь и контролировать день и ночь. скорость независимо. Вместо обычных 20 минут вы можете замедлить время, чтобы приготовить день в Майнкрафте длится столько же, сколько день в реальной жизни, или ускорьте течение ночей на большее прощающий опыт.

 

«Песочные часы» также предоставляют ряд временных эффектов, которые могут ускорить развитие различных элементы в Minecraft, соответствующие текущей скорости времени. Некоторые примеры включают рост сельскохозяйственных культур, траву рост, погода, эффекты зелий, печи, бункеры и т. д. Большинство этих временных эффектов отключаются по умолчанию, но его можно включить, установив связанные с ними config options.

Совместимость

«Песочные часы» совместимы со следующими модами:

Моды голосования за сон

«Песочные часы» совместимы с модами, которые включают голосование за сон или имеют системы процента сна, такие как Кварк и Морфеус, но они конфликтуют с функцией сна этого мода. Эти особенности должны либо отключить их в соответствующих модах, либо функцию сна в Hourglass следует отключить. Функцию сна можно отключить с помощью команды или файла, изменив параметр enableSleepFeature.

Другие примечания по совместимости

В настоящее время верхний мир является единственным поддерживаемым измерением. Однако большинство размеров в Minecraft (включая пользовательские размеры) получают информацию о времени из внешнего мира и, следовательно, будут время проходит с той же скоростью.

Команды

/hourglass config <config-key> [<value>]

Изменяет или отображает текущее значение указанного параметра конфигурации.

 

Если аргумент <value> опущен, эта команда отобразит текущее значение параметра конфигурации.

 

Некоторые конфигурации недоступны с помощью этой команды, и к ним необходимо получить доступ через файлы конфигурации.

/hourglass query timeSpeed

Отображает текущую скорость, с которой течет время.

/hourglass query sleeperCount

Отображает соотношение игроков, спящих в текущем измерении.

Конфигурация

Все значения конфигурации можно изменить во время выполнения без перезагрузки игры.

 

Хотя многие параметры конфигурации доступны через команда конфигурации, доступ к некоторым можно получить только посетив Конфигурационные файлы мода. Большинство опций находятся в моде. файл конфигурации сервера как в однопользовательских мирах, так и в многопользовательских серверах. Несколько параметров, специфичных для клиента, также существуют в файле конфигурации клиента.

 

Разработчики модпаков могут настроить параметры сервера Hourglass в своем модпаке, предварительно настроив их. настройки сервера в тестовом мире, а затем переместив файл в папку ./defaultconfigs их модпак. Forge переместит все файлы из папки defaultconfigs в папку serverconfig. папка всех вновь созданных миров.

 

При настройке «Песочных часов» скорость времени контролируется с помощью множителя. Значение 1 эквивалентно до стандартной скорости (20 минут для полного цикла день-ночь). Установка DaySpeed и NightSpeed на 0,5. сократит скорость времени вдвое, удвоив продолжительность полного дня до 40 минут. Аналогично, удвоение настроенной скорости до 2,0 приведет к сокращению дня, который будет длиться всего 10 минут с одно утро к другому.

Внимание: Установка значений daySpeed и NightSpeed выше 3600 может быть небезопасной для людей со светочувствительной эпилепсией.

Конфигурация сервера по умолчанию

Расположение относительно папки Minecraft:

  • Миры для одиночной игры: ./saves/<save>/serverconfig/hourglass-server.toml
  • Многопользовательские серверы: ./world/serverconfig/hourglass-server.toml
[time]
	#The speed at which time passes during the day.
	#Day is defined as any time between 23500 (middle of dawn) and 12500 (middle of dusk) the next day.
	#Vanilla speed: 1.0
	#Range: 0.0 ~ 24000.0
	daySpeed = 1.0

	#The speed at which time passes during the night.
	#Night is defined as any time between 12500 (middle of dusk) and 23500 (middle of dawn).
	#Vanilla speed: 1.0
	#Range: 0.0 ~ 24000.0
	nightSpeed = 1.0

	[time.effects]
		#When applied, this effect syncs the passage of weather with the current speed of time.
		#I.e., as time moves faster, rain stops faster. Clear weather is not affected.
		#When set to SLEEPING, this effect only applies when at least one player is sleeping in a dimension.
		#Note: This setting is not applicable if game rule doWeatherCycle is false.
		#Allowed Values: NEVER, ALWAYS, SLEEPING
		weatherEffect = "SLEEPING"

		#When applied, this effect syncs the random tick speed with the current speed of time, forcing
		#crop, tree, and grass growth to occur at baseRandomTickSpeed multiplied by the current time-speed.
		#When set to SLEEPING, randomTickSpeed is set to baseRandomTickSpeed unless at least one player is sleeping in a dimension.
		#More information on the effects of random tick speed can be found here: https://minecraft.fandom.com/wiki/Tick#Random_tick
		#WARNING: This setting overwrites the randomTickSpeed game rule. To modify the base random tick speed,
		#use the baseRandomTickSpeed setting instead of changing the game rule directly.
		#Allowed Values: NEVER, ALWAYS, SLEEPING
		randomTickEffect = "NEVER"

		#The base random tick speed used by the randomTickEffect time effect.
		#Range: > 0
		baseRandomTickSpeed = 3

		#When applied, this effect progresses potion effects to match the rate of the current time-speed.
		#This effect does not apply if time-speed is 1.0 or less.
		#THIS MAY HAVE A NEGATIVE IMPACT ON PERFORMANCE IN SERVERS WITH MANY PLAYERS.
		#When set to ALWAYS, this effect applies to all players in the dimension, day or night.
		#When set to SLEEPING, this effect only applies to players who are sleeping.
		#Allowed Values: NEVER, ALWAYS, SLEEPING
		potionEffect = "NEVER"

		#When applied, this effect progresses player hunger effects to match the rate of the current time-speed.
		#This results in faster healing when food level is full, and faster harm when food level is too low.
		#This effect does not apply if time-speed is 1.0 or less.
		#When set to ALWAYS, this effect applies to all players in the dimension, day or night. Not recommended on higher difficulty settings
		#When set to SLEEPING, this effect only applies to players who are sleeping.
		#Allowed Values: NEVER, ALWAYS, SLEEPING
		hungerEffect = "NEVER"

		#When applied, this effect progresses block entities like furnaces, hoppers, and spawners to match the rate of the current time-speed.
		#WARNING: This time-effect has a significant impact on performance.
		#This effect does not apply if time speed is 1.0 or less.
		#When set to SLEEPING, this effect only applies when at least one player is sleeping in a dimension.
		#Allowed Values: NEVER, ALWAYS, SLEEPING
		blockEntityEffect = "NEVER"

[sleep]
	#Enables or disables the sleep feature of this mod. Enabling this setting will modify the vanilla sleep functionality
	#and may conflict with other sleep mods. If disabled, all settings in the sleep section will not apply.
	enableSleepFeature = true

	### THIS SETTING DEFINES THE SLEEP TIME-SPEED IN SINGLE-PLAYER GAMES ###
	#The maximum speed at which time passes when all players are sleeping.
	#A value of 110 is nearly equal to the time it takes to sleep in vanilla.
	#Range: 0.0 ~ 24000.0
	sleepSpeedMax = 120.0

	#The minimum speed at which time passes when only 1 player is sleeping in a full server.
	#Range: 0.0 ~ 24000.0
	sleepSpeedMin = 1.0

	#The speed at which time passes when all players are sleeping.
	#Set to -1 to disable this feature (sleepSpeedMax will be used when all players are sleeping).
	#Range: -1.0 ~ 24000.0
	sleepSpeedAll = -1.0

	#This parameter defines the curvature of the interpolation function that translates the sleeping player percentage into time-speed.
	#The function used is a Normalized Tunable Sigmoid Function.
	#A value of 0.5 represents a linear relationship.
	#Smaller values bend the curve toward the X axis, while greater values bend it toward the Y axis.
	#This graph may be used as a reference for tuning the curve: https://www.desmos.com/calculator/w8gntxzfow
	#Credit to Dino Dini for the function: https://dinodini.wordpress.com/2010/04/05/normalized-tunable-sigmoid-functions/
	#Credit to SmoothSleep for the idea: https://www.spigotmc.org/resources/smoothsleep.32043/
	#Range: 0.0 ~ 1.0
	sleepSpeedCurve = 0.3

	#Set to 'true' for the weather to clear when players wake up in the morning as it does in vanilla.
	#Set to 'false' to force weather to pass naturally. Adds realism when accelerateWeather is enabled.
	#Note: This setting is ignored if game rule doWeatherCycle is false.
	clearWeatherOnWake = true

	#When true, a clock will appear in the bed interface.
	#This clock may be disabled by players via hideBedClock config setting.
	allowBedClock = true

	#This section defines settings for notification messages.
	#All messages support Minecraft formatting codes (https://minecraft.fandom.com/wiki/Formatting_codes).
	#All messages have variables that can be inserted using the following format: ${variableName}
	#The type option controls where the message appears:
	#	SYSTEM: Appears as a message in the chat. (e.g., "Respawn point set")
	#	GAME_INFO: Game information that appears above the hotbar (e.g., "You may not rest now, the bed is too far away").
	#The target option controls to whom the message is sent:
	#	ALL: Sends the message to all players on the server.
	#	DIMENSION: Sends the message to all players in the current dimension.
	#	SLEEPING: Sends the message to all sleeping players in the current dimension.
	#	AWAKE: Sends the message to all awake players in the current dimension.
	[sleep.messages]

		#This message is sent after a sleep cycle has completed.
		[sleep.messages.morning]
			#Available variables:
			#sleepingPlayers -> the number of players in the current dimension who were sleeping.
			#totalPlayers -> the number of players in the current dimension (spectators are not counted).
			#sleepingPercentage -> the percentage of players in the current dimension who were sleeping (does not include % symbol).
			message = "§e§oTempus fugit!"
			#Sets where this message appears.
			#Allowed Values: SYSTEM, GAME_INFO
			type = "GAME_INFO"
			#Sets to whom this message is sent.
			#A target of 'SLEEPING' will send the message to all players who just woke up.
			#Allowed Values: ALL, DIMENSION, SLEEPING, AWAKE
			target = "DIMENSION"

		#This message is sent when a player enters their bed.
		[sleep.messages.enterBed]
			#Available variables:
			#player -> the player who started sleeping.
			#sleepingPlayers -> the number of players in the current dimension who are sleeping.
			#totalPlayers -> the number of players in the current dimension (spectators are not counted).
			#sleepingPercentage -> the percentage of players in the current dimension who are sleeping (does not include % symbol).
			message = "${player} is now sleeping. [${sleepingPlayers}/${totalPlayers}]"
			#Sets where this message appears.
			#Allowed Values: SYSTEM, GAME_INFO
			type = "GAME_INFO"
			#Sets to whom this message is sent.
			#Allowed Values: ALL, DIMENSION, SLEEPING, AWAKE
			target = "DIMENSION"

		#This message is sent when a player leaves their bed (without being woken up naturally by morning).
		[sleep.messages.leaveBed]
			#Available variables:
			#player -> the player who left their bed.
			#sleepingPlayers -> the number of players in the current dimension who are sleeping.
			#totalPlayers -> the number of players in the current dimension (spectators are not counted).
			#sleepingPercentage -> the percentage of players in the current dimension who are sleeping (does not include % symbol).
			message = "${player} has left their bed. [${sleepingPlayers}/${totalPlayers}]"
			#Sets where this message appears.
			#Allowed Values: SYSTEM, GAME_INFO
			type = "GAME_INFO"
			#Sets to whom this message is sent.
			#Allowed Values: ALL, DIMENSION, SLEEPING, AWAKE
			target = "DIMENSION"

Конфигурация клиента по умолчанию

Расположение относительно папки Minecraft: ./config/hourglass-client.toml.

[gui]
	#When false, a clock is displayed in the bed interface, if server settings allow it.
	#When true, the clock is hidden.
	hideBedClock = false

	#Sets the screen alignment of the bed clock.
	#Allowed Values: TOP_LEFT, TOP_CENTER, TOP_RIGHT, CENTER_LEFT, CENTER_CENTER, CENTER_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT
	clockAlignment = "TOP_RIGHT"

	#This setting prevents clock wobble when getting in bed by updating the clock's position every tick.
	#As a side-effect, the clock won't wobble when first viewed as it does in vanilla. This setting is
	#unused if displayBedClock is false.
	preventClockWobble = true

	#Sets the distance between the clock and the edge of the screen.
	#Unused if clockAlignment is CENTER_CENTER.
	#Range: > 0
	clockMargin = 16

	#Sets the scale of the bed clock.
	#Range: > 1
	clockScale = 64

Версии (8)

ВерсияMinecraftЗагрузчикиФайл
1.2.1.1 1.20.2 forge скачать
1.2.1.1 1.20, 1.20.1 forge скачать
1.2.1.1 1.19.4 forge скачать
1.2.1.0 1.18.2 forge скачать
1.2.1.0 1.18, 1.18.1 forge скачать
1.2.1.1 1.19.1, 1.19.2 forge скачать
1.2.1.1 1.19 forge скачать
1.2.1.0 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17.1 forge скачать

Страница на Modrinth →