Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
Didn't cancel the actual animation ;/ I tried cancelling the packet using skellet but it didn't cancel either.Skriptcode_language.skript:on block damage: cancel event
I'm pretty sure the breaking animation is client side. The only way you can cancel it is by using the event I posted above and sending a block break stage packet at 0 to the player contantly. MundoSk and RandomSk can do this. It's in my todo list for Skellett.Didn't cancel the actual animation ;/ I tried cancelling the packet using skellet but it didn't cancel either.
if you're talking about the breaking animation on the block then you'll have to cancel the "PacketPlayOutBlockBreakAnimation"
on packet:
if "%event-string%" contains "Animation":
broadcast "%event-string%"
if event-string is "PacketPlayOutBlockBreakAnimation":
cancel event
broadcast "break animation triggereee"
I'm trying to stimulate a block break that isn't the correct time, for instance I want to be able edit mine times. There was an event on skuntiy docs that was like "break block naturally in 20 ticks" or something like that but it doesn't workI'm pretty sure the breaking animation is client side. The only way you can cancel it is by using the event I posted above and sending a block break stage packet at 0 to the player contantly. MundoSk and RandomSk can do this. It's in my todo list for Skellett.
I could check this by checking if the packet is the starting one, and do the process. Then when it changes it just stops, the only thing stopping me doing this is the block animation particles, I can't seem to make the client not see them, and make the client see new onesThat's hard because the client does the breaking animations. The client only sends a packet when it starts, ends or aborts the digging process sadly.
Is gamemode 2 a option?I could check this by checking if the packet is the starting one, and do the process. Then when it changes it just stops, the only thing stopping me doing this is the block animation particles, I can't seem to make the client not see them, and make the client see new ones
noIs gamemode 2 a option?
As stated above, that doesn't work.Just cancel the hit / click event?