SpyGlassMe - 模块化战利品数据包
为你选择的箱子激活望远镜战利品!
这是 SpyGlassMe 模组的官方配套数据包。它包含一组预配置好的战利品表文件,你可以从中挑选并选择,以便在特定的原版建筑中加入魔法望远镜。
工作原理
主模组 SpyGlassMe 会自动生成所需的数据包文件夹结构,但初始的战利品文件夹是空的。此数据包充当单个战利品文件的库。
通过从此包中复制一个文件(例如 simple_dungeon.json)到你世界生成的数据包文件夹中,即可“激活”该特定结构的望远镜战利品。你拥有完全的控制权。
安装与使用
- 前置要求: 确保已安装主 SpyGlassMe Mod,并且至少加载过一次你的世界。这将创建必要的空文件夹。
- 下载与解压: 在你的电脑上下载并解压此数据包文件。你将看到一系列
.json 文件,每个文件都以一个原版建筑的名称命名。
- 选择战利品: 选择你希望望远镜生成的建筑。
- 复制文件: 仅复制你所选结构对应的
.json 文件。
- 粘贴到世界中: 导航到你的世界存档文件夹,并将复制的文件粘贴到以下目录:
...[your_world_save]/datapacks/SpyGlassMe/data/minecraft/loot_tables/chests/
- 重载: 加载你的世界并运行命令
/spyglassme reload。现在,望远镜就有机会出现在你选择的建筑的箱子中了!
示例场景
你只希望望远镜出现在沙漠神殿和沉船中。
- 从解压后的文件夹中,复制
desert_pyramid.json 和 shipwreck_treasure.json。
- 然后将这两个文件粘贴到上述说明中提到的
chests 文件夹中。
- 运行
/spyglassme reload 后,只有这两个结构有机会包含望远镜。
高级自定义
- 移除战利品: 若要停止在某类结构中生成望远镜,只需从你世界的数据包文件夹中删除其对应的
.json 文件,然后运行 /spyglassme reload。
- 更改概率: 你可以用文本编辑器打开任何
.json 文件来修改战利品概率或条件。
需求
SpyGlassMe - Modular Loot Datapack
Activate spyglass loot in the chests of your choice!
This is the official companion datapack for the SpyGlassMe mod. It contains a collection of pre-configured loot table files that you can pick and choose from to add the magical spyglasses to specific vanilla structures.
How It Works
The main SpyGlassMe mod automatically generates the entire required datapack folder structure in your world, but the loot folders start empty. This datapack acts as a library of individual loot files.
By copying a file from this pack (e.g., simple_dungeon.json) into your world's generated datapack folder, you "activate" spyglass loot for that specific structure. You have full control.
Installation & Usage
- Prerequisite: Make sure you have the main SpyGlassMe Mod installed and have loaded your world at least once. This creates the necessary empty folders.
- Download & Unzip: Download and unzip this datapack file on your computer. You will see a collection of
.json files, each named after a vanilla structure.
- Pick Your Loot: Choose which structures you want spyglasses to spawn in.
- Copy the Files: Copy only the
.json files for the structures you have chosen.
- Paste into Your World: Navigate to your world save folder and paste the copied files into the following directory:
...[your_world_save]/datapacks/SpyGlassMe/data/minecraft/loot_tables/chests/
- Reload: Load your world and run the command
/spyglassme reload. The spyglasses will now have a chance to appear in the chests of the structures you selected!
Example Scenario
You only want spyglasses to appear in Desert Pyramids and Shipwrecks.
- From the unzipped folder, you would copy
desert_pyramid.json and shipwreck_treasure.json.
- You would then paste those two files into the
chests folder mentioned in the instructions above.
- After running
/spyglassme reload, only those two structures will have a chance to contain spyglasses.
Advanced Customization
- Removing Loot: To stop spyglasses from appearing in a certain structure, simply delete its corresponding
.json file from your world's datapack folder and run /spyglassme reload.
- Changing Chances: You can open any
.json file with a text editor to modify the loot chances or conditions.
Requirements
- This datapack will work without the main mod but will be useless!
- You must have the SpyGlassMe Mod installed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧