#Emit events such as entity_die

38 messages · Page 1 of 1 (latest)

proven gate
#

I want to know how to emit events primarily the entity_die event if at all possible

waxen topazBOT
#

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

summer pulsar
#

emit events? or listen to event?

proven gate
#

Emit..?

#

I believe emit

#

Here's a ss to see what I'm wanting to get.

summer pulsar
#

you need the exact event they are talking about, better ask them to show code

proven gate
#

so that isn't a vanilla event?

summer pulsar
proven gate
#

Tryin here. I don't understand the stuff but I do know Oritech has a github page.

summer pulsar
#

oh it is a GameEvent

#

@proven gate but what is your point on this, you want to emit this for what?

#

just call .kill() in an entity that it will emit the event

proven gate
#

I don't want to use entities that's why.

#

And the other method added by the mod is so slow.

summer pulsar
#

Soul Flowers?

proven gate
#

Yes

summer pulsar
#

@proven gate did you check the config files if you can boost it?

proven gate
#

I did look but I didn't find anything no

summer pulsar
#

so none of those are related?

#

so where you want to emit that?

#

based on what

proven gate
proven gate
summer pulsar
#

@proven gate what you have? do you have the level? where is it? at tick event of the multiblock?

proven gate
#

I don't... What?

#

What're you asking me?

summer pulsar
proven gate
#

In KubeJS I don't have anything to call the game event I don't know how to

summer pulsar
#

So you are saying you don't have anything yet and want a test code?

Like punch the air or some block and increase the souls?

What is slow about the Soul Flowers? is it growth?

proven gate
#

Correct I have nothing I just want to know if it is possible and how to emit the event in KubeJS so I can make any edits I need to, to it; Or even where a page for that stuff is located that is finished.

What I'm inevitably wanting is a custom machine to consume Fe, Industrial forgoing souls, and Create Enchantment Industry EXP and when it consumes that it will then emit the event and the souls will go up

Yes it's growth and I'm trying to not add too many mods.

summer pulsar
#

does your pack have ae2? they have growth accelerators

proven gate
#

That works on plants?

#

I thought it only worked on certus and AMethyst.

#

I just tested and it doesn't work

summer pulsar