WorldLoot
Generate structures pre- and post-generation of your chunks. Useful if you want random loot drops spawning in your world like in shooter games
截图
介绍
WorldLoot
WorldLoot allows you to generate structures post-generation in your world.
This can be used for stuff such as random loot drops inside your world that spawn inside generated and new chunks.
How to set up
- Download latest release
- Put the mod inside a Minecraft 26.2 instance (useful guide https://docs.fabricmc.net/players/installing-fabric/)
- Launch Minecraft with the mod
- Configure inside
<minecraft_dir>/config/worldloot.json - Restart the game and test the change
Config
Default config
{
"discord": {
"enabled": false,
"webhookUrl": "WEBHOOK_URL",
"lootCache": "New loot cache \"{name}\" at {x}, {y}, {z}. Time: {formatted_time}."
},
"structures": {
"minecraft:overworld": [
{
"name": "Example",
"structureLocation": "worldloot:example",
"centerSpawn": {
"x": 0,
"z": 0
},
"radius": 100,
"intervalTicks": 24000,
"verticalBoundary": {
"minY": 50,
"maxY": 100
},
"retries": 5,
"chatMessage": "New loot: {x}, {y}, {z}",
"minPlayers": 0,
"offset": {
"x": 1,
"y": 2,
"z": 1
}
}
]
}
}
Explanation
Discord
- enabled:
boolean - should this feature be enabled?
- webhookUrl:
String, url - url of the webhook to use (e.g. from Discord), blank (“”, ” “, etc.) disables sending messages
- lootCache:
String - message to send via webhook
Structures/Dimension
- dimension id (visible in F3 screen)
String, identifier → structuresStructure[]
Structure
- name:
String - the name of your structure (should be unique)
- structureLocation:
String, identifier - Minecraft datapack location of your structure, example: minecraft:village/plains/houses/plains_stable_1
- centerSpawn:
{x, y} - coordinates of your center of the radius in which a structure should spawn in
- radius:
int - the radius of the square area
- intervalTicks:
int - how many ticks to wait between spawns
- verticalBoundary:
{minY, minX} - in which height your structure may only spawn in (offset is applied after that)
- retries:
int - how many times to retry at max after structure spawn couldn’t meet criteria inside verticalBoundary
- chatMessage:
String - message to send in chat, blank (“”, ” “, etc.) disables sending messages
- minPlayers:
int - minimum players online in order to advance the timer
- offset:
{x, y, z} - where you want to move the structure (if you want the structure to be just buried a bit then you can configure it here or want to center the structure)
Placeholders
Messages inside the config support following placeholders:
{x}: structure spawn x pos{y}: structure spawn y pos{z}: structure spawn z pos{name}: structure name{formatted_time}: Time formatted e.g. 2026-08-12 13:40:09{dc_relative_time}: Shows 2 minutes ago, etc. inside Discord (adapted to time zone){dc_short_time}: Shows 13:42, etc. inside Discord (adapted to time zone){dc_long_time}: Shows 13:42:00, etc. inside Discord (adapted to time zone){dc_short_date_time}: Shows 12/08/26, etc. inside Discord (adapted to time zone){dc_long_date_time}: Shows 12 August 2026, etc. inside Discord (adapted to time zone){dc_long_date_short_time}: Shows 12 August 2026 13:42, etc. inside Discord (adapted to time zone){dc_long_date_day_of_week_short_time}: Shows Wednesday, 12 August 2026 13:42, etc. inside Discord (adapted to time zone){unix_millis}: Milliseconds since Jan 01 1970. (UTC): e.g. 1786535327509{unix_secs}: Seconds since Jan 01 1970. (UTC): e.g. 1786535327
WorldLoot participates at stardancead
常见问题
WorldLoot 支持哪些 Minecraft 版本?
WorldLoot 支持 Minecraft Java 版 26.1–26.2,共 4 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
WorldLoot 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Onako2 的其他作品
查看全部 →
I want it earlier (Mounts of Mayhem, IWIE)
This Minecraft Mod adds things from the Minecraft Live before Mojang publishes them in a snapshot! Or just backport the new stuff..
Metalized
Adds more variants of iron, gold, diamonds etc. blocks!
Neboptimization
A Modpack which is focused to optimize Minecraft's FPS and add some QOL Features
Atlantis
Minecraft Atlantis ist ein Projekt des Cee_1-Team's. Dieses ist Modpack für das Minecraft-Projekt Atlantis! Für die Teilname am Projekt dringend Empfohlen.
评论
登录后评论和评分