Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/apply_frame'}
$execute store result storage aj:temp frame int 1 run scoreboard players set @s aj.3_4_cast_start_flatten.frame $(frame)
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/apply_frame with storage aj:temp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/next_frame'}
execute if score @s aj.3_4_cast_start_flatten.frame matches 21.. run scoreboard players set @s aj.3_4_cast_start_flatten.frame 1
execute store result storage aj:temp frame int 1 run scoreboard players get @s aj.3_4_cast_start_flatten.frame
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/apply_frame with storage aj:temp
scoreboard players add @s aj.3_4_cast_start_flatten.frame 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/pause'}
tag @s remove aj.behemoth_aj.animation.3_4_cast_start_flatten.playing
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/play'}
tag @s add aj.behemoth_aj.animation.3_4_cast_start_flatten.playing
scoreboard players set @s aj.3_4_cast_start_flatten.frame 0
tag @s add aj.transforms_only
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/set_frame {frame: 0}
tag @s remove aj.transforms_only
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/resume'}
tag @s add aj.behemoth_aj.animation.3_4_cast_start_flatten.playing
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/set_frame'}
$execute store result storage aj:temp frame int 1 run scoreboard players set @s aj.3_4_cast_start_flatten.frame $(frame)
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/set_frame with storage aj:temp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/stop'}
tag @s remove aj.behemoth_aj.animation.3_4_cast_start_flatten.playing
scoreboard players set @s aj.3_4_cast_start_flatten.frame 0
tag @s add aj.transforms_only
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/set_frame {frame: 0}
tag @s remove aj.transforms_only
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
execute unless entity @s[type=item_display,tag=aj.behemoth_aj.root] run return run function animated_java:global/errors/function_not_executed_as_root_entity {'export_namespace': 'behemoth_aj', 'function_path': 'animated_java:behemoth_aj/animations/3_4_cast_start_flatten/tween'}
function animated_java:behemoth_aj/animations/pause_all
tag @s add aj.behemoth_aj.animation.3_4_cast_start_flatten.playing
$scoreboard players set @s aj.tween_duration $(duration)
$scoreboard players set @s aj.3_4_cast_start_flatten.frame $(to_frame)
scoreboard players operation #this aj.i = @s aj.tween_duration
tag @s add aj.transforms_only
execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/apply_frame {frame: 0}
$execute at @s run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/apply_frame {frame: $(to_frame)}
tag @s remove aj.transforms_only
execute on passengers store result entity @s interpolation_duration int 1 run scoreboard players get #this aj.i
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.head_lower] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).h
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.horne_right] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).i
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.horne_left] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).j
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.head_upper] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).d
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.neck_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).c
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.neck_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).b
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.neck_4] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).a
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_right_3] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).n
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_right_4] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).o
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_right_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).m
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_right_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_right_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).k
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_left_3] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).s
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_left_4] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).t
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_left_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).r
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_left_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).q
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.arm_left_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).p
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_right_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).w
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_right_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).v
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_right_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).u
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_left_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).z
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_left_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).y
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.wing_left_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).x
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.body_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).7
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_right_3] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).13
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_right_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).12
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_right_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).11
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_right_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).10
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_left_3] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).17
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_left_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).16
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_left_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).15
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.leg_left_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).14
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.tail_3] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).1b
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.tail_2] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).1a
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.tail_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).19
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.tail_0] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).18
$execute on passengers if entity @s[tag=aj.behemoth_aj.node.body_1] run data modify entity @s {} merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).2
$execute on passengers if entity @s[tag=aj.global.data] run data modify entity @s data.locators.hitbox_2 merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l_4
$execute on passengers if entity @s[tag=aj.global.data] run data modify entity @s data.locators.hitbox_3 merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l_6
$execute on passengers if entity @s[tag=aj.global.data] run data modify entity @s data.locators.hitbox_1 merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l_9
$execute on passengers if entity @s[tag=aj.global.data] run data modify entity @s data.locators.hitbox_0 merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l_f
$execute on passengers if entity @s[tag=aj.global.data] run data modify entity @s data.locators.pos_head merge from storage aj.behemoth_aj:animations 3_4_cast_start_flatten.$(frame).l_g
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Animated Java via MC-Build. It is not recommended to edit this file directly.
scoreboard players remove @s aj.tween_duration 1
execute if score @s aj.tween_duration matches 1.. run return 1
execute if score @s aj.tween_duration matches 0 on passengers run data modify entity @s interpolation_duration set value 1
execute store result storage aj:temp frame int 1 run scoreboard players get @s aj.3_4_cast_start_flatten.frame
function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/zzz/apply_frame with storage aj:temp
execute if score @s aj.3_4_cast_start_flatten.frame matches 20.. run return run function animated_java:behemoth_aj/animations/3_4_cast_start_flatten/pause
scoreboard players add @s aj.3_4_cast_start_flatten.frame 1
Loading