
sya-ri/strata
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
再利用可能なコンポーネントツリー、バージョンに依存しないレイアウトと状態、Minecraftを起動せずにヘッドレステストでMinecraft UIを宣言します.
概要
再利用可能なコンポーネント、コーダ所有状態、ヘッドレスレンダリングでMinecraft UIを宣言。 ファブリックモッズまたはペーパー、フォリア、およびVelocityプラグインからカスタムスクリーンとHUDを作成します。 Server-driven UI の場合、サーバーまたはプロキシは、必要な Strata Fabric クライアント Mod がインターフェイスをレンダリングし、プレーヤーの入力を配信しながら、定義、状態、およびイベントハンドラを所有しています。 バニラクライアントは、これらのUIを表示することはできません。 このページは開発ソースを文書化します。 インストールされたバージョンでは、一致するリリースタグでドキュメントを使用します。 Minecraft スクリーンは、レイアウト、入力、状態、リソース、バージョン固有のコールを1つのクラスで混入することが多い。 Strata はこれらの責任を分離し、インターフェイスは共通 API によって構成され、再使用し、テストすることができます。 - 画面またはHUDとして1つのインターフェイスを保ち、そのプレゼンテーションを切り替え、そのセッションを通してゲームの入力を制御する。 - 行、列、グループ、グリッド、およびオーバーレイをラップするインターフェイスを配置します.
概要(AI 翻訳)
ストラタ
再利用可能なコンポーネント、コーダ所有状態、ヘッドレスレンダリングでMinecraft UIを宣言。
ファブリックモッズまたはペーパー、フォリア、およびVelocityプラグインからカスタムスクリーンとHUDを作成します。 Server-driven UI の場合、サーバーまたはプロキシは、必要な Strata Fabric クライアント Mod がインターフェイスをレンダリングし、プレーヤーの入力を配信しながら、定義、状態、およびイベントハンドラを所有しています。 バニラクライアントは、これらのUIを表示することはできません。
Modrinth · ハンガー · CurseForge
このページは開発ソースを文書化します。 インストールされたバージョンでは、一致するリリースタグでドキュメントを使用します。
事例・フレーム
Minecraft スクリーンは、レイアウト、入力、状態、リソース、バージョン固有のコールを1つのクラスで混入することが多い。 Strata はこれらの責任を分離し、インターフェイスは共通 API によって構成され、再使用し、テストすることができます。
ビルドできるもの
- 画面またはHUDとして1つのインターフェイスを保ち、そのプレゼンテーションを切り替え、そのセッションを通してゲームの入力を制御する。
- 行、列、グループ、グリッド、およびオーバーレイをラップするインターフェイスを配置します。
- コントロール、テキストエディタ、スクロールビュー、画像、およびMinecraftリソースをバックアップしたコンテンツを構成します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Declarative Minecraft UI with reusable components, caller-owned state, and headless rendering.
Create custom screens and HUDs from Fabric Mods or Paper, Folia, and Velocity plugins. For server-driven UIs, the server or proxy owns the definitions, state, and event handlers, while the required Strata Fabric client Mod renders the interface and delivers player input. Vanilla clients cannot display these UIs.
Modrinth · Hangar · CurseForge
This page documents the development sources; for an installed version, use the documentation at its matching release tag.
Minecraft screens often mix layout, input, state, resources, and version-specific calls in one class. Strata separates those responsibilities so an interface can be composed, reused, and tested through a common API.
What you can build
- Keep one interface as a screen or HUD, switch its presentation, and control game input through its session.
- Arrange interfaces with rows, columns, wrapping groups, grids, and overlays.
- Compose controls, text editors, scrolling views, images, and Minecraft resource-backed content.
- Add sizing, backgrounds, pointer and keyboard actions, focus, and layout parent data through modifiers.
- Reuse application components or implement custom primitives through the public Element and Node SPI.
- Render portable drawing and semantics in JVM tests, with separate loaded-client verification for native behavior.
The component overview shows the available components with images and compiled examples. Complete screens demonstrate how they fit together. Try the interactive web demos for a counter, progress controls, and a keyed list running in your browser.
A screen built from components
A confirmation screen combines text, buttons, and layout components into a reusable UI definition.
Compare components and browse their examples.
Installation
Fabric client and server
Players need the Strata Fabric runtime, Fabric API, and Fabric Language Kotlin for both client-defined and server-driven UIs.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add sya-ri/strata