MythicMobs issueshttps://git.lumine.io/mythiccraft/MythicMobs/-/issues2020-09-10T05:31:45Zhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/80Mobs not working on Spigot2020-09-10T05:31:45ZRelaxing9Mobs not working on Spigot**Summary**
MythicMobs not working with latest Spigot builds, mobs and items not behaving as they should be.
**Steps to reproduce**
Use latest Spigot.jar from BuildTools.jar (GitBash).
Use latest MythicMobs development builds
Summon the mob and watch the errors pile up, try to fetch the item and get the error.
**Current behavior**
Mobs cannot perform skills, drop anything, just your buff punching bag (...). Items cannot be given or fetched and will throw an error.
**Intended correct behavior**
MythicMob item and mob should work as intended as it does on Paper.
**Server log file**
https://pastebin.com/Dy5vW2yD
**Proposed fixes**
Spigot Compatibility (I switched to Paper, Wahrheit told me to make a report... so...)
**Server Version**
git-Spigot-b5a13e6-b8ee6a8 [1.16.2]**Summary**
MythicMobs not working with latest Spigot builds, mobs and items not behaving as they should be.
**Steps to reproduce**
Use latest Spigot.jar from BuildTools.jar (GitBash).
Use latest MythicMobs development builds
Summon the mob and watch the errors pile up, try to fetch the item and get the error.
**Current behavior**
Mobs cannot perform skills, drop anything, just your buff punching bag (...). Items cannot be given or fetched and will throw an error.
**Intended correct behavior**
MythicMob item and mob should work as intended as it does on Paper.
**Server log file**
https://pastebin.com/Dy5vW2yD
**Proposed fixes**
Spigot Compatibility (I switched to Paper, Wahrheit told me to make a report... so...)
**Server Version**
git-Spigot-b5a13e6-b8ee6a8 [1.16.2]4.10.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/18HasPotionEffect condition no longer works2020-09-12T10:31:40ZGhost UserHasPotionEffect condition no longer works**Summary**
HasPotionEffect condition no longer works (1.15.2)
**Steps to reproduce**
the haspotioneffect condition always returns true regardless of what value I set it at. And it will constantly apply the potion effect.
**Current behavior**
the haspotioneffect condition always returns true regardless of what value I set it at. And it will constantly apply the potion effect.
**Intended correct behavior**
Apply false when player has no potion effects
**Server log file**
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.
**Debug log snippet**
Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
**Proposed fixes**
Describe what you think the issue or any potential fixes may be.**Summary**
HasPotionEffect condition no longer works (1.15.2)
**Steps to reproduce**
the haspotioneffect condition always returns true regardless of what value I set it at. And it will constantly apply the potion effect.
**Current behavior**
the haspotioneffect condition always returns true regardless of what value I set it at. And it will constantly apply the potion effect.
**Intended correct behavior**
Apply false when player has no potion effects
**Server log file**
Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.
**Debug log snippet**
Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
**Proposed fixes**
Describe what you think the issue or any potential fixes may be.4.10.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/61.16.2 support2020-10-06T22:00:11ZAshijin1.16.2 support4.10.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/51.16 support2020-10-06T22:00:11ZAshijin1.16 support4.10.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/563NPE when player being attacked by boss2021-09-28T20:52:04ZNailmNPE when player being attacked by boss**Summary**
As the title. See below for repos and logs.
**Steps to reproduce**
When the boss (Alpha_spider) attacks a player, an exception will be thrown on the console
1. Spawn the boss: id: Alpha_spider
2. Let the boss attack players
3. Each attack generates a NPE on the console
My combined MM config files:
https://pastebin.com/fjDQ3qaJ
**Current behavior**
There will be a NPE if the boss attacks players.
**Intended correct behavior**
There should not be NPE when the boss attacks players.
**Server log file**
https://pastebin.com/Z5JhxgwT (contains the logs of NPEs)
**Debug log snippet**
https://pastebin.com/Z5JhxgwT (the same as the server log file)
**Proposed fixes**
I have no idea, sorry.**Summary**
As the title. See below for repos and logs.
**Steps to reproduce**
When the boss (Alpha_spider) attacks a player, an exception will be thrown on the console
1. Spawn the boss: id: Alpha_spider
2. Let the boss attack players
3. Each attack generates a NPE on the console
My combined MM config files:
https://pastebin.com/fjDQ3qaJ
**Current behavior**
There will be a NPE if the boss attacks players.
**Intended correct behavior**
There should not be NPE when the boss attacks players.
**Server log file**
https://pastebin.com/Z5JhxgwT (contains the logs of NPEs)
**Debug log snippet**
https://pastebin.com/Z5JhxgwT (the same as the server log file)
**Proposed fixes**
I have no idea, sorry.5.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/560Attribute not working on spigot 1.16.52021-09-28T05:35:20Zhaehyun leeAttribute not working on spigot 1.16.5I changed the server version.
MY MINECRAFT VERSION : 1.16.5
MYTHICMOBS : LAST VERSION
![2021-09-24_09_31_22](/uploads/af3aa858bd459d4726379e9a0cb67224/2021-09-24_09_31_22.PNG)
Attributes not working ...
help me ..I changed the server version.
MY MINECRAFT VERSION : 1.16.5
MYTHICMOBS : LAST VERSION
![2021-09-24_09_31_22](/uploads/af3aa858bd459d4726379e9a0cb67224/2021-09-24_09_31_22.PNG)
Attributes not working ...
help me ..4.13.Xhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/556BlockWave Bugs2021-09-28T05:40:52ZGhost UserBlockWave Bugs**Summary**
Block wave has problems with some types of blocks (terracota colors, grindstone)
**Steps to reproduce**
1. Make a skill that uses block wave
2. Look what happens after block wave (grindstone dissapears client side, terracota changes color client side)
**Current behavior**
Some blocks dont appear after block wave or appear buggy (sometimes player can even get stuck in ground)
**Intended correct behavior**
Self explanatory, they should be placed back.**Summary**
Block wave has problems with some types of blocks (terracota colors, grindstone)
**Steps to reproduce**
1. Make a skill that uses block wave
2. Look what happens after block wave (grindstone dissapears client side, terracota changes color client side)
**Current behavior**
Some blocks dont appear after block wave or appear buggy (sometimes player can even get stuck in ground)
**Intended correct behavior**
Self explanatory, they should be placed back.4.13.Xhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/522Creeper Cooldowns2023-12-08T06:44:40ZEmre IslerCreeper Cooldowns**Summary**
Creeper boss that rides a spider has no cooldowns when prevent suicide is on.
**Steps to reproduce**
Create a boss below with all the mobs that come with it
https://pastebin.com/jdcWsvJx
https://pastebin.com/zCfna3WV
https://pastebin.com/ht8UVd4w
https://pastebin.com/rURKhYDF
https://pastebin.com/Ld4YuTUe
https://paste.denizenscript.com/View/87513
**Current behavior**
I have a creeper boss that rides a spider and has no cooldowns, whenever I turn prevent suicide on/off the cd glitch will come and go.
**Intended correct behavior**
I want to have a creeper boss that has the correct cooldowns while having prevent suicide on, this boss also has to ride a spider.
**Server log file**
https://pastebin.com/6R0ndgSq
**Debug log snippet**
https://paste.denizenscript.com/View/87513
**Proposed fixes**
I was told to update to paper so I did and it's still glitched, I also updated to java 16**Summary**
Creeper boss that rides a spider has no cooldowns when prevent suicide is on.
**Steps to reproduce**
Create a boss below with all the mobs that come with it
https://pastebin.com/jdcWsvJx
https://pastebin.com/zCfna3WV
https://pastebin.com/ht8UVd4w
https://pastebin.com/rURKhYDF
https://pastebin.com/Ld4YuTUe
https://paste.denizenscript.com/View/87513
**Current behavior**
I have a creeper boss that rides a spider and has no cooldowns, whenever I turn prevent suicide on/off the cd glitch will come and go.
**Intended correct behavior**
I want to have a creeper boss that has the correct cooldowns while having prevent suicide on, this boss also has to ride a spider.
**Server log file**
https://pastebin.com/6R0ndgSq
**Debug log snippet**
https://paste.denizenscript.com/View/87513
**Proposed fixes**
I was told to update to paper so I did and it's still glitched, I also updated to java 165.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/510Relocate shaded libraries2023-04-25T10:49:45ZPierre Maurice SchwangRelocate shaded libraries**Summary**
Used & shaded libraries should be relocated to e.g. io.lumine.xikage.mythicmobs.lib.shaded.X.X.X.X. This way, other libraries in the classpath cannot collide with the shaded libraries and cause hash mismatches.
**Value**
Future proof library management, which does not intersect with other plugins libraries.
**Priority**
Medium prioroty, as this breaks a few plugins due to java.lang.VerifyError(s) (multiple signatures / hashes with same path)
**Implementation**
Using the features the used dependency management software provides.**Summary**
Used & shaded libraries should be relocated to e.g. io.lumine.xikage.mythicmobs.lib.shaded.X.X.X.X. This way, other libraries in the classpath cannot collide with the shaded libraries and cause hash mismatches.
**Value**
Future proof library management, which does not intersect with other plugins libraries.
**Priority**
Medium prioroty, as this breaks a few plugins due to java.lang.VerifyError(s) (multiple signatures / hashes with same path)
**Implementation**
Using the features the used dependency management software provides.5.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/483oxygen mechanic throws error and doesn't work2022-04-28T04:53:54ZSlyJacob_oxygen mechanic throws error and doesn't work```
[19:25:38 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[19:25:38 WARN]: java.lang.IllegalStateException: EntityAirChangeEvent may only be triggered synchronously.
[19:25:38 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:612)
[19:25:38 WARN]: at net.minecraft.world.entity.Entity.setAirTicks(Entity.java:2740)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.entity.CraftLivingEntity.setRemainingAir(CraftLivingEntity.java:281)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitPlayer.setRemainingAir(BukkitPlayer.java:186)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.OxygenMechanic.castAtEntity(OxygenMechanic.java:32)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:453)
[19:25:38 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:449)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$1(SkillMechanic.java:406)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.runMechanic(SkillMechanic.java:444)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:406)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:324)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillManager.executeMobTimerSkills(SkillManager.java:386)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillManager.runTimerSkills(SkillManager.java:368)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.clock.MythicMobsAsyncClock.run(MythicMobsAsyncClock.java:21)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.utils.Schedulers$LumineTask.run(Schedulers.java:162)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[19:25:38 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:25:38 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[19:25:38 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[19:25:38 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
```
This mechanic doesn't work and throws an error in the console.
`- oxygen{amount=10} @PIR{r=5} ~onTimer:60`
Paper-116 (1.17.1)
MythicMobs 5.0.0.ff407328```
[19:25:38 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[19:25:38 WARN]: java.lang.IllegalStateException: EntityAirChangeEvent may only be triggered synchronously.
[19:25:38 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:612)
[19:25:38 WARN]: at net.minecraft.world.entity.Entity.setAirTicks(Entity.java:2740)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.entity.CraftLivingEntity.setRemainingAir(CraftLivingEntity.java:281)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitPlayer.setRemainingAir(BukkitPlayer.java:186)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.OxygenMechanic.castAtEntity(OxygenMechanic.java:32)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:453)
[19:25:38 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:449)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$1(SkillMechanic.java:406)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.runMechanic(SkillMechanic.java:444)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:406)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:324)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillManager.executeMobTimerSkills(SkillManager.java:386)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillManager.runTimerSkills(SkillManager.java:368)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.clock.MythicMobsAsyncClock.run(MythicMobsAsyncClock.java:21)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93)
[19:25:38 WARN]: at io.lumine.xikage.mythicmobs.utils.Schedulers$LumineTask.run(Schedulers.java:162)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[19:25:38 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[19:25:38 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[19:25:38 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
[19:25:38 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[19:25:38 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
```
This mechanic doesn't work and throws an error in the console.
`- oxygen{amount=10} @PIR{r=5} ~onTimer:60`
Paper-116 (1.17.1)
MythicMobs 5.0.0.ff4073285.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/463'- gotospawn' AIGoalSelector breaks DamageModifiers2022-04-28T04:52:23ZWoodyso'- gotospawn' AIGoalSelector breaks DamageModifiers**Summary**
As in title, using the '- gotospawn' AIGoalSelector breaks any DamageModifiers on the mob.
Using 1.17.1 with the current latest dev build of MM (#3677).
**Steps to reproduce**
Mob: https://pastebin.com/f9Lud1iF
Leave the '- gotospawn' goal to experience the bug, comment it out to remove the bug.
**Intended correct behavior**
DamageModifiers should work while using the '- gotospawn' AIGoal.
**Server log file**
https://pastebin.com/V5ZXrRSK
**Debug log snippet**
https://pastebin.com/5hcMjWCf
Note: There are a lot of errors from MythicCrucible in the above Debug, but I don't believe Crucible is the cause. However, if we could get this console spam fixed too, that would be great. It happens everytime an item is "touched" in any way, e.g. Picking it up in inventory, right-clicking it, scrolling off of it on hotbar, etc.**Summary**
As in title, using the '- gotospawn' AIGoalSelector breaks any DamageModifiers on the mob.
Using 1.17.1 with the current latest dev build of MM (#3677).
**Steps to reproduce**
Mob: https://pastebin.com/f9Lud1iF
Leave the '- gotospawn' goal to experience the bug, comment it out to remove the bug.
**Intended correct behavior**
DamageModifiers should work while using the '- gotospawn' AIGoal.
**Server log file**
https://pastebin.com/V5ZXrRSK
**Debug log snippet**
https://pastebin.com/5hcMjWCf
Note: There are a lot of errors from MythicCrucible in the above Debug, but I don't believe Crucible is the cause. However, if we could get this console spam fixed too, that would be great. It happens everytime an item is "touched" in any way, e.g. Picking it up in inventory, right-clicking it, scrolling off of it on hotbar, etc.5.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/460Mobs stop being tracked after restart and lose their MM attributes2022-04-27T23:50:08ZSlyJacob_Mobs stop being tracked after restart and lose their MM attributes**Summary**
Describe the bug encountered in detail.
**Steps to reproduce**
Here is a config of one such spawner https://pastebin.com/Y89D0sR5 , you can see that the maxmobs is set to 3 yet after a restart it has 5 active mobs. It doesn't seem to spawn any more after more restarts, but it still does it once and it can overflow the spawners if they have higher amount of mobs to spawn.
Version: 1.17.1 Paper git-paper-88
MythicMobs: Premium 5.0.0-snapshot-a0e23ea4
**Current behavior**
After a restart the spawners ignore spawned mobs, making them vanilla mobs (losing disguise, cmds not working on them etc.), and spawning more mobs in even if it's over limit of MaxMobs set.
**Intended correct behavior**
Mobs stay tracked and don't overflow the maxmobs limit.
**Server log file**
https://pastebin.com/EwMJZcLk
**Proposed fixes**
Fix tracking mobs after a restart.
This has been already reported in the past https://git.lumine.io/mythiccraft/MythicMobs/-/issues/325**Summary**
Describe the bug encountered in detail.
**Steps to reproduce**
Here is a config of one such spawner https://pastebin.com/Y89D0sR5 , you can see that the maxmobs is set to 3 yet after a restart it has 5 active mobs. It doesn't seem to spawn any more after more restarts, but it still does it once and it can overflow the spawners if they have higher amount of mobs to spawn.
Version: 1.17.1 Paper git-paper-88
MythicMobs: Premium 5.0.0-snapshot-a0e23ea4
**Current behavior**
After a restart the spawners ignore spawned mobs, making them vanilla mobs (losing disguise, cmds not working on them etc.), and spawning more mobs in even if it's over limit of MaxMobs set.
**Intended correct behavior**
Mobs stay tracked and don't overflow the maxmobs limit.
**Server log file**
https://pastebin.com/EwMJZcLk
**Proposed fixes**
Fix tracking mobs after a restart.
This has been already reported in the past https://git.lumine.io/mythiccraft/MythicMobs/-/issues/3255.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/432useEyeLocation for Orbitals2023-09-12T07:12:00ZDark RL4useEyeLocation for Orbitals**Summary**
There are a lot of people that would like to have useEyeLocation support Orbitals so people can make slashes easier.**Summary**
There are a lot of people that would like to have useEyeLocation support Orbitals so people can make slashes easier.5.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/430setlevel action=multiply doesn't support decimals2021-07-06T08:58:30ZDarwin1546setlevel action=multiply doesn't support decimalsFor mob with level 10:
`- setlevel{a=multiply;l=2.5}`
Will set level to 20
and
`- setlevel{a=multiply;l=0.5}`
Will set level to 0For mob with level 10:
`- setlevel{a=multiply;l=2.5}`
Will set level to 20
and
`- setlevel{a=multiply;l=0.5}`
Will set level to 05.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/387Mythicmobs Won't Drop Correct Amount of Mmoitems in Configured Droptables2021-07-22T03:19:08ZAlexTheTrollMythicmobs Won't Drop Correct Amount of Mmoitems in Configured Droptables**Summary**
Configured droptables (in the droptables folder) involving mmoitems always drop 1 of each configured item if chances are met regardless of specified settings. This does not affect individual mob drops. It only affects the droptables in the droptables folder.
**Steps to reproduce**
1. Have mythicmobs, mmoitems, and mythiclib in your plugins folder (best to use latest dev versions for this as I'm not too sure how old this bug is).
2. Make a droptable in mythicmobs in the droptables folder.
3. Assuming you have the default configs for mmoitems, in said droptable, add - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1
4. Make a mob and in the drops section of the mob, reference the droptable you have created in steps 2 and 3.
5. Spawn the mob and kill it.
**Current behavior**
If you did all the above steps correctly, you should find that the mob only will drop 1 wither essence item, despite the fact that the configured amount is a random amount between 10 and 64.
**Intended correct behavior**
The mob should drop 10 to 64 wither essence instead of 1.
**Server log file**
Not applicable.
**Debug log snippet**
Not applicable.
**Proposed fixes**
Probably check out droptable code. This bug does not affect mmoitem drops that are not in a droptable (for example, putting - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1 in the drops section of a mob will not trigger this bug).**Summary**
Configured droptables (in the droptables folder) involving mmoitems always drop 1 of each configured item if chances are met regardless of specified settings. This does not affect individual mob drops. It only affects the droptables in the droptables folder.
**Steps to reproduce**
1. Have mythicmobs, mmoitems, and mythiclib in your plugins folder (best to use latest dev versions for this as I'm not too sure how old this bug is).
2. Make a droptable in mythicmobs in the droptables folder.
3. Assuming you have the default configs for mmoitems, in said droptable, add - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1
4. Make a mob and in the drops section of the mob, reference the droptable you have created in steps 2 and 3.
5. Spawn the mob and kill it.
**Current behavior**
If you did all the above steps correctly, you should find that the mob only will drop 1 wither essence item, despite the fact that the configured amount is a random amount between 10 and 64.
**Intended correct behavior**
The mob should drop 10 to 64 wither essence instead of 1.
**Server log file**
Not applicable.
**Debug log snippet**
Not applicable.
**Proposed fixes**
Probably check out droptable code. This bug does not affect mmoitem drops that are not in a droptable (for example, putting - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1 in the drops section of a mob will not trigger this bug).5.0.0AshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/364skill: add option to pass inline variables (parameters) to other skills2021-04-20T17:41:50ZSilthusskill: add option to pass inline variables (parameters) to other skills**Summary**
Add option to define inline skill scoped variables in the meta skill to allow more reusable skills. Creators would also be able to create (and sell) reusable skills to the community.
**Usage**
This would allow the following:
```yaml
MyMob:
Skills:
- skill{s=Bash{damage=6;duration=40}} @target ~onAttack
Bash:
Skills:
- potion{type=SLOW;d=<skill.duration>;l=7}
- effect:sound{s=block.anvil.land}
- effect:particles{p=explosion_large;speed=1}
- damage{a=<skill.damage>}
```
Instead of:
```yaml
MyMob:
Skills:
- skill{s=Tutorial_Guard_Bash} @target ~onAttack
Tutorial_Guard_Bash:
Skills:
- setvariable{var=skill.damage;val=6}
- setvariable{var=skill.duration;val=40}
- skill{s=Bash}
```
**Value**
This would allow defining skills with inputs and reuse them across multiple projects and bosses.
**Priority**
Normal priority as this is just a nice addition.
**Implementation**
Add an additional parser for the meta skill that accepts setting (maybe increase and decrease) variables and pass them to the called skill.
Maybe this could also be implemented in a more general case and allow all mechanics to pass inline scoped variables to the called skills.**Summary**
Add option to define inline skill scoped variables in the meta skill to allow more reusable skills. Creators would also be able to create (and sell) reusable skills to the community.
**Usage**
This would allow the following:
```yaml
MyMob:
Skills:
- skill{s=Bash{damage=6;duration=40}} @target ~onAttack
Bash:
Skills:
- potion{type=SLOW;d=<skill.duration>;l=7}
- effect:sound{s=block.anvil.land}
- effect:particles{p=explosion_large;speed=1}
- damage{a=<skill.damage>}
```
Instead of:
```yaml
MyMob:
Skills:
- skill{s=Tutorial_Guard_Bash} @target ~onAttack
Tutorial_Guard_Bash:
Skills:
- setvariable{var=skill.damage;val=6}
- setvariable{var=skill.duration;val=40}
- skill{s=Bash}
```
**Value**
This would allow defining skills with inputs and reuse them across multiple projects and bosses.
**Priority**
Normal priority as this is just a nice addition.
**Implementation**
Add an additional parser for the meta skill that accepts setting (maybe increase and decrease) variables and pass them to the called skill.
Maybe this could also be implemented in a more general case and allow all mechanics to pass inline scoped variables to the called skills.4.12.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/359Adding DelVariable (to delete variables)2021-05-19T05:11:44Znicochulo2001Adding DelVariable (to delete variables)**Summary**
When looking at the available ways to interact with variables, it surprised me to see there is no way to delete a variable, only ways to set, add, substract, or make mathematical operations. The mechanic I propose would simply delete the variable (no matter its current value) from the target.
**Usage**
This mechanic would be utilized alongside any mechanic able to create variables (such as `setvariable`) and would allow for the deletion of variables without requiring the setting of a duration.
**Value**
Adding a way to delete variables would make things like the `variableisset` condition more useful, as well as adding finer control over variables overall.
**Priority**
I do not think it is an issue of very high priority, but it is a rather lightweight suggestion from what I know of programming, which could make it a quick addition to make that wouldn't divert much attention from other features.
**Implementation**
I imagine the mechanic would have a declaration similar to that of `setvariable`, except it wouldn't have more than a single parameter (the variable to be deleted) as all it'd do is delete the variable no matter its current value and status (unless it doesn't exist, which I assume would prompt an error or a warning of some sort)
```yml
DelVariableTest:
Skills:
- setvariable{var=target.somevariable;value="yes"}
- delay 20
- delvariable{var=target.somevariable}
```**Summary**
When looking at the available ways to interact with variables, it surprised me to see there is no way to delete a variable, only ways to set, add, substract, or make mathematical operations. The mechanic I propose would simply delete the variable (no matter its current value) from the target.
**Usage**
This mechanic would be utilized alongside any mechanic able to create variables (such as `setvariable`) and would allow for the deletion of variables without requiring the setting of a duration.
**Value**
Adding a way to delete variables would make things like the `variableisset` condition more useful, as well as adding finer control over variables overall.
**Priority**
I do not think it is an issue of very high priority, but it is a rather lightweight suggestion from what I know of programming, which could make it a quick addition to make that wouldn't divert much attention from other features.
**Implementation**
I imagine the mechanic would have a declaration similar to that of `setvariable`, except it wouldn't have more than a single parameter (the variable to be deleted) as all it'd do is delete the variable no matter its current value and status (unless it doesn't exist, which I assume would prompt an error or a warning of some sort)
```yml
DelVariableTest:
Skills:
- setvariable{var=target.somevariable;value="yes"}
- delay 20
- delvariable{var=target.somevariable}
```4.12.Xhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/231ProjectileTracker issue2020-12-21T23:34:47ZGabriele C.ProjectileTracker issue```
[16:46:07 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.player.PlayerInteractEntityEvent
[16:46:07 WARN]: java.lang.NullPointerException
[16:46:07 WARN]: at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.lambda$start$5(Projectile.java:359)
[16:46:07 WARN]: at io.lumine.xikage.mythicmobs.utils.events.functional.single.EventListener.execute(EventListener.java:115)
[16:46:07 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[16:46:07 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[16:46:07 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2208)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:151)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:114)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1202)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1195)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:125)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1270)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1010)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:180)
[16:46:07 WARN]: at java.base/java.lang.Thread.run(Thread.java:832)
```
Running b3525 on 1.16.4```
[16:46:07 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.player.PlayerInteractEntityEvent
[16:46:07 WARN]: java.lang.NullPointerException
[16:46:07 WARN]: at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.lambda$start$5(Projectile.java:359)
[16:46:07 WARN]: at io.lumine.xikage.mythicmobs.utils.events.functional.single.EventListener.execute(EventListener.java:115)
[16:46:07 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[16:46:07 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[16:46:07 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2208)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:43)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:151)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:114)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1202)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1195)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:125)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1270)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1010)
[16:46:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:180)
[16:46:07 WARN]: at java.base/java.lang.Thread.run(Thread.java:832)
```
Running b3525 on 1.16.44.11.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/230MM tries to set negative Health2020-12-21T23:32:00ZGabriele C.MM tries to set negative Health```
[16:44:35 WARN]: [MythicMobs] Couldn't execute skill 'MPV1ProjHit': Enable debugging for a stack trace.
[16:44:35 WARN]: java.lang.IllegalArgumentException: Health must be between 0 and 125.0, but was -0.94000244140625. (attribute base value: 125.0)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:117)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitEntity.setHealth(BukkitEntity.java:250)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.HealMechanic.castAtEntity(HealMechanic.java:51)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:450)
[16:44:35 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:446)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:399)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:325)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:270)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:245)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic$ProjectileMechanicTracker.doHit(ProjectileMechanic.java:309)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic$ProjectileMechanicTracker.projectileTick(ProjectileMechanic.java:293)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.run(Projectile.java:387)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.utils.Schedulers$LumineTask.run(Schedulers.java:162)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1369)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:397)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1279)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1010)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:180)
[16:44:35 WARN]: at java.base/java.lang.Thread.run(Thread.java:832)
```
Running b3525 on 1.16.4```
[16:44:35 WARN]: [MythicMobs] Couldn't execute skill 'MPV1ProjHit': Enable debugging for a stack trace.
[16:44:35 WARN]: java.lang.IllegalArgumentException: Health must be between 0 and 125.0, but was -0.94000244140625. (attribute base value: 125.0)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:117)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitEntity.setHealth(BukkitEntity.java:250)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.HealMechanic.castAtEntity(HealMechanic.java:51)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:450)
[16:44:35 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:446)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:399)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:325)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:270)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:245)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic$ProjectileMechanicTracker.doHit(ProjectileMechanic.java:309)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic$ProjectileMechanicTracker.projectileTick(ProjectileMechanic.java:293)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.run(Projectile.java:387)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93)
[16:44:35 WARN]: at io.lumine.xikage.mythicmobs.utils.Schedulers$LumineTask.run(Schedulers.java:162)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[16:44:35 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1369)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:397)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1279)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1010)
[16:44:35 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:180)
[16:44:35 WARN]: at java.base/java.lang.Thread.run(Thread.java:832)
```
Running b3525 on 1.16.44.11.XAshijinAshijinhttps://git.lumine.io/mythiccraft/MythicMobs/-/issues/193SpecificFaction targeter turns mobs hostile to everything.2020-12-01T18:49:16ZDustin MundySpecificFaction targeter turns mobs hostile to everything.**Summary**
When "SpecificFaction negativekarma1" is in the AITargetSelectors for a mob, they will target all living mobs.
**Steps to reproduce**
Use the following environment:
- ----------===== MythicMobs =====----------
- Server Version: org.bukkit.craftbukkit.v1_16_R3
- Plugin Version: 4.11.0
- Plugin Build: a9554921
- Is Premium: Yes
- Is Dev Build: Yes
- Supported Version: Yes
- ------------- www.mythicmobs.net -------------
https://pastebin.com/ahix8As4 Create a new mob using "SpecificFaction" targeting selector such as in this config.
**Current behavior**
MythicMobs created attack all living mobs in their range of view
**Intended correct behavior**
MythicMob created should only attack mobs in the specified faction
**Server log file**
https://pastebin.com/y2WkXJ2A
**Debug log snippet**
https://pastebin.com/twA70Vj7
**Proposed fixes**
Add some more debug so I can see what factions the target mob is in or help me run remote debugging with IntelliJ so I can figure it out myself.
Proof that the issue is with SpecificFaction and not OtherFactionMonsters:
https://puu.sh/GSlb8/7ec7106b52.mp4
https://cdn.discordapp.com/attachments/782380369340792842/782499519362498580/unknown.png
Compare to:
https://puu.sh/GSlef/05188b4e16.mp4
https://cdn.discordapp.com/attachments/782380369340792842/782500450918334484/unknown.png**Summary**
When "SpecificFaction negativekarma1" is in the AITargetSelectors for a mob, they will target all living mobs.
**Steps to reproduce**
Use the following environment:
- ----------===== MythicMobs =====----------
- Server Version: org.bukkit.craftbukkit.v1_16_R3
- Plugin Version: 4.11.0
- Plugin Build: a9554921
- Is Premium: Yes
- Is Dev Build: Yes
- Supported Version: Yes
- ------------- www.mythicmobs.net -------------
https://pastebin.com/ahix8As4 Create a new mob using "SpecificFaction" targeting selector such as in this config.
**Current behavior**
MythicMobs created attack all living mobs in their range of view
**Intended correct behavior**
MythicMob created should only attack mobs in the specified faction
**Server log file**
https://pastebin.com/y2WkXJ2A
**Debug log snippet**
https://pastebin.com/twA70Vj7
**Proposed fixes**
Add some more debug so I can see what factions the target mob is in or help me run remote debugging with IntelliJ so I can figure it out myself.
Proof that the issue is with SpecificFaction and not OtherFactionMonsters:
https://puu.sh/GSlb8/7ec7106b52.mp4
https://cdn.discordapp.com/attachments/782380369340792842/782499519362498580/unknown.png
Compare to:
https://puu.sh/GSlef/05188b4e16.mp4
https://cdn.discordapp.com/attachments/782380369340792842/782500450918334484/unknown.png4.11.XAshijinAshijin