MineJason 0.1.0-alpha
See the version list below for details.
dotnet add package MineJason --version 0.1.0-alpha
NuGet\Install-Package MineJason -Version 0.1.0-alpha
<PackageReference Include="MineJason" Version="0.1.0-alpha" />
paket add MineJason --version 0.1.0-alpha
#r "nuget: MineJason, 0.1.0-alpha"
// Install MineJason as a Cake Addin #addin nuget:?package=MineJason&version=0.1.0-alpha&prerelease // Install MineJason as a Cake Tool #tool nuget:?package=MineJason&version=0.1.0-alpha&prerelease
MineJason
MineJason is a .NET library that provides serialization compatible models for chat component (Raw JSON text format) in Minecraft: Java Edition.
Usage
Serialize and deserialize
To serialize or deserialize chat components, make sure to use ChatComponent.SerializerOptions
, so that your serialized output conforms to Minecraft: Java Edition format.
// Use the serializer options!
JsonConverter.Serialize(component, ChatComponent.SerializerOptions);
JsonConverter.Deserialize(json, ChatComponent.SerializerOptions);
Creating components
Create
methods in ChatComponent
class allows you to create various types of components.
Issues
Please report issues in the issue tracker.
Thanks
- Thanks JetBrains for providing a licence of their tools for open source development. The ReSharper VS extension is used in the development of this library.
- Thanks you for your interest on this library.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- JetBrains.Annotations (>= 2023.3.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MineJason:
Package | Downloads |
---|---|
MineJason.Extensions.SharpNbt
Package Description |
|
MineJason.Item
The item module for MineJason dealing with Item Components and more |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.6.0-alpha.2 | 67 | 6/20/2024 |
0.6.0-alpha | 61 | 6/14/2024 |
0.5.1-alpha | 73 | 5/25/2024 |
0.5.0-alpha | 66 | 5/10/2024 |
0.4.0-alpha | 92 | 2/12/2024 |
0.3.0-alpha.preview1 | 92 | 1/18/2024 |
0.2.1-alpha | 101 | 1/7/2024 |
0.2.0-alpha | 80 | 1/2/2024 |
0.1.0-alpha | 81 | 1/1/2024 |