Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

TeamWertarbyte/McTextBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

McTextBlock

McTextBlock is a WPF element for displaying Minecraft formatted text. It even supports obfuscated text (e.g. "§k secret").

Installation

You can either clone this repository and build the binaries from source or simply install the NuGet package using PM> Install-Package Craften.Utilities.McTextBlock.

Usage

For now, McTextBlock is the only element provided by the library. The usage is pretty straightforward.

<Window
    <!-- *snip* -->
    xmlns:mcf="clr-namespace:Craften.Utilities.McTextBlock;assembly=Craften.Utilities.McTextBlock">

    <mcf:McTextBlock
        Text="§k123§r §o§4Th§ce C§6ra§eft§aen§2 Se§3rv§1er §r§k123"
        FontSize="24"
        FontFamily="Lucida Console"
        VerticalAlignment="Center"
        x:Name="test"
        TextAlignment="Center" />

</Window>

License

All files in this repository are licensed under the MIT license, see the license file for more information.

About

A WPF component for rendering Minecraft formatted text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages