简介
本模组为村民添加了更多高度可配置的行为。村民会衰老并最终因年老而死亡,但可以通过喂食金苹果来避免(可配置)。此外,村民还会感到饥饿,并在饥饿时主动寻找食物。
功能
死亡
村民在成年后 2 小时(真实时间)将会死亡(可配置)。
饥饿
村民每 10 分钟(真实时间)会进入饥饿状态并主动寻找食物(可配置)。处于饥饿状态的村民无法进行交易。
村民进食时会直接将食物拿在手中,这与原版繁殖机制不同。
玩家无法与处于饥饿状态的村民进行交易,但如果村民正在交易中,则不会进入饥饿状态。
金苹果
使用金苹果或附魔金苹果右键点击村民,可以防止其因衰老而死亡(可配置)。
皮肤
村民拥有更多的皮肤(可配置,默认仅原版皮肤)。玩家可以通过界面设置村民的皮肤。
皮肤应放置在资源包中,并使用指定的资源位置(例如 time_feeds_villager:textures/entity/villager/dummy_villager.png),同时需在服务端和客户端的通用配置文件中的 VILLAGER_SKINS 键下添加该路径。[示例]
虽然不强制要求,但在资源包中为皮肤指定名称是推荐的做法。[示例]
繁殖
双方村民都必须处于“停留模式”才能进行繁殖。
额外物品栏
按住蹲键并右键点击村民将打开其额外物品栏,该物品栏包含八个格子。玩家可以从中放置或取出物品。
当村民饥饿时,它会优先尝试消耗自己物品栏中的物品。如果其物品栏中没有食物,它将开始寻找食物。
玩家可以设置村民的行为模式,包括“工作模式”和“停留模式”。处于停留模式的村民永远不会尝试工作或参加会议。
Abstract
This mod adds more highly-configurable behaviors to villagers. Villagers can getting old and finally die for aging, which can be avoided by feeding them golden apples (configurable). And also villagers can feel hungry and searching for foods in their hunger.
Features
Death
Villagers will die 2 hours (in real time) after they become adults (configurable).
Hunger
Villagers will enter a hungry state every 10 minutes (in real time) and actively look for food (configurable). Villagers in a hungry state cannot trade.
Villagers hold food directly in their hands when eating, which is different from the original breeding mechanism.
Players cannot trade with villagers in a hungry state, but villagers in a trade will not enter a hungry state.
Golden Apples
Right-clicking a villager with a golden apple or an enchanted golden apple will prevent the villager from dying of aging (configurable).
Skin
Villagers have more skins (configurable, default only vanilla skin). Players can set villager skins through the UI.
Skins should be put in resource packs with a given resource location (for example, time_feeds_villager:textures/entity/villager/dummy_villager.png), which should also be added to VILLAGER_SKINS key in server-side and client-side common config. [Example]
A name of a skin is not required but recommended in your resourcepack. [Example]
Breeding
Both villagers must be in "stay mode" to breed.
Extra Inventory
Crouching and right-clicking a villager will open the its extra inventory, which consists of eight slots. Players can place and take items from it.
When a villager is hungry, it will first try to consume the items in his inventory. If there is no food in its inventory, it will start looking for food.
Players can set the behavior mode of the villagers, including "work mode" and "stay mode". Villagers in stay mode will never try to work or go for a meeting.
评论 0
登录后参与评分
还没有评论,来抢沙发吧