#(faylik) Player burning

27 messages · Page 1 of 1 (latest)

thin current
#

Hello, I want to implement the burning of the player in the sun, like zombies or other hostile mobs. But I don't understand how to do this. I found the /ex burn command, but I think it will be incorrect to constantly check where the player is walking and what is on his head. Perhaps there is a more optimal solution? (If it is not difficult, because I am slow-witted to write an example.)

fickle pilotBOT
#

(faylik) Player burning

fickle pilotBOT
#

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.

thorn steppeBOT
# meager epoch !m should_burn

(Property) If the entity is a Zombie, Skeleton, or Phantom, controls whether it should burn in daylight.

Required Plugins or Platforms

Paper

Group

Properties

Object

EntityTag

Input

ElementTag(Boolean)

Tags

<EntityTag.should_burn> (Property) If the entity is a Zombie, Skeleton, or Phantom, controls wheth...

meager epoch
#

i dony know if this works with players?

#

give it a go?

thin current
#

checked, does not work on players

meager epoch
#

!e player steps on block

thorn steppeBOT
# meager epoch !e player steps on block
Group

Player

**WARNING**

This event may fire very rapidly.

Event Lines

player steps on block player steps on <material>

Triggers

when a player steps onto a specific block material.

Has Player

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

Context

<context.location> returns a LocationTag of the block the player is stepping on.
<context.previous_location> returns a LocationTag of where the player was before stepping onto the block.
<context.new_location> returns a LocationTag of where the player is now.

Has Known Location

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

Cancellable

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

meager epoch
#

and then you can check if this is the condition

#

!t sky_light

thorn steppeBOT
#
Possible Confusion

Did you mean to search for locationtag.light?

thorn steppeBOT
meager epoch
#

uhh

#

wheres that sky light tag

#

!t locationtag.light.sky

thorn steppeBOT
meager epoch
#

that would probably be your best way to do this along with burn then

thin current
#

By the way, I didn't think about it, I'll try tomorrow, thanks. I'll write about the result.

zenith token
thin current
quiet crownBOT
#
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.)

#

@thin current