mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add details on how to use BlockPaletteGenerator.cs (#1111)
This commit is contained in:
parent
d2125bebb3
commit
5eea7441b7
1 changed files with 12 additions and 0 deletions
|
|
@ -9,6 +9,18 @@ namespace MinecraftClient.Mapping.BlockPalettes
|
|||
/// <summary>
|
||||
/// Generator for MCC Block Palette mappings
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Example for generating MaterialXXX.cs and PaletteXXX.cs from blocks.json:
|
||||
///
|
||||
/// MinecraftClient.Mapping.BlockPalettes.BlockPaletteGenerator.JsonToClass(
|
||||
/// @"C:\Path\To\blocks.json",
|
||||
/// @"C:\Path\To\Output\PaletteXXX.cs",
|
||||
/// @"C:\Path\To\Output\MaterialXXX.cs"
|
||||
/// );
|
||||
///
|
||||
/// Place the above example inside the Main() method of Program.cs, adjust paths then compile and run.
|
||||
/// Do not forget to remove the temporay call to JsonToClass() from Main() once you are done.
|
||||
/// </remarks>
|
||||
public static class BlockPaletteGenerator
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue