MineJason 0.4.0-alpha

This is a prerelease version of MineJason.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package MineJason --version 0.4.0-alpha                
NuGet\Install-Package MineJason -Version 0.4.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MineJason" Version="0.4.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MineJason --version 0.4.0-alpha                
#r "nuget: MineJason, 0.4.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MineJason as a Cake Addin
#addin nuget:?package=MineJason&version=0.4.0-alpha&prerelease

// Install MineJason as a Cake Tool
#tool nuget:?package=MineJason&version=0.4.0-alpha&prerelease                

MineJason

GitLab Last Commit AppVeyor Build Discord QQ

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

From version 0.3.1-alpha onwards, you serialize and deserialize the ChatComponent types normally like how you would serialize other types.

The ChatComponent.SerializerOptions is deprecated and removed. Please do not use it. The JsonComponentSerializer class is also deprecated.

Please do not use Newtonsoft.Json, as it is not currently supported. Instead, use System.Text.Json.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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 57 6/20/2024
0.6.0-alpha 55 6/14/2024
0.5.1-alpha 69 5/25/2024
0.5.0-alpha 62 5/10/2024
0.4.0-alpha 84 2/12/2024
0.3.0-alpha.preview1 88 1/18/2024
0.2.1-alpha 95 1/7/2024
0.2.0-alpha 76 1/2/2024
0.1.0-alpha 77 1/1/2024