Onslaught [outdated/momentarily discontinued]

Onslaught [outdated/momentarily discontinued]

198k Downloads

Skipping entity?

squidwrad opened this issue ยท 8 comments

commented

I can't figure out why the entity I select gets skipped by the script. It may be that its a non living entity but the discord server said there is a way to load them but I'd have to ask the GitHub for answers. Long story short there's an entity that is a laser from the sky and it does damage. if I use the summon command in minecraft then it summons normally. But the mod just skips right over the entity entirely. If I can receive some help that'd be great

{
  "Laser show": {
    "name": "glassing the surface",
    "selector": {
      "weight": 1,
      "dimension": {
        "type": "include",
        "dimensions": [0]
      }
    },
    "messages": {
      "start": "They started the purging of the surface? Run and hide!",
      "end": "They'll be back to finish the job",
      "warn": {
        "ticks": 12000,
        "message": "Radar detects multiple high orbit hostile ships above your AO"
      }
    },
    "waves": [
      {
        "delayTicks": [0],
        "groups": [
          {
            "weight": 1,
            "forceSpawn": true,
            "mobs": [
              {
                "id": "laser",
                "count": [12, 16],
                "spawn": {
                  "type": "ground",
                  "rangeXZ": [0,16]
                }
              }
            ]
          }
        ]
      }
    ]
  }
}
{
  "laser": {
  "id":"mowziesmobs:solar_beam"
  }
}
commented

fyi its triple backticks (```)

commented

wait, what is triple back ticks? I need to know! the file? the question? I need answers

commented

to make a codeblock
this is inline code (`)

this is codeblock (```)
commented

I appreciate it, ill adjust the OP

commented

(i already edited the post)

commented

I appreciate that, also. I'll keep in mind the triple back ticks fro next time.

commented

I have also edited it. If you put triple backticks and then the language / syntax you get highlighting.

What's your light range here? The default would not let it spawn in the sun.

it may be that its a non living entity but the discord server said there is a way to load them but I'd have to ask the GitHub for answers.

I wasn't familiar with the entity you were referring to. If you turn on debug in the config, when you spawn do you see any issues in your log?

commented

Solar Beam is in fact not a LivingEntity

At this time, Onslaught only supports the creation of Living Entities (things with health that can take AI tasks) so you have something to fight.