File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
test-packs/1.20.4/blueprints Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export function isCubeValid(cube: Cube): '1.21.6+' | 'valid' | 'invalid' {
102102 totalRotation === cube . rotation [ 1 ] ||
103103 totalRotation === cube . rotation [ 2 ]
104104
105- if ( isSingleAxisRotation && projectTargetVersionIsAtLeast ( '1.21.4 ' ) ) return '1.21.6+'
105+ if ( isSingleAxisRotation && projectTargetVersionIsAtLeast ( '1.21.6 ' ) ) return '1.21.6+'
106106
107107 const isRotationInAllowedSteps =
108108 totalRotation === - 45 ||
@@ -116,11 +116,6 @@ export function isCubeValid(cube: Cube): '1.21.6+' | 'valid' | 'invalid' {
116116 return 'invalid'
117117}
118118
119- export function getFunctionNamespace ( version : string ) : 'function' | 'functions' {
120- // If the target version is 1.21.0 or higher, use the 'function' namespace instead of 'functions'
121- return compareVersions ( version , '1.20.10000' ) ? 'function' : 'functions'
122- }
123-
124119export async function sleepForAnimationFrame ( ) {
125120 return new Promise ( resolve => requestAnimationFrame ( resolve ) )
126121}
Original file line number Diff line number Diff line change 20272027 "override": false,
20282028 "length": 1,
20292029 "snapping": 20,
2030- "selected": true ,
2030+ "selected": false ,
20312031 "saved": true,
20322032 "path": "",
20332033 "anim_time_update": "",
You can’t perform that action at this time.
0 commit comments