#(hey_its_la) How to stop an enemy from burning in the sun?

17 messages · Page 1 of 1 (latest)

fierce merlin
#

I've given a mob this flag (-flag <context.damager> immuneToSunlight)

How can I use this flag to stop a monster from being hurt by sunlight?

undone ploverBOT
#

(hey_its_la) How to stop an enemy from burning in the sun?

undone ploverBOT
#

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.

short yacht
#

!m should_burn

glacial mantleBOT
# short yacht !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...

cyan impBOT
#
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.)

#

@fierce merlin

fierce merlin
short yacht
#

!m entitytag.persistent

glacial mantleBOT
# short yacht !m entitytag.persistent

Sets whether the mob-entity will not be removed completely when far away from players.
This is Bukkit's "setRemoveWhenFarAway" which is Mojang's "isPersistenceRequired".
In many cases, !mechanism EntityTag.force_no_persist may be preferred.
The entity must be a mob-type entity.

Object

EntityTag

Input

ElementTag(Boolean)

Tags

<EntityTag.is_persistent> Returns whether the mob-entity will not be removed completely when far a...

short yacht
#

Depends on the reason for despawning, but generally you should make them persistent.

#

Otherwise.

#

!e entity despawns

glacial mantleBOT
# short yacht !e entity despawns
Group

Entity

**WARNING**

this event fires very rapidly.

Event Lines

<entity> despawns

Switches

cause:<cause> to only process the event when it came from a specified cause.

Triggers

when an entity despawns permanently from the world. May fire repeatedly for one entity.

Has NPC

when the entity that despawned is an NPC.

Context

<context.entity> returns the entity that despawned.
<context.cause> returns the reason the entity despawned. Can be: DEATH, CHUNK_UNLOAD, CITIZENS, or OTHER

Has Known Location

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

short yacht
#

Be wear of that warning.

fierce merlin
#

Thank you! I've made a system similar to Bloodborne where if you kill an enemy, you get their souls, and if an enemy kills you, they get all of your souls when you die, but that enemy now glows when they possess someone's souls, if you kill that mob you get all the souls (back)