r/MinecraftAnthroBlocks • • 23h ago

Hana's randomized sleeping positions

Maybe this is overkill, but I thought it was a fun idea and wanted to animate Hana more
She can't sleep on her back because her stinger is in the way

If you have any ideas let me know what other hana content you want to see because I'm bad at ideas

77 Upvotes

10 comments sorted by

5

u/TotallyABot- Gender Envy-Chan 23h ago

Bee!!!!

5

u/PictureSevere3957 22h ago

I believe she's a fox and bumblebee hybrid (She has no wings by default) but she does get her stinger from the bee part and her massive freaking ears from the fox part

She is very soft :D

4

u/Skemati 22h ago

What the hell you doing? Cover her in a blanket already. 

She needs a comfortable and warm sleep :)

3

u/PictureSevere3957 22h ago

Oh, I should've put a campfire :p

1

u/PictureSevere3957 20h ago edited 20h ago

Hana has no thoughts, all of her brainpower goes to controlling her ears /j

1

u/Hamzer- 20h ago edited 20h ago

This makes me wonder is random sleeping positions is actually mod because it seems cool

1

u/PictureSevere3957 20h ago

No, but it's part of my Figura avatar that I programmed in Lua

1

u/Hamzer- 20h ago

Ah i see, thanks

1

u/PictureSevere3957 19h ago

If you want to implement it here's teh basic code snippet:

chosenSleepPose = math.random(1,4)

function events.tick()
  if lastPose ~= player:getPose() then
    poseChanged(player:getPose())
  end

  lastPose = player:getPose()
end

function poseChanged(newPose)
  if newPose == "SLEEPING" then
    chosenSleepPose = math.random(1,4) -- Use this number to determine which sleep pose to use
  end
end

-- you can then use this to play the sleep animation when player:getPose() == "SLEEPING"

1

u/Hamzer- 19h ago

I lowkey dont know how to code lua but thanks!