From 9b67f6aa86295adabbf24bba27510990f2555f80 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Sat, 20 Dec 2025 02:18:51 +0100 Subject: [PATCH] Add latext2lce_paintings.json --- PckStudio.Core/GameConstants.cs | 1 + PckStudio.Core/PckStudio.Core.csproj | 1 + .../Properties/Resources.Designer.cs | 139 ++++++++++++------ PckStudio.Core/Properties/Resources.resx | 6 + .../Resources/java/latest2lce_paintings.json | 3 + 5 files changed, 106 insertions(+), 44 deletions(-) create mode 100644 PckStudio.Core/Resources/java/latest2lce_paintings.json diff --git a/PckStudio.Core/GameConstants.cs b/PckStudio.Core/GameConstants.cs index 1b77c1ab..e41b9afa 100644 --- a/PckStudio.Core/GameConstants.cs +++ b/PckStudio.Core/GameConstants.cs @@ -90,6 +90,7 @@ namespace PckStudio.Core LCEGameVersion._1_14 when atlasType == AtlasResource.AtlasType.ItemAtlas => 18, LCEGameVersion._1_14 when atlasType == AtlasResource.AtlasType.BlockAtlas => 39, _ when atlasType == AtlasResource.AtlasType.PaintingAtlas => 16, + _ when atlasType == AtlasResource.AtlasType.ParticleAtlas => 16, _ => throw new NotImplementedException() }; } diff --git a/PckStudio.Core/PckStudio.Core.csproj b/PckStudio.Core/PckStudio.Core.csproj index f4a45064..4cdbbe41 100644 --- a/PckStudio.Core/PckStudio.Core.csproj +++ b/PckStudio.Core/PckStudio.Core.csproj @@ -256,6 +256,7 @@ + diff --git a/PckStudio.Core/Properties/Resources.Designer.cs b/PckStudio.Core/Properties/Resources.Designer.cs index 09e16b44..48a2f51c 100644 --- a/PckStudio.Core/Properties/Resources.Designer.cs +++ b/PckStudio.Core/Properties/Resources.Designer.cs @@ -146,29 +146,27 @@ namespace PckStudio.Core.Properties { /// /// Looks up a localized string similar to { - /// "COMMENT_1": "Tile data research by MattNL", - /// "COMMENT_2": "JSON by PhoenixARC, MattNL, and NessieHax (Miku-666)", - /// "entries": [ - /// { - /// "internalName": "grass_top", - /// "displayName": "Grass Block (Top)", - /// - /// "colourEntry": { - /// "defaultName": "Grass_Common", - /// "colorCategory": ["Grass"] - /// } - /// }, - /// { - /// "internalName": "stone", - /// "displayName": "Stone" - /// }, - /// { - /// "internalName": "dirt", - /// "displayName": "Dirt" - /// }, - /// { - /// "internalName": "grass_side", - /// "displayName": "Grass [rest of string was truncated]";. + /// "COMMENT_1": "Tile data research by MattNL", + /// "COMMENT_2": "JSON by PhoenixARC, MattNL, and NessieHax (Miku-666)", + /// "entries": [ + /// { + /// "internalName": "grass_top", + /// "displayName": "Grass Block (Top)", + /// "colorKey": "Grass" + /// }, + /// { + /// "internalName": "stone", + /// "displayName": "Stone" + /// }, + /// { + /// "internalName": "dirt", + /// "displayName": "Dirt" + /// }, + /// { + /// "internalName": "grass_side", + /// "displayName": "Grass Block (Side)" + /// }, + /// { [rest of string was truncated]";. /// public static string blockData { get { @@ -228,28 +226,33 @@ namespace PckStudio.Core.Properties { /// /// Looks up a localized string similar to { + /// "Grass": { + /// "variants": [ + /// "Grass_Common", + /// "Grass_Mesa", + /// "Grass_Swamp1", + /// "Grass_Swamp2" + /// ] + /// }, + /// "Foliage": { + /// "variants": [ + /// "Foliage_Default", + /// "Foliage_Evergreen", + /// "Foliage_Birch", + /// "Foliage_Mesa", + /// "Foliage_Swampland" + /// ] + /// }, + /// "RedstoneDust": { + /// "variants": [ + /// "Tile_RedstoneDust", + /// "Tile_RedstoneDustUnlit", + /// "Tile_RedstoneDustLitMin", + /// "Tile_RedstoneDustLitMax" + /// ] + /// }, /// "Particle": { - /// "variants": [ - /// "Particle_Smoke", - /// "Particle_NetherPortal", - /// "Particle_EnderPortal", - /// "Particle_Ender", - /// "Particle_DragonBreathMin", - /// "Particle_DragonBreathMax" - /// ] - /// }, - /// "Particle_EnchantmentTable": { - /// "defaultName": "Particle_EnchantmentTable" - /// }, - /// "Particle_ScoreRing": { - /// "variants": [ - /// "Particle_ScoreRing_Small", - /// "Particle_ScoreRing_Medium", - /// "Particle_ScoreRing_Large" - /// ] - /// }, - /// "Potion_Effect": { - /// [rest of string was truncated]";. + /// [rest of string was truncated]";. /// public static string colorEntries { get { @@ -505,6 +508,54 @@ namespace PckStudio.Core.Properties { } } + /// + /// Looks up a localized string similar to { + /// "anvil": "anvil_base", + /// "anvil_top": "anvil_top_damaged_0", + /// "chipped_anvil_top": "anvil_top_damaged_1", + /// "damaged_anvil_top": "anvil_top_damaged_2", + /// "beetroots_stage0": "beetroots_stage_0", + /// "beetroots_stage1": "beetroots_stage_1", + /// "beetroots_stage2": "beetroots_stage_2", + /// "beetroots_stage3": "beetroots_stage_3", + /// "bricks": "brick", + /// "carrots_stage0": "carrots_stage_0", + /// "carrots_stage1": "carrots_stage_1", + /// "carrots_stage2": "carrots_stage_2", + /// "carrots_stage3": "carrots_sta [rest of string was truncated]";. + /// + public static string latest2lce_blocks { + get { + return ResourceManager.GetString("latest2lce_blocks", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to { + /// "apple_golden": "appleGold", + /// "golden_apple": "appleGold", + /// "beef_cooked": "beefCooked", + /// "beef_raw": "beefRaw", + /// "beef": "beefRaw", + /// "blaze_powder": "blazePowder", + /// "blaze_rod": "blazeRod", + /// "oak_boat": "boat", + /// "book_normal": "book", + /// "chainmail_boots": "bootsChain", + /// "leather_boots": "bootsCloth", + /// + /// "crossbow_standby": "crossbow", + /// "crossbow_pulling_0": "crossbow_pull_0", + /// "crossbow_pulling_1": "crossbow_pull_1", + /// "crossbow_pulling_2": "crossbow_pull_2", + /// "campfire": " [rest of string was truncated]";. + /// + public static string latest2lce_items { + get { + return ResourceManager.GetString("latest2lce_items", resourceCulture); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/PckStudio.Core/Properties/Resources.resx b/PckStudio.Core/Properties/Resources.resx index 93c7f7bf..eee2b437 100644 --- a/PckStudio.Core/Properties/Resources.resx +++ b/PckStudio.Core/Properties/Resources.resx @@ -250,4 +250,10 @@ ..\Resources\atlas\colorEntries.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + ..\Resources\java\latest2lce_blocks.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + + + ..\Resources\java\latest2lce_items.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file diff --git a/PckStudio.Core/Resources/java/latest2lce_paintings.json b/PckStudio.Core/Resources/java/latest2lce_paintings.json new file mode 100644 index 00000000..15aed6b4 --- /dev/null +++ b/PckStudio.Core/Resources/java/latest2lce_paintings.json @@ -0,0 +1,3 @@ +{ + "paintings_kristoffer_zetterstrand": "kz" +} \ No newline at end of file