#don't allow explosion type of forces applied to certain entity using entityjs?

54 messages · Page 1 of 1 (latest)

dark owl
#

I basically want my "bomb_entity" entity to not get pushed by other explosions.

StartupEvents.registry("entity_type", event => {
    event.create('bomb_entity', 'entityjs:geckolib_projectile')
})
shut swiftBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

final coral
#

.isPushable(false) i think

dark owl
#

oh

final coral
#

actually that might not prevent knockback hmmm

#

you should just set a really high knockback attribute

#

actually wait its a non living entity without attributes pepethink

dark owl
final coral
#

oh @dark owl ispushable might be all you need

#

i think it accounts for that

dark owl
#

ooo

final coral
#

i guess try it and see ™️

dark owl
#

yep

dark owl
final coral
#

darn

#

couldnt be that easy could it

dark owl
#

wait

#

I frogot

#

one thing

#

yeah it doesn't work

final coral
#

hmm

#

ah so its hard coded to set your delta movement if the entity does not override the ignoreExplosion method despair

dark owl
#

m

final coral
#

this will have to be an Entityjs update sadly, i'll see if i can get an update out by tomorrow

dark owl
#

uh oh...

final coral
#

?

final coral
#

you need it today or something?

dark owl
#

no

final coral
#

oh

dark owl
#

take your time

#

I don't want to put work on people

final coral
#

if you're worried about how hard it will be to implement it will be like 2 minute job, i just need some time for getting to my computer lol

dark owl
dark owl
#

java is scary in my eyes

final coral
#

yeah, ill lyk, could be out by tonight too, we'll see

dark owl
#

yippie

#

so it will just be .ignoreExplosion(true)

#

or something

final coral
#

probably

#

i might also make it a callback so people can do dynamic stuff

dark owl
#

oo

final coral
#

yeah so js .ignoreExplosion(entity => true)

final coral
dark owl
#

yippie!!

#

will update

final coral
#

sounds good, lemme know if it works for you

dark owl
#

yep it works

#

no problems

#

thanks