跳到正文

HexAutomata

作者:YukkuriC

Provides items with ability listening to various game events and triggering custom spells; along with extending more possibilities about the ancient Brainsweep spell.

收藏

介绍

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

HexAutomata

Curseforge CurseForge
Modrinth Modrinth

Provides items with ability listening to various game events and triggering custom spells; along with extending more possibilities about the ancient Brainsweep spell.

A badge for hexdoc in the style of Devins Badges
A badge for addons.hexxy.media in the style of Devins Badges

Features

_I found a way – using the intelligence from a settled villager mind, with some special “concepts” from wild creatures – to create a kind of special spell-casters: Reactive Focus._

  • Reactive Focus: focus bound with certain game events happening on player
  • Events to listen to:
  • enemy targeting player (without tag #hexautomata:ignore_targeting)
  • player taking damage (both source and attacker without tag #hexautomata:ignore_hurt)
  • player shooting projectile
  • projectile hit something
  • melee attack something
  • killing something
  • being teleported
  • Crafted by brainsweep recipes
  • all from Akashic Record as source block
  • Places to take effect:
  • Inventory (default: false)
  • Main/Off hand (default: true; takes no effect if Inventory set to true)
  • Ender Chest (default: false)
  • Curios/Trinkets slots (default: true)
  • _config entries controlling whether sources above are enabled_
  • Reactive Focus Nexus: an item holding multiple Reactive Focuses
  • all inner focuses take effect as if they’re outside
  • crafted with a multiblock structure, ending with another brainsweep (accepting targets with tag #hexautomata:multi_threaded) ritual multiblock
  • Special patterns taking effect exclusively inside triggered events

_I am mind, and mind is media… Body is the vessel, heavy and fragile… I shall expose my mind, taking me out of the vessel, I shall see more, I …_

  • Another advancement-based progression and functions extending Brainsweep great spell :3
  • a new way of transportation

Interop

KubeJS

HAPatches and PatchAction

Allowing packmakers to patch actions the same way as OpBrainsweep.
Also exposes two special errors: USE_ORIGINAL and STOP_ALL for better control over custom brainsweeps.

BrainsweepCallback

Exposes BrainsweepCallback to server/startup scripts binding, allowing custom brainsweep callbacks to be registered.

Registering a callback:

BrainsweepCallback.create(priority,
    entityId, iotaTypeId, // nullable type ids
    (entity, iota, env) => {
        // return SpellAction.Result or null
        return BrainsweepCallback.buildResult(env => {
            // do something
            // or stop here
            throw PatchAction.STOP_ALL
        }, 0)
    }
);
  • entityId and iotaTypeId accept ResourceLocation strings. Iota type IDs under the minecraft namespace are automatically remapped to hexcasting.
  • Use BrainsweepCallback.forceSet(key, callback) to override an existing callback registration.

HexParse

Registers Reactive Focus as an item I/O handler via HexParseAPI.CreateItemIOMethod, enabling HexParse to read and write iotas directly from/to Reactive Focus items.

常见问题

HexAutomata 支持哪些 Minecraft 版本?

HexAutomata 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

HexAutomata 怎么安装?

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

评论

登录后评论和评分

YukkuriC 的其他作品

查看全部 →