#Set operation angle $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute as @s at @s run rotate @s $(Rotation__Type_main___Variables__Name_h___Value) 0.0 #Position #Main $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute as @s at @s run tp @s $(Position__Type_main___Variables__Name_x___Value) $(Position__Type_main___Variables__Name_y___Value) $(Position__Type_main___Variables__Name_z___Value) #Preset $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute as @s at @s run tp @s $(Position__Type_preset___Variables__Name_x___Value) $(Position__Type_preset___Variables__Name_y___Value) $(Position__Type_preset___Variables__Name_z___Value) #Offset $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute as @s at @s run tp @s ^$(Position__Type_offset___Variables__Name_x___Value) ^$(Position__Type_offset___Variables__Name_y___Value) ^$(Position__Type_offset___Variables__Name_z___Value) #Rotation #Main $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run execute on passengers run execute as @s at @s run rotate @s $(Rotation__Type_main___Variables__Name_h___Value) $(Rotation__Type_main___Variables__Name_v___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run rotate @s $(Rotation__Type_main___Variables__Name_h___Value) $(Rotation__Type_main___Variables__Name_v___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_3] run rotate @s $(Rotation__Type_main___Variables__Name_h___Value) $(Rotation__Type_main___Variables__Name_v___Value) #Preset $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run execute on passengers run execute as @s at @s run rotate @s $(Rotation__Type_preset___Variables__Name_h_player___Value) $(Rotation__Type_preset___Variables__Name_v_player___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run rotate @s $(Rotation__Type_preset___Variables__Name_h_marker___Value) $(Rotation__Type_preset___Variables__Name_v_marker___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_3] run rotate @s $(Rotation__Type_preset___Variables__Name_h_model___Value) $(Rotation__Type_preset___Variables__Name_v_model___Value) #Offset $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run execute on passengers run execute as @s at @s run rotate @s ~$(Rotation__Type_offset___Variables__Name_h_player___Value) ~$(Rotation__Type_offset___Variables__Name_v_player___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_2] run rotate @s ~$(Rotation__Type_offset___Variables__Name_h_marker___Value) ~$(Rotation__Type_offset___Variables__Name_v_marker___Value) $execute as @s at @s run execute on vehicle run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_1] run execute on passengers run execute as @s at @s run execute if entity @s[tag=datapack.backpacks.tag.Entity_3] run rotate @s ~$(Rotation__Type_offset___Variables__Name_h_model___Value) ~$(Rotation__Type_offset___Variables__Name_v_model___Value)