Bug Closed · Resolved

Blockwave Effect fails

#1352 opened by Unknown 5 years ago

Unknownreported this bug

Summary

Blockwave doesn't work. I'm new to mythic mobs, so I'm not sure exactly what it's supposed to do, but null pointer exceptions are probably not desirable.

Add simple skill to mob for testing:

  Skills:
  - blockwave{duration=100} @self ~onSpawn 1.0

Spawn the mob with that lonely skill set, and the console shows:

Console shows:

[14:29:38 INFO]: brezeeger issued server command: /mm mobs spawn Hulk
[14:29:38 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[14:29:38 WARN]: java.lang.NullPointerException
[14:29:38 WARN]:        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedLocationSkill(SkillMechanic.java:453)
[14:29:38 WARN]:        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$3(SkillMechanic.java:417)
[14:29:38 WARN]:        at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[14:29:38 WARN]:        at io.lumine.xikage.mythicmobs.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[14:29:38 WARN]:        at io.lumine.xikage.mythicmobs.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[14:29:38 WARN]:        at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99)
[14:29:38 WARN]:        at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[14:29:38 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.b(MinecraftServer.java:1296)
[14:29:38 WARN]:        at net.minecraft.server.v1_16_R2.DedicatedServer.b(DedicatedServer.java:371)
[14:29:38 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1211)
[14:29:38 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999)
[14:29:38 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
[14:29:38 WARN]:        at java.lang.Thread.run(Unknown Source)

or if using @selflocation instead of @self:

[14:21:27 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[14:21:27 WARN]: java.lang.NullPointerException
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.skills.mechanics.BlockWaveEffect.castAtLocation(BlockWaveEffect.java:70)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedLocationSkill$6(SkillMechanic.java:457)
[14:21:27 WARN]:        at java.lang.Iterable.forEach(Unknown Source)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedLocationSkill(SkillMechanic.java:453)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$2(SkillMechanic.java:407)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[14:21:27 WARN]:        at io.lumine.xikage.mythicmobs.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[14:21:27 WARN]:        at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99)
[14:21:27 WARN]:        at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[14:21:27 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.b(MinecraftServer.java:1296)
[14:21:27 WARN]:        at net.minecraft.server.v1_16_R2.DedicatedServer.b(DedicatedServer.java:371)
[14:21:27 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1211)
[14:21:27 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999)
[14:21:27 WARN]:        at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177)
[14:21:27 WARN]:        at java.lang.Thread.run(Unknown Source)

For version reference:

> mm version
[14:22:28 INFO]: ----------===== MythicMobs =====----------
[14:22:28 INFO]:
[14:22:28 INFO]: Server Version: org.bukkit.craftbukkit.v1_16_R2
[14:22:28 INFO]: Plugin Version: 4.10.1
[14:22:28 INFO]: Plugin Build: 3456
[14:22:28 INFO]: Is Premium: No
[14:22:28 INFO]: Is Dev Build: No
[14:22:28 INFO]: Supported Version: Yes
[14:22:28 INFO]:
[14:22:28 INFO]: ------------- www.mythicmobs.net -------------

That being said, this is probably my favorite mod I've ever discovered! Thanks for helping minecraft become interesting/a challenge again!

Unknowncommented

First try replacing your effect with the effect on the wiki

  • blockwave{duration=100;material=stone;radius=5;radiusY=5;velocity=10;shape=sphere} @selflocation

If that works then you know it is your setup.

Next try using location targetters (@selflocation) since blockwave seems to be a location oriented skill. Next try not to leave any options blank for what you want to happen. I.E. material; radius, radiusY, velocity, shape, etc.

Tell me how that goes.

Unknowncommented

I have tried the blockwave just now . https://pasteboard.co/JCMP3me.png I am on 1.16.4 latest dev build but to be honest i thought it will be wave one block after other not the whole bunch of blocks .It doesnt look well and its messing your ability move when you use it . I think the solution would be if we can determinate just one Circle line to pop out not whole radius .

Sign in to join the discussion.