#Float back to position

1 messages · Page 1 of 1 (latest)

honest monolith
#

what do you mean 'float back'? do you mean you want them to float back to their last safe spot before they fell in the void?

#

you'd have to do something like this:

  • add their last safe location (where there are blocks below them) in the periodical event to their metadata
  • instead of using the kill effect, spawn a block display entity with a long teleport delay, teleport it to the last safe location (using the victim's metadata from above) and make them ride it

when they fall in the void, they will interpolate up to their last safe spot

honest monolith
#

https://skripthub.net/docs/?id=10634 (requires skbee)
if you don't want to wait a tick after applying it, you can use it in the spawn entity structure itself

#

do you have skbee installed?

#

display entities and teleport interpolation were added in 1.19.4
you have to update to use them

#

also skbee version is very outdated

#

not with entity displays
you'll have to create a line vector, which will be more choppy and less minecraft-y since you'd be teleporting players along a line every tick

#

i personally always keep my server updated to the latest version
why not update to 1.21?

wheat sapphire
#

at least update to 1.20.4

honest monolith
#

btw display teleport duration will only work on 1.20.2+, 1.19.4 won't work

wheat sapphire
#

just update your plugins and remove Skellet, SkQuery, skRayfall and SkJade

#

no you don't

#

trust me you don't

#

it's a sad excuse of people who don't wanna update the syntax of their poor code

#

anything that skquery can do can be done by skript and skbee (and not those then reflect can do it)

#

yeah that's one of the sad excuses

#

means you should just move to a better way, e.g. vanilla gui or skript-gui

#

bc it's outdated and there's no reason to use it

#

if you like it then I think skript-gui will be something for you

#

sure

#

gl with trying whatever you were doing with entity displays 😁