TACZ: Npcs

护甲和 TACZ 枪械的渲染与使用- NPC 将像玩家一样使用任何附加包中的 TACZ 枪械,包括火箭发射器、榴弹发射器和火焰喷射器等。

资源介绍

要求 TACZ 功能 护甲和 TACZ 枪械的渲染与使用 - NPC 将像玩家一样使用任何附加包中的 TACZ 枪械,包括火箭发射器、榴弹发射器和火焰喷射器等。 完整支持 PlayerAnimator 和玩家皮肤 - NPC 将使用 PlayerAnimator 中的动画,并可以配置玩家名称和皮肤 配置 - 提供丰富的配置文件,可用于创建具有不同关系、纹理和装备的全新 NPC。 阵营与关系 - 配置 tacznpc_factions.json 文件以设置各种队伍,并观看它们进行实时战斗。 使用方法 请参阅 配置 下面介绍如何修改模组。 你可以使用 /summon tacznpcs:npc {"template":""} 召唤 NPC,不添加模板 NBT:({"template":""}) 将使用 "default" 模板,否则你可以根据 npc_loadouts.json 配置文件指定一个模板名称。 配置 NPC 使用模组的配置文件进行配置。 自定义战利品表或标签应使用数据包以标准的 Minecraft 方式添加。然后在配置文件中引用这些 ID。 tacznpc_factions.json 将实体 ID 映射到派系名称。 { "villagers": [ "minecraft:villager", "minecraft:iron_golem" ], "illagers": [ "minecraft:pillager", "minecraft:evoker" ] } 键是派系名称。 值是实体 ID 列表。 tacznpc_loadouts.json 定义 NPC 的装备、武器、派系和纹理。 { "illagers": { <-- name of loadout "aligned": [ "illagers", <-- Allied factions "monster" ], "opposed": [ "villagers" <-- factions to attack ], "equipment": { "table": "tacznpcs:npc/illager", <-- the loot table to use for equipment, optional if you just want to modify dropChances "dropChances": { <-- dropChances is optional "mainhand": 1, <-- each field is optional in dropChances "head": 0.2, "chest": 0.2, "legs": 0.2, "feet": 0.2 } }, "skin": [ {"id": "tacznpcs:entity/illager1.png", "slim": true}, <-- id=texture location, slim= slim(true) or wide(false) skin, default is false {"id": "tacznpcs:entity/illager2.png"} <-- id is required, slim is optional ] }, "names": ["Bobert", "Robert"] <-- random names to choose, will show in the nametag, optional (if the field is not used, then no nametag will show and the default entity name will be used) } 额外字段 字段 描述 primary NPC 的主要武器或物品。 helmet 头盔物品(可选)。 chestplate 胸甲物品(可选)。 leggings 护腿物品(可选)。 boots 靴子物品(可选)。 额外字段的 ID 前缀 多个字段接受使用不同前缀的不同 ID 类型: 前缀 含义 示例 (无) Minecraft 物品 ID minecraft:iron_sword % TACZ 枪械 ID %tacz:glock_17 # 物品标签 #c:swords $ 战利品表 ID $minecraft:chests/simple_dungeon A default 推荐配置,当没有其他配置适用时使用。 内置派系 这些派系名称始终可用(不区分大小写): monster creature ambient axolotls underground_water_creature water_creature water_ambient misc 您也可以参考在 npc_factions.json . tacznpcs_structures.json中定义的任何自定义派系 定义特定装备结构的生成规则。 { "minecraft:mansion": [ <-- structure id { <-- object "entities": [ "minecraft:pillager", "minecraft:vindicator" ], "loadout": "illagers", "chance": 0.25 } ], "minecraft:village_plains": [ { <-- there can be more than one spawning object per structure "entities": [ "minecraft:villager" <-- list of entity ids that can be replaced ], "loadout": "villagers", <-- loadout to replace entities with "chance": 0.05 <-- chance for entity to be replaced on spawn }, { "entities": [ "minecraft:iron_golem" ], "loadout": "villagers", "chance": 0.5 } ] } 我在 Discord 上接受委托或提问,ID 为 @ jeducklet。 (接受私信)

在鱼乐云资源中心浏览该资源,登录后可一键安装到你的游戏服务器。

返回资源中心