@@ -6,7 +6,7 @@ import { BillboardMode, BoneConfig, LocatorConfig } from './nodeConfigs'
66import { process } from './systems/modelDataFixerUpper'
77import { events } from './util/events'
88import { injectSvelteCompomponent } from './util/injectSvelteComponent'
9- import { toSafeFuntionName } from './util/minecraftUtil'
9+ import { sanitizePathName } from './util/minecraftUtil'
1010import { addProjectToRecentProjects } from './util/misc'
1111import { Valuable } from './util/stores'
1212import { translate } from './util/translation'
@@ -44,6 +44,7 @@ export interface IBlueprintBoneConfigJSON {
4444export interface IBlueprintLocatorConfigJSON {
4545 use_entity ?: LocatorConfig [ 'useEntity' ]
4646 entity_type ?: LocatorConfig [ 'entityType' ]
47+ sync_passenger_rotation ?: LocatorConfig [ 'syncPassengerRotation' ]
4748 summon_commands ?: LocatorConfig [ '_summonCommands' ]
4849 ticking_commands ?: LocatorConfig [ 'tickingCommands' ]
4950}
@@ -164,7 +165,7 @@ export function convertToBlueprint() {
164165 }
165166 for ( const animation of Blockbench . Animation . all ) {
166167 animation . createUniqueName ( Blockbench . Animation . all . filter ( a => a !== animation ) )
167- animation . name = toSafeFuntionName ( animation . name )
168+ animation . name = sanitizePathName ( animation . name )
168169 }
169170 for ( const cube of Cube . all ) {
170171 cube . setUVMode ( false )
@@ -340,7 +341,7 @@ export const BLUEPRINT_CODEC = new Blockbench.Codec('animated_java_blueprint', {
340341 parseGroups ( model . outliner )
341342
342343 for ( const group of Group . all ) {
343- group . name = toSafeFuntionName ( group . name )
344+ group . name = sanitizePathName ( group . name )
344345 }
345346 }
346347
0 commit comments