介绍
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
.jsonfiles, each named after a vanilla structure. - Pick Your Loot: Choose which structures you want spyglasses to spawn in.
- Copy the Files: Copy only the
.jsonfiles 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.jsonandshipwreck_treasure.json. - You would then paste those two files into the
chestsfolder 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
.jsonfile from your world’s datapack folder and run/spyglassme reload. - Changing Chances: You can open any
.jsonfile 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.
常见问题
SpyGlassMeData 支持哪些 Minecraft 版本?
SpyGlassMeData 支持 Minecraft Java 版 1.21.4–1.21.8,共 5 个版本。下载时注意选择和你游戏版本一致的文件。
SpyGlassMeData 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
official.andy 的其他作品
查看全部 →
Shulker & Bundle
副手持有潜影盒时,可按住 Shift 点击打开潜影盒或拾取物品。 无论快捷栏以外的物品栏中哪里有收纳袋,都可以按住 Shift 点击打开或拾取物品。
SwordSight
SwordSight 让武器攻击时不再被草、长草等方块挡住!
ShopShelves
以全新进阶方式打造管理员商店和玩家商店:ShopShelves 和 PlayerShelves。
Mob Ignore Me
让幻翼等特定生物无视你。
评论
登录后评论和评分