mirror of
https://github.com/Jacobwasbeast/LegacyWeaveLoader.git
synced 2026-05-22 05:34:36 +00:00
feat(api): add missing block/item placeholder textures
- Add mod_assets for weaveloader.api:missing_block and missing_item - CopyModAssets target to deploy placeholders to mods/WeaveLoader.API/assets/ - WorldIdRemap: use placeholder icons instead of bedrock/apple
This commit is contained in:
@@ -13,4 +13,12 @@
|
||||
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Mod textures: use Target so they only copy when API builds to mods/, not when copied as dependency -->
|
||||
<Target Name="CopyModAssets" AfterTargets="Build">
|
||||
<MakeDir Directories="$(OutputPath)assets\blocks" />
|
||||
<MakeDir Directories="$(OutputPath)assets\items" />
|
||||
<Copy SourceFiles="mod_assets\blocks\missing_block.png" DestinationFolder="$(OutputPath)assets\blocks\" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="mod_assets\items\missing_item.png" DestinationFolder="$(OutputPath)assets\items\" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user