该mod鼓励饮食多样性,并且将其体现在了回复反馈的减少
这意味着当你反复吃一样东西时,每一次所获得的“饥饿度”会越来越少。
该mod内的任何东西都是完全可以配置的(在服务端),包括用于计算恢复“饥饿度”减少的“公式”(可见“配置文档”)
该mod和Hunger Overhaul兼容
同样,这个mod增加了一些客户端only的功能,比如说在食物信息栏上会显示饥饿回复的多与少(当你按住shift),并且还会在HUD上显示现在和食用手中的食物之后的饥饿的格子数目。如果这个mod只装在客户端,服务端并没有装,那么这个回复的减少自然不会生效。
在服务端,'food.modifier.enabled'配置设置可以设置到“false”来关闭这个每次食用使得回复减少的系统。
注意:该mod大多数情况会与其他增加了更多食物的mod一起使用。
(译者强烈推荐pams,因为pams还可以和hunger overhaul一起使用,三个神器加起来简直狠)
新版本(1.2.1)的1.7.10需要AppleCore作为Dep,共同放到mods文档中才能够使用
信息栏显示
按住shift时可以显示食物的价值(通过格子表现)
饥饿条HUD的加强
当你手持食物的时候,该食物恢复的饱食度会显示在饥饿条上并闪烁
配置文件(只翻译了一下比较重要的部分):
# Configuration file #################### # main #=================== # These config settings are server-side only # Their values will get synced to all clients on the server #################### " main " { # If false, disables the entire diminishing returns part of the mod(如果写false,那么“每次食用减少回复”的设定将关闭) # Set this to false if you only want the client-side tooltip/HUD additions B:food.modifier.enabled=true } #################### # client #=================== # These config settings are client-side only #################### client { # If true, shows the hunger (and saturation if show.saturation.hud.overlay is true) that would be restored by food you are currently holding B:show.food.values.hud.overlay=true # If true, shows the hunger and saturation values of food in its tooltip while holding SHIFT B:show.food.values.in.tooltip=true # If true, shows your current saturation level overlayed on the hunger bar B:show.saturation.hud.overlay=true } #################### # foodgroups #=================== # These config settings are server-side only # Their values will get synced to all clients on the server # NOTE: Food groups are a work-in-progress; not all features have been implemented and/or tested #################### foodgroups { B:example.enabled=false # A list of item IDs in id:meta format # This example adds red apples (id 260 with any metadata) and golden apples (id 322 with metadata 0), thereby excluding enchanted golden apples (id 322 with metadata 1) S:example.items < 260 322:0 > S:example.name=Example # A list of ore dictionary entries # This example adds two oredictionary entries created by Pam's HarvestCraft, including all fruit and all berries S:example.oredicts < listAllfruit listAllberry > # Food can only belong to one food group # in the case of conflicting food groups, the food group with the highest priority will be selected # Example: A food group with priority 3 will take precedence over a food group with priority 1 I:example.priority=0 } #################### # server #=================== # These config settings are server-side only # Their values will get synced to all clients on the server #################### server { # If true, foods' saturation modifier will also be multiplied by the nutritional value # NOTE: Saturation bonuses of foods will automatically decrease as the hunger value of the food decreases # Setting this to true will make saturation bonuses decrease disproportionately more than hunger values B:affect.food.saturation.modifiers=false # If true, foods with negative saturation modifiers will be made more negative as nutritional value decreases # NOTE: affect.food.saturation.modifiers must be true for this to have any affect B:affect.negative.food.saturation.modifiers=false # If true, a player's food history will be empty once they pass the new.player.food.eaten.threshold # If false, any food eaten before the threshold is passed will also count after it is passed B:clear.history.after.food.eaten.threshold.reached=false # The maximum amount of eaten foods stored in the history at a time(食用不同食物的历史记录数目) I:food.history.length=12 # If true, food history will not get reset after every death(如果写TRUE,每次死亡都不会刷新食物历史) B:food.history.persists.through.death=false # Rounding mode used on the hunger value of foods # Valid options: 'round', 'floor', 'ceiling' S:food.hunger.rounding.mode=round # Uses the EvalEx expression parser # See: https://github.com/uklimaschewski/EvalEx for syntax/function documentation # # Available variables(可选的变量): # count : 再记录下的历史中,该食物已经吃过几次了(或者在foodgroup中) # max_history_length : 最大食物历史记录数目 (见 food.history.length) # cur_history_length : 当前食物历史记录数目 (小于等于 max_history_length) # food_hunger_value : 默认情况下,食物恢复的“饥饿度”的数目,在 hunger units 下(1 hunger unit = 1/2 格子饥饿) # food_saturation_mod : 默认情况下,食物恢复的 “saturation”,saturation是啥详见minecraft中文百科 # cur_hunger : 当前饥饿度的值 (20 = 饥饿条是满着的) # cur_saturation : 当前玩家的saturation # total_food_eaten : 玩家总过吃食物的数量 # 下面这个是公式 S:food.modifier.formula=MAX(0, (1 - count/12))^MIN(8, food_hunger_value) # The number of times a new player (by World) needs to eat before this mod has any effect(新加入的玩家可以吃多少个食物) # 这个默认是6,这意味着玩家新加入世界的时候,你前六个进食不会每次进食减少回复的,直到6个之后开始记录。6个之后你吃1次苹果,苹果下次回复的就少一点 I:new.player.food.eaten.threshold=6 # See 'foodgroups' settings category B:use.food.groups=false # If true, food.history.length will use amount of hunger restored instead of number of foods eaten for its maximum length # For example, a food.history.length length of 12 will store a max of 2 foods that restored 6 hunger each, # 3 foods that restored 4 hunger each, 12 foods that restored 1 hunger each, etc # NOTE: food.history.length uses hunger units, where 1 hunger unit = 1/2 hunger bar # 这个东西挺长……大概意思就是拿每次回复的饥饿格子数目来代替食物数量,这意味着你之前计算中的吃一个苹果,电脑给你记录为“+1”,但是这个设定设为true之后,你第一次吃苹果,电脑给你记录的是“+2.5”,因为你苹果回复了2.5格子的“饥饿度”,这样每次吃减少的多,但是到后面因为回复的少,减少的也少 B:use.hunger.restored.for.food.history.length=false } |
作者给的递减表格和图表(我是没看太懂orz)……Google这段时间被封的厉害,goagent都不太好使了……
https://docs.google.com/spreadsheets/d/1JR_ayn8a20y36vjmuMflqKQ2RXR5BW6fwNZr1-SYp1s/edit?pli=1#gid=0
综合想了一下……这个mod的难度还是挺大的,若是在困难难度下,原版的环境使得玩家十分的难以生存,因为原版食物就那么几个,我试了试吃1次苹果回复2.5,吃2次就只有1了……再吃就不回复饥饿……虽然这个history会随着时间减少,但由于我没有花太多时间测试,并不清楚这个时间具体是多少。
而且默认设置的“历史记录”还是12,这意味着你得吃12种不同的食物。
因此最好玩家是能带着mod来玩……(当然也可以吧这个history调的低一点)
总之这将意味着你需要减少冒险的时间,因为大量减少饥饿之后很难快速回复。
更变集:
v1.2.1 (September 23, 2014) - Hopefully fixed a sporadic crash when putting food into a food container - Temporarily disabled the chance to drop food from food containers while I implement better jump detection - Fixed the tooltip/overlay food values of food containers being incorrect when Hunger Overhaul is installed (1.7.10 only) - Fixed non-directly-edible foods being allowed in food containers (cake, open food containers) - Added Spanish localization (thanks k3936) v1.2.0 (September 22, 2014) - Added a 1.7.10-only version that requires AppleCore - Added a lunch box and lunch bag (demo video) --- The lunch bag has 3 slots and the lunch box has 6, they are only able to hold food, and they can only hold stacksizes up to a default of 2 (max stacksize is configurable). If you right click them on an inventory, it will automatically fill them with a variety of foods from that inventory (chosen somewhat intelligently based on % diminished, etc), and if you 'eat' a lunch box/lunch bag, it will intelligently choose the best food to eat from it and eat it. - Improved food groups and made them defined by json files --- Food groups are defined by json files in /config/SpiceOfLife/ --- Added support for different diminishing returns formulas per food group --- Added support for using food groups as blacklists/whitelists ------ If config option 'use.food.groups.as.whitelists' is true, items not in a food group will be excluded from diminishing returns ------ If a food group has 'blacklist' set to true, items in it will be excluded from diminishing returns - Added config options: affect.food.hunger.values and affect.negative.food.hunger.values --- affect.food.hunger.values can be set to false and affect.food.saturation.modifiers can be set to true to make diminishing returns affect saturation only - Added command /spiceoflife reset [player] --- Resets all TSoL mod data of the command sender or the specified player (current food history, all-time total food eaten, and food journal recieved flag) - Added French localization (thanks AegisLesha) - Made the 1.6.4/1.7.2 versions compatible with Harder Peaceful (for 1.7.10, use Hunger In Peace instead) - Fixed a crash when joining a server with a food journal in your inventory |
mod新版1.1.1自带中文了,有一个叫crafteverywhere的人汉化的
这样就省了我这里的事情^q^