#(henry_crown) i got a warning that told me should notify the authors

24 messages · Page 1 of 1 (latest)

urban edge
#

hello there, when i create the event on vehicle collides with player then reload my scripts, these yellow warnings come out:

[15:40:06 INFO]: +> [ScriptEvent] Event BASE_CORE_MANAGER.events.on vehicle collides with player is matched to multiple ScriptEvents: VehicleCollidesEntity, ProjectileCollide 
[15:40:06 WARN]: [Denizen] "Denizen v1.2.8-SNAPSHOT (build 6810-DEV)" has registered a listener for com.destroystokyo.paper.event.entity.ProjectileCollideEvent on method "public void com.denizenscript.denizen.paper.events.ProjectileCollideScriptEvent.projectileCollideEvent(com.destroystokyo.paper.event.entity.ProjectileCollideEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [The DenizenScript Team].
gray stumpBOT
#

(henry_crown) i got a warning that told me should notify the authors

gray stumpBOT
#

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>

warm cedar
#

!e collides

mortal willowBOT
# warm cedar !e collides
Cannot Specify Searched Event

Multiple possible events: vehicle collides with block, vehicle collides with entity, projectile collides with entity.

warm cedar
#

!e vehicle collides with entity

mortal willowBOT
# warm cedar !e vehicle collides with entity
Group

Vehicle

Event Lines

vehicle collides with entity vehicle collides with <entity> <vehicle> collides with entity <vehicle> collides with <entity>

Switches

type:<entity> to only process the event if the colliding entity matches the EntityTag matcher input.

Triggers

when a vehicle collides with an entity.

Has Player

when a vehicle collides with a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Has NPC

when a vehicle collides with an NPC.

Context

<context.vehicle> returns the EntityTag of the vehicle.
<context.entity> returns the EntityTag of the entity the vehicle has collided with.
<context.pickup> returns whether the vehicle can pick up the entity.

Determine

"PICKUP:<ElementTag(Boolean)>" to set whether the vehicle is allowed to pick up the entity or not.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

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

Examples
on vehicle collides with entity:
on minecart collides with sheep:
# This example disambiguates this event from the "projectile collides with entity" event for specific entity types.
on vehicle collides with entity type:creeper:
- announce "A <context.vehicle.entity_type> collided with a creeper!"
warm cedar
#

!e projectile collides with

mortal willowBOT
# warm cedar !e projectile collides with
Required Plugins or Platforms

Paper

Group

Paper

Event Lines

<projectile> collides with <entity>

Triggers

when a projectile entity collides with an entity (before any damage calculations are done).

Has Player

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

Has NPC

When the entity collided with is a NPC.

Context

<context.projectile> returns the projectile that is colliding.
<context.entity> returns the entity that was collided with.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

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

warm cedar
#

MM yeah looks like matching might need some improvements there?

agile sandBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

leaden maple
#

type: switch on vehicle collides should fix

#

on vehicle collides with entity type:player

#

@urban edge ^

agile sandBOT
#
Changed to Help/Support

Thread is now a Help/Support thread. A helper will check your thread when available.

urban edge
warm cedar
#

Yeah no that switch is right, missed that - can be closed

agile sandBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command 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.)

#

@urban edge