Skip to content

Commit 6a34643

Browse files
authored
fix: Better work with VV textures linked from texture_set JSON (#90)
* fix: Better work with VV textures linked from texture_set JSON - CHKMANIF135: Ensure that content with PBR files is annotated to have the pbr flag in the manifest * fix: Undo title changes to components
1 parent f678283 commit 6a34643

36 files changed

+2366
-325
lines changed

app/package-lock.json

Lines changed: 111 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/data/forms/block/blockdefinitiondocument.form.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
"dataType": 16,
1414
"subFormId": "block/description",
1515
"isRequired": true
16+
},
17+
{
18+
"id": "permutations",
19+
"title": "Permutations",
20+
"dataType": 16,
21+
"subFormId": "block/permutation"
1622
}
1723
],
1824
"title": "BlockDefinitionDocument"

app/src/UX/HomeFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default class HomeFooter extends Component<IHomeFooterProps, IHomeFooterS
7474
let termsArea = (
7575
<span>
7676
<a
77-
href={constants.repositoryUrl + "/blob/main/LICENSE"}
77+
href={constants.repositoryUrl + "/blob/main/LICENSE.md"}
7878
className="hftr-docsLink"
7979
target="_blank"
8080
rel="noreferrer noopener"

app/src/app/ProjectItemRelations.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import BiomeBehaviorDefinition from "../minecraft/BiomeBehaviorDefinition";
33
import BlockTypeDefinition from "../minecraft/BlockTypeDefinition";
44
import EntityTypeDefinition from "../minecraft/EntityTypeDefinition";
55
import EntityTypeResourceDefinition from "../minecraft/EntityTypeResourceDefinition";
6+
import FlipbookTextureCatalogDefinition from "../minecraft/FlipbookTextureCatalogDefinition";
67
import ItemTextureCatalogDefinition from "../minecraft/ItemTextureCatalogDefinition";
78
import ItemTypeDefinition from "../minecraft/ItemTypeDefinition";
89
import JigsawProcessorListDefinition from "../minecraft/JigsawProcessorListDefinition";
@@ -20,6 +21,7 @@ import SoundDefinitionCatalogDefinition from "../minecraft/SoundDefinitionCatalo
2021
import SpawnRulesBehaviorDefinition from "../minecraft/SpawnRulesBehaviorDefinition";
2122
import TerrainTextureCatalogDefinition from "../minecraft/TerrainTextureCatalogDefinition";
2223
import TextureDefinition from "../minecraft/TextureDefinition";
24+
import TextureSetDefinition from "../minecraft/TextureSetDefinition";
2325
import { ProjectItemType } from "./IProjectItemData";
2426
import Project from "./Project";
2527
import ProjectItem from "./ProjectItem";
@@ -51,6 +53,8 @@ const ITEM_TYPE_CONFIG = new Map<ProjectItemType, { ensureOnFile: EnsureOnFileMe
5153
[ProjectItemType.jigsawStructure, JigsawStructureDefinition],
5254
[ProjectItemType.jigsawTemplatePool, JigsawTemplatePoolDefinition],
5355
[ProjectItemType.jigsawProcessorList, JigsawProcessorListDefinition],
56+
[ProjectItemType.flipbookTexturesJson, FlipbookTextureCatalogDefinition],
57+
[ProjectItemType.textureSetJson, TextureSetDefinition],
5458
[ProjectItemType.texture, TextureDefinition],
5559
[ProjectItemType.biomeBehavior, BiomeBehaviorDefinition],
5660
]);

0 commit comments

Comments
 (0)