每次创建新世界时,只需编辑 .txt 文件或运行便捷命令,即可获得物品和方块。
本模组需要同时安装 bspkrsCore:
[media]]
该文件位于
.minecraft/config/StartingInventory/startingInventory.txt(1.4.4.r01 之前的版本中为 .minecraft/mods/daftpvf/startingInventory.txt)。
如何配置初始物品:
简易方法:
1. 在创造模式下启动一个新世界。
2. 使用创造模式物品栏(或 NEI)将希望在新世界中初始获得的物品添加到玩家背包中(仅支持 36 个主物品栏槽位,护甲槽位将被忽略)。
3. 填充好所需物品后,关闭物品栏并执行以下命令:/startinginv save
4. 系统将提示当前物品已成功保存至配置文件。
5. 要测试文件是否正确保存,请清空你的物品栏并执行此命令:/startinginv load
6. 之前通过 /startinginv save 保存的物品将被放入你的物品栏中。
注意:命令 /startinginv load 会在添加配置的物品前清空你当前的物品栏。
较旧/较难的方法:
你可以手动以三种方式添加物品:
1. 仅使用 ID:
minecraft:apple = 一个苹果。
2. 使用 ID 和数量,用逗号分隔:
4, 128 = 1组圆石(向箱子添加物品的代码会将其截断至最大堆叠数量)
3. 使用 ID、数量和损坏值:
351, 10, 4 = 10 个青金石染料。
可以使用更多行来添加更多物品:
1, 20
257 = 20 个石头方块和 1 把铁镐。
模组物品和方块的 ID 同样适用。
This mod gives you items and blocks each time you start a new world, just by editing a .txt file or using the convenient commands.
This mod REQUIRES bspkrsCore to be installed as well:
[media]]
The file can be found at
.minecraft/config/StartingInventory/startingInventory.txt (.minecraft/mods/daftpvf/startingInventory.txt in releases before 1.4.4.r01).
How to configure the items you start with:
The Easy Method:
1. Start a new world in Creative mode.
2. Using the Creative Inventory (or NEI) add the items you want to start new worlds with to your player's inventory (only the 36 main inventory slots are supported, armor slots are ignored).
3. Once you have populated your inventory with the items you want, close your inventory and execute this command: /startinginv save
4. You will receive a message confirming that your current items have been saved to the config file.
5. To test that your file is saved correctly, clear your inventory and execute this command: /startinginv load
6. The items you saved using /startinginv save will be placed in your inventory.
NOTE: The command /startinginv load will clear your current inventory before adding the configured items.
The Older/Harder Method:
You can manually add items in 3 ways:
1. Using only the id:
minecraft:apple = a single apple.
2. Using the id and the quantity, separated with a ',':
4, 128 = 1 stack of cobblestone (the code that adds items to a chest truncates it to the max stack size)
3. Using the id, the quantity and the damage value:
351, 10, 4 = 10 lapis-lazuli dyes.
You can use more lines for more items:
1, 20
257 = 20 stone blocks and 1 iron pickaxe.
IDs for mod items and blocks are also accepted.
评论 0
登录后参与评分
还没有评论,来抢沙发吧