6 Commits
Author SHA1 Message Date
kq 48d103e763 Upload files to "/" 2026-08-12 20:41:37 +02:00
Kq b8038c9017 modified: Program.cs 2026-08-08 00:34:26 +02:00
Kq b32c808097 revert last one 2026-08-07 23:41:11 +02:00
Kq 71d19043fa 30 and 43 need to come back where it was 2026-08-07 23:36:17 +02:00
Kq 917ee37302 repaird how structures choose what to go 2026-08-07 23:24:21 +02:00
Kq dc4b7480d6 change block in hand too 2026-08-07 20:41:14 +02:00
4 changed files with 24 additions and 7 deletions
+16 -6
View File
@@ -11,6 +11,7 @@ public class Program
// string blockname;
static string ctm_dir;
static string texture_dir;
static void Main()
{
@@ -20,7 +21,7 @@ public class Program
// Dedupe, sort alphabetically once for consistent display
var blocks = AutoComplete.FullBlocks.Distinct().OrderBy(b => b).ToList();
Console.WriteLine("Minecraft 26.2 (Chaos Cubed) — Full Block Picker");
// Console.WriteLine("Minecraft 26.2 (Chaos Cubed) — Full Block Picker");
// Console.WriteLine("Type to filter, Up/Down to move, Tab/Enter to accept, Esc to cancel.");
Console.WriteLine();
@@ -107,14 +108,21 @@ public class Program
method=ctm
tiles=0-47";
File.WriteAllText(ctm_dir + "/" + blockname + ".properties", ctmproperties);
int[] top = { 4, 5, 7, 12, 13, 14, 15, 29, 31 };
int[] bottom = { 16, 17, 18, 36, 37, 38, 39, 40, 42 };
File.Copy(full_texture, texture_dir + "/" + blockname + ".png");
// old one
// int[] top = { 4, 5, 7, 12, 13, 14, 15, 29, 31 };
// int[] bottom = { 16, 17, 18, 36, 37, 38, 39, 40, 42 };
// int[] both = { 0, 1, 2, 3 };
// int[] none = { 6, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 41, 43, 44, 45, 46 };
int[] top = { 4, 5, 7, 12, 13, 14, 15,28, 29, 31, };
int[] bottom = { 16, 17, 18,36, 37, 38, 39, 40, 42 };
int[] both = { 0, 1, 2, 3 };
int[] none = { 6, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 41, 43, 44, 45, 46 };
int[] none = { 6, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 25, 26, 27,30, 32, 33, 34, 35, 41,43, 44, 45, 46 };
foreach (int i in top)
@@ -141,8 +149,10 @@ tiles=0-47";
string pack_Name = "output";
ctm_dir = Path.Combine(working_dir,pack_Name, "assets/minecraft/optifine/ctm/" + blockname);
texture_dir = Path.Combine(working_dir,pack_Name, "assets/minecraft/textures/block/");
Directory.CreateDirectory(ctm_dir);
Directory.CreateDirectory(texture_dir);
// Directory.CreateDirectory(working_dir + "/1output/assets");
string mcmeta = @"{
+8 -1
View File
@@ -233,7 +233,14 @@ namespace txtgen
}
else if (!char.IsControl(key.KeyChar))
{
buffer += key.KeyChar;
/// i did it so it may not work with rest
char number = key.KeyChar;
if (key.KeyChar == ' ')
{
number = '_';
}
buffer += number;
filtered = FilterAndRank(options, buffer);
selectedIndex = 0;
scrollOffset = 0;
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB