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 8282- [ ] Add Variants to the UndoSystem (Blocked by vanilla Blockbench not supporting custom undo actions).
8383- [ ] Remove ` easingArgs ` and ` easingMode ` from saved keyframes if ` easingType ` is ` linear ` .
8484- [ ] 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.
8586
8687# Data Pack Compiler
8788
Original file line number Diff line number Diff line change @@ -411,8 +411,8 @@ dir <%export_namespace%> {
411411 posx: node.pos[0],
412412 posy: node.pos[1],
413413 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]
416416 }
417417 %%>
418418 }
@@ -425,6 +425,9 @@ dir <%export_namespace%> {
425425 ~<%roundTo(node.head_rot[1], 10)%> \
426426 ~<%roundTo(node.head_rot[0], 10)%> \
427427 run {
428+ REPEAT(0, 10) as i {
429+ particle bubble ^ ^ ^<%i/10%>
430+ }
428431 <%%
429432 emit.mcb(node.commands)
430433 %%>
@@ -437,8 +440,8 @@ dir <%export_namespace%> {
437440 posx: node.pos[0],
438441 posy: node.pos[1],
439442 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 ]
442445 }
443446 %%>
444447 }
Original file line number Diff line number Diff line change 987987 "shadow_strength": 1,
988988 "use_nbt": false
989989 },
990- "variants": {}
990+ "variants": {
991+ "5417306e-2c69-3f36-1e3c-edd904034a36": {}
992+ }
991993 },
992994 "uuid": "98a28100-07e8-849a-38b7-f56abc2c2e56",
993995 "export": true,
10171019 "shadow_strength": 1,
10181020 "use_nbt": false
10191021 },
1020- "variants": {}
1022+ "variants": {
1023+ "5417306e-2c69-3f36-1e3c-edd904034a36": {}
1024+ }
10211025 },
10221026 "uuid": "49e67c2a-3d1d-792d-9c75-72ecbc0f92e0",
10231027 "export": true,
15611565 "x": 0,
15621566 "y": 0,
15631567 "z": 0,
1564- "commands": "particle minecraft:flame ~ ~ ~ ",
1568+ "commands": "particle minecraft:flame ^ ^ ^1 ",
15651569 "execute_condition": "",
15661570 "repeat": true,
15671571 "repeat_frequency": 5
15871591 "x": 0,
15881592 "y": 0,
15891593 "z": 0,
1590- "commands": "tp @e[tag=test,limit=1] ~ ~ ~ ~ ~ ",
1594+ "commands": "particle minecraft:flame ^ ^ ^1 ",
15911595 "execute_condition": "",
15921596 "repeat": true,
15931597 "repeat_frequency": 1
You can’t perform that action at this time.
0 commit comments