#Enderchest closing / opening animation

1 messages · Page 1 of 1 (latest)

honest glade
#

I have a skript to extend an enderchest , But it does not play the enderchest closing or opening animation . can anybody help me please . I need to know how can i do the opening and closing animation .

CODE:

    cancel event
    play sound "block.ender_chest.open" with volume 1 and pitch 1 to player
    set {_enderchest} to  new chest inventory with 6 rows named "&8Ender Chest"
    open {_enderchest} to player
    loop 54 times:
        set slot (loop-number - 1) of player's current inventory to {extended_ec::name of player::%loop-number%}

on inventory close:
    if name of event-inventory is "&8Ender Chest":
        play sound "block.ender_chest.close" with volume 1 and pitch 1 to player
        loop 54 times:
            set {extended_ec::name of player::%loop-number%} to slot (loop-number - 1) of event-inventory```
mystic flax
honest glade
#

because it opens the enderchest and closes it

#

so you get the opening animation and then closing animation right after but when you actually close the enderchest no closing animation

#

also the sounds are trippy

dense warren
#

Packets ig

exotic nova
dense warren
#

Oh wow

wispy tree
honest glade
#

wow,

#

I thought it was complicated

#

thank you