promotional bannermobile promotional banner

PlayerBlockState

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.

The PlayerBlockState Team

profile avatar
  • 2
    Projects
  • 16
    Downloads

More from luoweifengx

  • Refugee project image

    Refugee

    Modify the villagers' AI so that they can help you build, gather, and fight.

    • 10
    • September 7, 2026
  • Refugee project image

    Refugee

    Modify the villagers' AI so that they can help you build, gather, and fight.

    • 10
    • September 7, 2026