File tree Expand file tree Collapse file tree 2 files changed +9
-17
lines changed Expand file tree Collapse file tree 2 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -207,22 +207,6 @@ dir <%export_namespace%> {
207
207
}
208
208
}
209
209
210
- dir as_camera {
211
- # All child functions of this folder run as a camera entity
212
- # Runs before the camera is ticked.
213
- tag functions pre_tick {
214
- }
215
- # Runs after the camera is ticked.
216
- tag functions post_tick {
217
- }
218
- # Runs when the camera is summoned.
219
- tag functions on_summon {
220
- }
221
- # Runs when the camera is removed.
222
- tag functions on_remove {
223
- }
224
- }
225
-
226
210
dir animations {
227
211
REPEAT (animations) as animation {
228
212
dir <%animation.name%> {
@@ -566,6 +550,14 @@ dir <%export_namespace%> {
566
550
# On Remove Event
567
551
function #animated_java:<%export_namespace%>/as_root/on_remove
568
552
553
+ execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
554
+ REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'locator' && v.config?.use_entity)) as locator {
555
+ execute run block zzz/kill { with entity @s data.positions.locators.<%locator.name%>
556
+ $kill $(uuid)
557
+ }
558
+ }
559
+ }
560
+
569
561
execute on passengers run kill @s
570
562
kill @s
571
563
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"meta": {
3
3
"format": "animated_java_blueprint",
4
- "format_version": "0.5.0 ",
4
+ "format_version": "0.5.2 ",
5
5
"uuid": "167b27cd-b559-3f13-a97c-0841fe21f1d1",
6
6
"save_location": "D:\\github-repos\\animated-java\\animated-java\\test_blueprints\\armor_stand.ajblueprint",
7
7
"last_used_export_namespace": "armor_stand"
You can’t perform that action at this time.
0 commit comments