made-in-akira/pixel_art/minecraft_skins/emotepack/actionwheel.lua

59 lines
1.2 KiB
Lua

--EMOTES--
local mainPage = action_wheel:newPage()
action_wheel:setPage(mainPage)
function pings.Follow()
animations.player_model.followMe:play()
end
---
function pings.Wave()
animations.player_model.wave:play()
end
---
function pings.Clap()
animations.player_model.clap:play()
end
---
function pings.Sitting(state)
animations.player_model.sitting:setPlaying(state)
end
---
function pings.Tilt(state)
animations.player_model.tilt:setPlaying(state)
end
--------------------------------------------------------------------
mainPage:newAction()
:title("Wave")
:item("minecraft:lantern")
:hoverColor(1,1,0)
:onLeftClick(pings.Wave)
mainPage:newAction()
:title("Follow Me")
:item("minecraft:compass")
:hoverColor(1,1,0)
:onLeftClick(pings.Follow)
mainPage:newAction()
:title("Clap")
:item("minecraft:rabbit_foot")
:hoverColor(1,1,0)
:onLeftClick(pings.Clap)
mainPage:newAction()
:title("Sit")
:item("minecraft:purpur_stairs")
:hoverColor(1,1,0)
:onToggle(pings.Sitting)
mainPage:newAction()
:title("Tilt Head")
:item("minecraft:splash_potion")
:hoverColor(1,1,0)
:onToggle(pings.Tilt)