跳到正文

PlayerBlockState

作者:luoweifengx

Record chunk scores based on player actions to define player territory.

收藏

介绍

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

GitHub Repository Homepage

Query for regions based on chunk statusQuery for players' occupied territoriesThe result of the surrounding chunks of the player's chunk after four complete infection actions under the infected state

Overview


Scores are recorded per chunk from what players actually do: placing and breaking blocks, time spent in a chunk, and deaths. Those scores decide occupation, so territory grows from activity instead of from a drawn claim. Buildings are no longer just spectacles — they become things that change the world.

Chunk types


Natural: Nobody has reached the occupation threshold. Unowned. The starting state of every chunk.

Occupied: Someone (or an organization) has exceeded the occupation threshold, and every cardinal neighbor is still that owner’s occupied or border land. This is the interior of a territory.

Border: The ring around occupied land that touches a chunk that is not the owner’s. The land still belongs to the occupier, but it is easier to take than the interior.

Hostile border: Natural land immediately adjacent to a border. It belongs to nobody. In infection mode it is written by sampling; in spread mode it extends outward from the border (width is configurable).

Hostile occupied: Infection can rewrite natural / hostile-border chunks into hostile occupied chunks (`HOSTILE`). These are not hostile borders, and they do not belong to any player.

Safe: Special chunks that have been marked as such.

Death: Someone’s score has fallen below the death threshold. Each later settlement restores part of the death penalty.

Demon: When a Nether or End portal is opened or activated, the chunk that contains the portal block becomes a demon chunk. Each settlement, every demon chunk has a 1% chance to spread to a random cardinal neighbor. Demon chunks overwrite any other type, and cannot themselves be overwritten by occupied, border, or similar states.

Multiplayer


Organizations follow the same scoring rules. Joining or leaving an organization also merges the player’s claimed chunks into (or leaves them with) the organization, so groups can share territory without a separate claiming system.

 

Note


This mod is largely AI-written and is still in early testing. It has passed small-scale in-game tests and AI-written unit tests.

常见问题

PlayerBlockState 支持哪些 Minecraft 版本?

PlayerBlockState 支持 Minecraft Java 版 1.21.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

PlayerBlockState 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

luoweifengx 的其他作品

查看全部 →