#(Yajan) How to make effect knocback to player

32 messages · Page 1 of 1 (latest)

sonic wolf
#

hello somone can help me i want to make a custom border i want to if player walk in the region border get a knockback effect

hollow flickerBOT
#

(Yajan) How to make effect knocback to player

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

gritty quest
#

!e player enters

fringe fossilBOT
# gritty quest !e player enters
Cannot Specify Searched Event

Multiple possible events: player enters bed, towny player enters town, player enters|exits biome, gp player enters|exits gpclaim, skyblock player enters skyblock, residence player enters residence, plotsquared player enters plotsquaredplot.

gritty quest
#

!e player enters noted

fringe fossilBOT
gritty quest
#

omfg

#

!e player enters area

fringe fossilBOT
gritty quest
#

WHAT

#

!e player enters|exits area

fringe fossilBOT
#
Possible Confusion

Did you mean to search for entity enters|exits area?

fringe fossilBOT
# gritty quest !e player enters|exits area
Group

Entity

**WARNING**

cancelling this event will have different results depending on the cause. Teleporting the entity away 1 tick later might be safer.

Event Lines

<entity> enters|exits <area>

Triggers

when an entity enters or exits a noted area (cuboid, ellipsoid, or polygon). On Spigot servers, only fires for players. Paper is required for other mob types.

Has Player

When the entity is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.area> returns the area object that was entered or exited.
<context.cause> returns the cause of the event. Can be: WALK, WORLD_CHANGE, JOIN, QUIT, TELEPORT, VEHICLE.
<context.to> returns the location the entity moved to (might not be available in exit events).
<context.from> returns the location the entity moved from (when available, depending on cause).
<context.entity> returns the entity that entered/exited an area.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

gritty quest
#

ok so youy can use this event to detect when aplayer enters the region

#

and then you can use

#

!m velocity

fringe fossilBOT
# gritty quest !m velocity

Sets the entity's movement velocity vector.

Object

EntityTag

Input

LocationTag

Tags

<EntityTag.velocity> Returns the movement velocity of the entity. Note: Does not accurately calcul...

gritty quest
#

to fake a knockback

sonic wolf
#

i adjust player velocity?

gritty quest
#

ye

sonic wolf
#

ok i try

thick masonBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@sonic wolf