mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 22:06:11 +00:00
Added one example entry to newly created MaterialFiles
This commit is contained in:
@@ -33,7 +33,8 @@ namespace PckStudio.Forms.Utilities
|
||||
using (var stream = new MemoryStream())
|
||||
{
|
||||
var matFile = new MaterialsFile();
|
||||
MaterialsWriter.Write(stream, matFile);
|
||||
matFile.entries.Add(new MaterialsFile.MaterialEntry("bat", "entity_alphatest"));
|
||||
MaterialsWriter.Write(stream, matFile);
|
||||
file.SetData(stream.ToArray());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user