Added gamerule playersSleepingPercentage (100 by default), which sets what percentage of players that must sleep in order to skip the night. Setting it to 0 will mean one player is always enough to skip the night. Setting it above 100 will prevent skipping the night. 添加了游戏规则 playersS...
Added gamerule playersSleepingPercentage (100 by default), which sets what percentage of players that must sleep in order to skip the night. Setting it to 0 will mean one player is always enough to skip the night. Setting it above 100 will prevent skipping the night. 添加了游戏规则 playersS...
(MCPE-172917)Setting the PlayersSleepingPercentage gamerule to 0 will no longer skip the sleep ...
It is now possible to control at what range the server sends data about entities to clients. Added anentity-broadcast-range-percentageserver property controlling how close entities need to be before being sent to clients. Higher values means entities are visible further away from players but cause...
Hourglass is compatible with mods that enable sleep voting or have sleep percentage systems like Quark and Morpheus, but they conflict with the sleep feature of this mod. These features should either be disabled in their corresponding mods, or the sleep feature in Hourglass should be disabled. Th...
Added a "bypassSleepCount" configuration so that you can allow players marked as Afk to bypass the Sleeping Requirements. Added a "bypassInsomnia" configuration so that you can allow players marked as Afk to block Phantom spawning. Added a "/noafk" command for players to stop themselves from...
Removed /replaceitem command Changes Added new game rules to the /gamerule command: freezeDamage - Whether the player being in powder snow causes damage playersSleepingPercentage - Percentage of players that must sleep in order to skip the NightChanges...
Gamerule Command in Minecraft Java Edition (PC/Mac) In Minecraft Java Edition (PC/Mac), the gamerule command has different syntaxes depending on whether you want to set or check the gamerule. To set the value of a gamerule: /gamerule <rule> <value> To check the value of a gamerule: /...
Added gameruleplayersSleepingPercentage(100 by default), which sets what percentage of players that must sleep in order to skip the night. Setting it to 0 will mean one player is always enough to skip the night. Setting it above 100 will prevent skipping the night ...
if (sleep != null && sleep.isSleeping()) { sleep.setSleeping(false); } } 代码示例来源:origin: WesCook/Nutrition private void commandGetNutrition(EntityPlayer player, ICommandSender sender, String[] args) { // Write nutrient name and percentage to chat Nutrient nutrient = NutrientList.getByNam...