custom knight
模组简介
Creative Knight Config 是一款适用于 Minecraft 1.20.1 Forge 的模组,允许玩家配置游戏中各种生物的骑士行为、坐骑和武器。
功能特性
1. 游戏内配置
- 直观的配置界面,可通过游戏内的模组配置按钮访问
- 支持中文界面,操作简单易懂
2. 生物配置
- 生成概率:调整各种生物成为骑士的概率,这些骑士可以手持武器并骑乘坐骑
- 武器配置:为每种类型的生物骑士设置默认武器
- 坐骑配置:为每种类型的生物设置默认坐骑
- 坐骑系统:启用/禁用坐骑系统,并调整坐骑的生成概率
3. 支持的生物
- Zombie(僵尸)
- Skeleton(骷髅)
- Pillager(掠夺者)
- Piglin(猪灵)
- Witch(女巫)
- Zombie Villager(尸壳村民)
- Zombified Piglin(僵尸猪灵)
- Wither Skeleton(凋灵骷髅)
- Vindicator(卫道士)
- Evoker(唤魔者)
- Husk(尸壳)
- Piglin Brute(蛮兵猪灵)
- 通过配置文件添加的自定义生物
4. 无阵营限制
- 移除了坐骑的阵营限制,任何骑士都可以骑乘任何类型的坐骑(建议最好配置相同阵营,因为我不知道随机组合会发生什么)
- 支持更自由的坐骑组合
5. ID 复制功能
- 鼠标悬停在物品上并按下快捷键(默认为 I 键),即可将物品的英文 ID 复制到剪贴板
- 可通过游戏内置的按键绑定功能自定义复制按键
使用方法
配置界面
- 进入游戏后,在主菜单点击“Mods”按钮
- 找到 “custom knight” 模组并点击“Config”按钮
- 在配置界面中,你可以:
- 在“Spawn Chance”选项卡中调整各种生物的骑士生成概率
- 在“Mount System”选项卡中启用/禁用坐骑系统并调整坐骑生成概率
- 在“Weapon Settings”选项卡中为每种生物设置默认武器
- 在“Mount Settings”选项卡中为每种生物设置默认坐骑
或者输入命令
/creativeknight config
添加自定义生物
(实际上,我还没试过这个功能)
找到配置文件:
配置文件位于游戏目录下的 config 文件夹中,名为 knightmod-common.toml。
-
修改配置文件:
打开配置文件后,找到以下两个配置项:
-
customCreatures: 自定义生物列表
-
customCreaturesConfig: 自定义生物配置
-
添加自定义生物:
-
格式示例:
# Custom mob list, format:
modid:entity1,modid:entity2,...
customCreatures =
"minecraft:stray,
example:custom_creature"
# Custom mob configuration, format:
modid:entity1:spawnChance:weapon:mountFaction,
modid:entity2:spawnChance:weapon:mountFaction,...
customCreaturesConfig =
"minecraft:stray:0.2:minecraft:bow:undead,
example:custom_creature:0.3:example:custom_sword:undead"
-
配置项说明:
modid:entity: 完整的生物 ID,例如 minecraft:stray
spawnChance: 骑士生成概率,范围 0-1
weapon: 武器 ID,例如 minecraft:bow
mountFaction: 坐骑阵营,可选值:undead(不死族)、illager(灾厄村民)、piglin(猪灵)、witch(女巫)
-
保存配置文件:
修改完成后,保存配置文件并重启游戏以生效。
示例配置
# Custom mob list
customCreatures = "minecraft:stray,example:custom_creature"
# Custom mob configuration
customCreaturesConfig = "minecraft:stray:0.2:minecraft:bow:undead,example:custom_creature:0.3:example:custom_sword:undead"
技术特性
- 动态配置:配置更改立即生效,无需重启游戏
- 兼容性:与大多数模组兼容
- 性能优化:高效的事件处理,对游戏性能影响极小
- 可扩展性:支持通过配置文件添加自定义生物
安装方法
- 确保你的 Minecraft 已安装 Forge 1.20.1
- 下载此模组的 JAR 文件
- 将 JAR 文件放入游戏目录下的
mods 文件夹中
- 启动游戏,享受自定义骑士的乐趣!
作者
Baolong Zhanshen Tiezhu
联系方式
Bilibili Personal Homepage
GitHub
版本历史
许可协议
All Rights Reserved
costom knight
Mod Introduction
Creative Knight Config is a Minecraft 1.20.1 Forge mod that allows players to configure knight behaviors, mounts, and weapons for various mobs in-game.
Features
1. In-Game Configuration
- Intuitive configuration interface accessible through the in-game mod configuration button
- Supports Chinese interface with simple and easy-to-understand operations
2. Mob Configuration
- Spawn Chance: Adjust the probability of various mobs becoming knights, who can wield weapons and ride mounts
- Weapon Configuration: Set default weapons for each type of mob knight
- Mount Configuration: Set default mounts for each type of mob
- Mount System: Enable/disable mount system and adjust mount spawn probability
3. Supported Mobs
- Zombie
- Skeleton
- Pillager
- Piglin
- Witch
- Zombie Villager
- Zombified Piglin
- Wither Skeleton
- Vindicator
- Evoker
- Husk
- Piglin Brute
- Custom mobs added through configuration files
4. No Faction Restrictions
- Removed mount faction restrictions, any knight can ride any type of mount (preferably configure same factions, as I don't know what might happen with random combinations)
- Supports more free mount combinations
5. ID Copy Function
- Hover over an item and press the shortcut key (default I key) to copy the item's English ID to clipboard
- Can customize the copy key through the game's built-in key binding function
Usage
Configuration Interface
- After entering the game, click the "Mods" button in the main menu
- Find the "custom knight" mod and click the "Config" button
- In the configuration interface, you can:
- Adjust various mobs' knight spawn probability in the "Spawn Chance" tab
- Enable/disable mount system and adjust mount spawn probability in the "Mount System" tab
- Set default weapons for each mob in the "Weapon Settings" tab
- Set default mounts for each mob in the "Mount Settings" tab
Or enter the command
/creativeknight config
Adding Custom Mobs
(Actually, I haven't tried this)
Find the configuration file:
The configuration file is located in the config folder of the game directory, named knightmod-common.toml.
-
Modify the configuration file:
After opening the configuration file, find the following two configuration items:
-
customCreatures: Custom mob list
-
customCreaturesConfig: Custom mob configuration
-
Add custom mobs:
-
Format example:
# Custom mob list, format:
modid:entity1,modid:entity2,...
customCreatures =
"minecraft:stray,
example:custom_creature"
# Custom mob configuration, format:
modid:entity1:spawnChance:weapon:mountFaction,
modid:entity2:spawnChance:weapon:mountFaction,...
customCreaturesConfig =
"minecraft:stray:0.2:minecraft:bow:undead,
example:custom_creature:0.3:example:custom_sword:undead"
-
Configuration item description:
modid:entity: Full mob ID, e.g., minecraft:stray
spawnChance: Knight spawn probability, range 0-1
weapon: Weapon ID, e.g., minecraft:bow
mountFaction: Mount faction, optional values: undead (undead), illager (illager), piglin (piglin), witch (witch)
-
Save the configuration file:
After modification, save the configuration file and restart the game to take effect.
Example Configuration
# Custom mob list
customCreatures = "minecraft:stray,example:custom_creature"
# Custom mob configuration
customCreaturesConfig = "minecraft:stray:0.2:minecraft:bow:undead,example:custom_creature:0.3:example:custom_sword:undead"
Technical Features
- Dynamic Configuration: Configuration changes take effect immediately without restarting the game
- Compatibility: Compatible with most mods
- Performance Optimization: Efficient event handling with minimal impact on game performance
- Extensibility: Supports adding custom mobs through configuration files
Installation
- Make sure your Minecraft has Forge 1.20.1 installed
- Download the JAR file of this mod
- Put the JAR file into the
mods folder of your game directory
- Start the game and enjoy the fun of custom knights!
Author
Baolong Zhanshen Tiezhu
Contact
Bilibili Personal Homepage
GitHub
Version History
- v1.0: Initial version, implemented basic features
License
All Rights Reserved
评论 0
登录后参与评分
还没有评论,来抢沙发吧