Prickle MODについて
PrickleはJSONベースの設定フォーマットです。このMODを使うと、そのフォーマットをMinecraftで利用できるようになります!技術的なドキュメントについてはGitHubページをご覧ください。
よくある質問
Prickleにはどんな利点がありますか?PrickleはJSONをベースにしていますが、コメントやデコレーターなど、いくつかの便利な機能を追加しています。PrickleはJSONと100%後方互換性があり、そのすべての機能、ツール、シンタックスハイライトをサポートしています。
なぜPrickleという名前なのですか?Prickleはハリネズミの群れを指す集合名詞です。ハリネズミは私のお気に入りの動物の一つで、設定ファイルの比喩としてぴったりだと思います。たとえば、どちらも最初は威圧的に見えるかもしれませんが、知って理解すれば親しみやすくなります。
なぜ既存のフォーマットを使わないのですか?以前は設定ファイルにJSONを使っていましたが、コメントやデフォルト値の欠如など、いくつかの問題がありました。Prickleはこれらの機能をJSONに追加しつつ、100%後方互換性を保っています。TOMLのような他のフォーマットも試しましたが、そのJava実装の多くに失望しました。それらは私が重要だと考える機能を欠いていることが多く、深刻なバグがあり、もはやメンテナンスされていません。MinecraftはすでにデータパックやコマンドにJSONを使用しているため、ほとんどのプレイヤーにとって馴染みのある選択肢です。
フォーマット仕様
Prickleでは、プロパティの値はJSONオブジェクトでラップされます。これにより、コメントなどのメタデータをそのプロパティに付与できます。
たとえば、標準的なJSONファイルは次のようになります。
{ "databasehost": "192.168.1.222" }
同じJSONをPrickleファイルにすると次のようになります。
{ "databasehost": { "//": "The IP address of the database to connect to.", "value": "192.168.1.222" } }
コメント
//キーはコメント用に予約されています。コメントは読者に追加の文脈を提供するためだけに使われ、ファイルの解析方法に影響を与えてはいけません。コメントはJSON文字列、または複数行コメント用の文字列の配列にできます。
{ "databasehost": { "//": [ "The IP address of the database to connect to.", "The port can be defined at the end using an :" ], "value": "192.168.1.222:1273" } }
デコレーター
デコレーターは、プロパティの特定の属性を伝える名前付きコメントです。よくあるデコレーターの例は//defaultで、これはプロパティのデフォルト値を表示するために使えます。コメントと同様に、デコレーターはファイルの解析方法に影響を与えず、プロパティがどのように解析されるかを説明するだけです。
prickleファイルでは、次のようないくつかのデコレーターに出会うことがあります。
- //default - プロパティのデフォルト値。
- //reference - 詳しく学ぶために使えるリソース。たとえばwikiページへのリンク。
- //range - 値の許容範囲。たとえば>=5。
- //regex - 値が一致しなければならない正規表現パターン。
- //empty-allowed - 値を空にできるかどうか。(デフォルトはtrue)。
スポンサー
このプロジェクトはNodecraftがスポンサーです。コードDARKHAXを使うと、最初の1か月のサービスが30%オフになります!
Prickleのインストール方法
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.21–26.3 on Fabric, NeoForge or Quilt automatically, together with its dependencies: Fabric API.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, NeoForge or Quilt
The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file PrickleMC-neoforge-MC26.3-26.3.0.2.jar (80 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.
Launch the loader profile
Open “Mods” in the main menu: Prickle should be in the list.
On a server
A server on Fabric, NeoForge or Quilt
The mod only works on a server with the same loader and game version, for example 26.3.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
バージョン
依存関係あり
| Minecraft | ローダー | ファイル | 日付 | 操作 |
|---|---|---|---|---|
| 26.3 | NeoForge | 26.380.4 KB 4 | ||
| 26.3 | Fabric | 26.383.4 KB 84 | ||
| 26.2 | Fabric | 26.282.9 KB 39 | — | |
| 26.1 | Fabric | 26.182.9 KB 9 | — | |
| 1.21.11 | Fabric, Quilt | 1.21.1185.2 KB 6 | — | |
| 1.21 | NeoForge | 1.2181.6 KB | — |
動作に必要なもの
FAQ
Which Minecraft versions does Prickle work on?
There are files for 1.21–26.3, 7 versions in total. The newest is 26.3.
Is Prickle for Forge or Fabric?
There are files for Fabric: 1.21.11–26.3, for NeoForge: 1.21–26.3 and for Quilt: 1.21.11. There are no files for Forge: a mod for another loader will not start.
What does Prickle need to work?
Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.
Does Prickle work on a server?
Yes. Prickle works both in singleplayer and on a server.
Where can I download Prickle safely?
On this page: the file PrickleMC-neoforge-MC26.3-26.3.0.2.jar (80 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d8e977765bcfd80ee87728bf9f6891adcbfd25b1.
レビュー
Prickleの最初の評価を書きませんか


