Minecraft 26.2+ ガイド
| パラメータ | 仕様 |
|---|---|
| 対象 Minecraft バージョン | 26.2(および今後の 26.x と互換) |
| Fabric Loader 要件 | >=0.18.4 |
| Java 実行環境 | JDK 25 |
| ライブラリバージョン | 1.8.15 |
| Mod ID | dasik-library |
| Mod 名称 | Dasik Library |
| ライセンス | LGPL-3.0 |
📌 ソースリポジトリに関する注意事項: 本 Wiki のドキュメントは現在のリポジトリ内ソースコードの状態を反映しており、CurseForge や Modrinth での一般リリース版に先駆けて実装された最新のコミットや開発中の機能が含まれている場合があります。
🛠️ 概要&導入方法
Dasik Library は、Vanilla Outsider、Instant Gratification、および Delayed Gratification シリーズの各 Mod にとって必須の実行時前提ライブラリです。ソーシャル AI の統合 Tick スケジューリング、動物遺伝学、Boids ベクトル計算、動的 GameRule 登録を提供します。
📥 プレイヤー向けインストール
- Minecraft
26.2に対応した Fabric Loader(0.18.4以降)を導入します。 .minecraft/modsフォルダに Fabric API(0.152.1+26.2以降)が配置されていることを確認します。dasik-library-1.8.15.jarをダウンロードし、依存 Mod(Better Dogs, Natural Reproduction など)とともに.minecraft/modsに配置します。
💻 Mod 開発者向け依存設定
自身の fabric.mod.json に Dasik Library を追加します:
json
{
"schemaVersion": 1,
"id": "my_consumer_mod",
"version": "1.0.0+26.2",
"name": "My Consumer Mod",
"depends": {
"fabricloader": ">=0.18.4",
"minecraft": ">=26.1.2-",
"dasik-library": "*"
}
}gradle.properties に追加:
properties
dasik_library_version=1.8.15build.gradle に追加:
kotlin
repositories {
maven {
name = "Modrinth"
url = uri("https://api.modrinth.com/maven")
}
}
dependencies {
modImplementation("maven.modrinth:dasik-library:1.8.39")
}groovy
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
dependencies {
modImplementation "maven.modrinth:dasik-library:1.8.39"
}xml
<repositories>
<repository>
<id>modrinth</id>
<url>https://api.modrinth.com/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>maven.modrinth</groupId>
<artifactId>dasik-library</artifactId>
<version>1.8.39</version>
</dependency>
</dependencies>⚙️ 26.2+ における主要アーキテクチャ変更点
- Mojang Sovereign マッピング: Mojang 公式マッピング(
level,ServerLevel,EntityTypes)を使用します。旧来の Yarn 命名(world,getWorld)は完全廃止されました。 - Identifier API:
Identifier.fromNamespaceAndPath(namespace, path)またはIdentifier.parse(string)を使用します。非推奨のIdentifier.of()は使用されません。 - 開放型バージョン境界(
>=26.1.2-): 単一の JAR ファイルで今後の Minecraft26.2+パッチアップデートに対応しつつ、ModVersionGuardにより実行時の安全性を保証します。
