跳到正文

Tensura Race Spawn Settings (TRSS)

作者:mappleaf

A small addon for Tensura Reincarnated that lets you configure custom spawn locations for each race.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Tensura Race Spawn Settings

(Tensura Race Spawns or just TRSS for short)

A small addon for Tensura Reincarnated that lets you configure custom spawn locations for each race.
The main idea is simple: different races can start in different dimensions, biomes, or structures. This also works with races added by other addons, as long as you know their registry id.

What it does

The addon can:

  • set a race-specific initial spawn point;
  • search for configured biomes (or tags);
  • search for configured structures (or tags);
  • optionally use Async Locator Refined for async biome/structure search;
  • assign found spawn locations to specific players if configured;

Configuration is stored in:

config/tensura/race_spawns.toml

Example:

[settings]
    spawnRadius=6400
    useAsyncLocator=true

[Races]
    [Races.slime]
        spawnDimension="minecraft:overworld"
        spawnBiome=["#minecraft:is_overworld"]
        spawnStructure=[]
        onlyInitial=true
        assignedToPlayer=false

    [Races."exampleaddon:custom_race"]
        spawnDimension="minecraft:overworld"
        spawnBiome=["minecraft:swamp", "#is_taiga"]
        spawnStructure=["#minecraft:village", "minecraft:mineshaft"]
        onlyInitial=false
        assignedToPlayer=true

Config behavior

Empty values mean “ignore this option and use the default spawn logic”.

spawnDimension=""
spawnBiome=[]
spawnStructure=[]

If all three spawn fields are empty, the player uses the normal world spawn.
onlyInitial=true means the found point is used like a normal /spawnpoint or bed spawn.
onlyInitial=false makes the configured spawn behave more like a personal world spawn for that player.
assignedToPlayer=true prevents the same configured biome/structure location from being reused for another player.

Also you can hot-reload your config in-game:

/tensuraracespawns reload

Optional dependency

常见问题

Tensura Race Spawn Settings (TRSS) 支持哪些 Minecraft 版本?

Tensura Race Spawn Settings (TRSS) 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Tensura Race Spawn Settings (TRSS) 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分