File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed
src/systems/datapackCompiler Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 82
82
- [ ] Add Variants to the UndoSystem (Blocked by vanilla Blockbench not supporting custom undo actions).
83
83
- [ ] Remove ` easingArgs ` and ` easingMode ` from saved keyframes if ` easingType ` is ` linear ` .
84
84
- [ ] Add an option to generate a ` damage_flash ` variant for mob-type entities.
85
+ - [ ] Add a fix for 360 rotation snap by using ` set_frame ` instead of ` apply_frame ` for the first frame of the animation.
85
86
86
87
# Data Pack Compiler
87
88
Original file line number Diff line number Diff line change @@ -411,8 +411,8 @@ dir <%export_namespace%> {
411
411
posx: node.pos[0],
412
412
posy: node.pos[1],
413
413
posz: node.pos[2],
414
- rotx : node.head_rot[1],
415
- roty : node.head_rot[0]
414
+ roty : node.head_rot[1],
415
+ rotx : node.head_rot[0]
416
416
}
417
417
%%>
418
418
}
@@ -425,6 +425,9 @@ dir <%export_namespace%> {
425
425
~<%roundTo(node.head_rot[1], 10)%> \
426
426
~<%roundTo(node.head_rot[0], 10)%> \
427
427
run {
428
+ REPEAT(0, 10) as i {
429
+ particle bubble ^ ^ ^<%i/10%>
430
+ }
428
431
<%%
429
432
emit.mcb(node.commands)
430
433
%%>
@@ -437,8 +440,8 @@ dir <%export_namespace%> {
437
440
posx: node.pos[0],
438
441
posy: node.pos[1],
439
442
posz: node.pos[2],
440
- rotx : node.head_rot[0 ],
441
- roty : node.head_rot[1 ]
443
+ roty : node.head_rot[1 ],
444
+ rotx : node.head_rot[0 ]
442
445
}
443
446
%%>
444
447
}
Original file line number Diff line number Diff line change 987
987
"shadow_strength": 1,
988
988
"use_nbt": false
989
989
},
990
- "variants": {}
990
+ "variants": {
991
+ "5417306e-2c69-3f36-1e3c-edd904034a36": {}
992
+ }
991
993
},
992
994
"uuid": "98a28100-07e8-849a-38b7-f56abc2c2e56",
993
995
"export": true,
1017
1019
"shadow_strength": 1,
1018
1020
"use_nbt": false
1019
1021
},
1020
- "variants": {}
1022
+ "variants": {
1023
+ "5417306e-2c69-3f36-1e3c-edd904034a36": {}
1024
+ }
1021
1025
},
1022
1026
"uuid": "49e67c2a-3d1d-792d-9c75-72ecbc0f92e0",
1023
1027
"export": true,
1561
1565
"x": 0,
1562
1566
"y": 0,
1563
1567
"z": 0,
1564
- "commands": "particle minecraft:flame ~ ~ ~ ",
1568
+ "commands": "particle minecraft:flame ^ ^ ^1 ",
1565
1569
"execute_condition": "",
1566
1570
"repeat": true,
1567
1571
"repeat_frequency": 5
1587
1591
"x": 0,
1588
1592
"y": 0,
1589
1593
"z": 0,
1590
- "commands": "tp @e[tag=test,limit=1] ~ ~ ~ ~ ~ ",
1594
+ "commands": "particle minecraft:flame ^ ^ ^1 ",
1591
1595
"execute_condition": "",
1592
1596
"repeat": true,
1593
1597
"repeat_frequency": 1
You can’t perform that action at this time.
0 commit comments