Skip to content

Commit f3a109d

Browse files
committed
Complete overhaul of the program for 1.16
1 parent 176e184 commit f3a109d

File tree

135 files changed

+925
-565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+925
-565
lines changed

SchematicToTrophy.sln renamed to MinecraftSchematicTo3DModel.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.28010.2048
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30320.27
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchematicToTrophy", "SchematicToTrophy\SchematicToTrophy.csproj", "{49DC0B71-F5C7-4B60-994E-F21D45FD75AD}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MinecraftSchematicTo3DModel", "MinecraftSchematicTo3DModel\MinecraftSchematicTo3DModel.csproj", "{49DC0B71-F5C7-4B60-994E-F21D45FD75AD}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
File renamed without changes.

SchematicToTrophy/App.xaml renamed to MinecraftSchematicTo3DModel/App.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Application x:Class="SchematicToTrophy.App"
1+
<Application x:Class="MinecraftSchematicTo3DModel.App"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4-
xmlns:local="clr-namespace:SchematicToTrophy"
4+
xmlns:local="clr-namespace:MinecraftSchematicTo3DModel"
55
StartupUri="MainWindow.xaml">
66
<Application.Resources>
77

SchematicToTrophy/App.xaml.cs renamed to MinecraftSchematicTo3DModel/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Threading.Tasks;
77
using System.Windows;
88

9-
namespace SchematicToTrophy
9+
namespace MinecraftSchematicTo3DModel
1010
{
1111
/// <summary>
1212
/// Interaction logic for App.xaml
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace MinecraftSchematicTo3DModel
8+
{
9+
public static class Data
10+
{
11+
public static List<String> ValidBlocks = new List<String>()
12+
{
13+
"iron_ore",
14+
"coal_ore",
15+
"nether_gold_ore",
16+
"oak_log",
17+
"spruce_log",
18+
"birch_log",
19+
"jungle_log",
20+
"acacia_log",
21+
"dark_oak_log",
22+
"crimson_stem",
23+
"warped_stem",
24+
"stripped_oak_log",
25+
"stripped_spruce_log",
26+
"stripped_birch_log",
27+
"stripped_jungle_log",
28+
"stripped_acacia_log",
29+
"stripped_dark_oak_log",
30+
"stripped_crimson_stem",
31+
"stripped_warped_stem",
32+
"stripped_oak_wood",
33+
"stripped_spruce_wood",
34+
"stripped_birch_wood",
35+
"stripped_jungle_wood",
36+
"stripped_acacia_wood",
37+
"stripped_dark_oak_wood",
38+
"stripped_crimson_hyphae",
39+
"stripped_warped_hyphae",
40+
"oak_wood",
41+
"spruce_wood",
42+
"birch_wood",
43+
"jungle_wood",
44+
"acacia_wood",
45+
"dark_oak_wood",
46+
"crimson_hyphae",
47+
"warped_hyphae",
48+
"sponge",
49+
"wet_sponge",
50+
"glass",
51+
"lapis_ore",
52+
"lapis_block",
53+
"sandstone",
54+
"chiseled_sandstone",
55+
"cut_sandstone",
56+
"white_wool",
57+
"orange_wool",
58+
"magenta_wool",
59+
"light_blue_wool",
60+
"yellow_wool",
61+
"lime_wool",
62+
"pink_wool",
63+
"gray_wool",
64+
"light_gray_wool",
65+
"cyan_wool",
66+
"purple_wool",
67+
"blue_wool",
68+
"brown_wool",
69+
"green_wool",
70+
"red_wool",
71+
"black_wool",
72+
"gold_block",
73+
"iron_block",
74+
"oak_slab",
75+
"spruce_slab",
76+
"birch_slab",
77+
"jungle_slab",
78+
"acacia_slab",
79+
"dark_oak_slab",
80+
"crimson_slab",
81+
"warped_slab",
82+
"stone_slab",
83+
"smooth_stone_slab",
84+
"sandstone_slab",
85+
"cut_sandstone_slab",
86+
"petrified_oak_slab",
87+
"cobblestone_slab",
88+
"brick_slab",
89+
"stone_brick_slab",
90+
"nether_brick_slab",
91+
"quartz_slab",
92+
"red_sandstone_slab",
93+
"cut_red_sandstone_slab",
94+
"purpur_slab",
95+
"prismarine_slab",
96+
"prismarine_brick_slab",
97+
"dark_prismarine_slab",
98+
"smooth_quartz",
99+
"smooth_red_sandstone",
100+
"smooth_sandstone",
101+
"smooth_stone",
102+
"bricks",
103+
"bookshelf",
104+
"mossy_cobblestone",
105+
"obsidian",
106+
"purpur_block",
107+
"purpur_pillar",
108+
"purpur_stairs",
109+
"oak_stairs",
110+
"diamond_ore",
111+
"diamond_block",
112+
"cobblestone_stairs",
113+
"redstone_ore",
114+
"ice",
115+
"snow_block",
116+
"clay",
117+
"pumpkin",
118+
"carved_pumpkin",
119+
"netherrack",
120+
"soul_sand"
121+
};
122+
}
123+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<Window x:Class="MinecraftSchematicTo3DModel.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:MinecraftSchematicTo3DModel"
7+
mc:Ignorable="d"
8+
Title="Minecraft Schematic to 3D Model" Height="550" Width="400" ResizeMode="CanMinimize">
9+
10+
<Grid>
11+
<Grid.RowDefinitions>
12+
<RowDefinition Height="*" />
13+
<RowDefinition Height="65" />
14+
</Grid.RowDefinitions>
15+
16+
<StackPanel Grid.Row="0" Grid.Column="0" VerticalAlignment="Stretch">
17+
<Grid Margin="10">
18+
<Label Content="Selected Schematics" FontSize="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" />
19+
<CheckBox Content="Include template stick.json?" x:Name="IncludeStickBool" FontSize="10" VerticalAlignment="Center" HorizontalAlignment="Right"/>
20+
</Grid>
21+
22+
<ListView BorderBrush="Black" x:Name="pathFiles" Height="395" Width="370" ScrollViewer.VerticalScrollBarVisibility="Auto">
23+
<ListView.ItemContainerStyle>
24+
<Style TargetType="ListViewItem">
25+
<Setter Property="IsEnabled" Value="False"/>
26+
</Style>
27+
</ListView.ItemContainerStyle>
28+
</ListView>
29+
</StackPanel>
30+
31+
<Button Content="Select Schematics Folder" Grid.Row="1" Height="45" Width="350" Margin="10" Click="Browse_Click" />
32+
</Grid>
33+
</Window>

0 commit comments

Comments
 (0)