Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

This sub-forum is dedicated to add-ons and texture packs for Better Than Wolves.
Post Reply
User avatar
Pot_Tx
Posts: 51
Joined: Mon Apr 24, 2023 11:09 am

Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

Post by Pot_Tx »

Better Than Wolves makes everything in your survival experience rougher... except for hostile mobs. It even weakens zombies by depriving them of the ability to break wooden doors.

The fact is that mobs have long been easily squeezed for loots in BTW; with MEA, everything will (hopefully) be different.

Download MEA here
Source code here
Spoiler
Show
Image

Features

All Mobs
Mobs enjoy increased melee attack reach distance when holding a tool.
Mobs' senses are strengthened, with further target distance and more points to check, instead of only doing an eye-to-eye check.
Mobs cannot see entities behind them unless they are very close.
Mobs can see through transparent blocks such as glass, leaves.
Mobs no longer try to watch the closest player.

Zombies
Zombies are able to break certain types of blocks blocking the way to their attack target, determined by their held item.
Zombies have a chance to be able to sense targets through opaque blocks.

Skeletons
Skeletons move faster.
Skeletons have a chance to spawn with a melee weapon instead of a bow.
Skeletons predict their target's position before ranged attacks.
Skeletons try not to get too close to dangerous targets when holding a bow.
Skeletons flee from dangerous targets when their health is low.
Skeletons' max health is decreased from 20 to 16.
Skeletons target villagers.
Skeletons try to break nearby burning torches.
Skeletons have a chance to be able to sense targets through opaque blocks.
Skeletons try to flee from explosions.

Creepers
Creepers' fuse time is decreased from 1.5 seconds to 1 second.
Creepers' explosions spawn at the center of them, instead of the bottom.
Creepers have a chance to instantly explode when interacted with shears.
Creepers explode when damaged by explosions.
Creepers don't immediately stop fusing on sight being blocked.
Creepers have a chance to be able to sense targets through opaque blocks.

Witches
Witches move faster.
Witches predict their target's position before throwing potions.
Witches try not to get too close to dangerous targets.
Witches target villagers.
Witches have a chance to be able to sense targets through opaque blocks.
Witches try to flee from explosions.

Spiders
Cobwebs don't only slow down entities' move speed, but also make players hardly rotate their look direction.

Slimes
One of the slimes that big slimes and medium core slimes split into on death becomes a core slime, whose texture is slightly different from ordinary ones.
Core slimes attract nearby ordinary slimes to approach them, and finally merge into them to become one larger slime.

Silverfish
Infested stones generate in all biomes; the deeper, the more.
When attacked, instead of taking damage, silverfish split into two, each of them with half the health of their mother.

Zombie Pigmen
Zombie pigmen are able to break certain types of blocks blocking the way to their attack target, determined by their held item.
Zombie pigmen get invoked by creatures that are too close to them.

Magma Cubes
Small magma cubes melt into a puddle of lava on death.
Magma cubes regenerate their health when touching lava.

Ghasts
Ghasts have a translucent look.
Arrows and throwable items cannot collide with ghasts, instead fly through them.
Ghasts only take damage from fireballs and magic.

Withers
Withers follow their attack target at a larger distance.
Withers sometimes summon wither skeletons when their health is above half.
Withers sometimes dash toward their attack target when their health is below half.

Endermen
Players' gloom level rapidly increase when starring at an enderman.
Players' gloom level rapidly increase when being too close to an enderman.

Ender Dragons
When hit, instead of disappearing, ender crystals become dried, in this state they cannot heal the ender dragon.
When hit, ender crystals avenge the attacker with a lightning bolt.
Ender crystals try to charge nearby dried crystals, helping them restore vitality.
Players' gloom level rapidly increase when being close to an ender dragon.

Spawners
Spawners curse nearby players with negative potion effects when broken.

Passive Mobs
Villagers and pigs try to flee from explosions.
Last edited by Pot_Tx on Mon Feb 05, 2024 6:25 am, edited 1 time in total.
User avatar
Battosay
Posts: 2049
Joined: Mon Jul 04, 2011 7:37 pm

Re: Mobs Enhancement Addon V0.1.4 (BTW CE 2.1.0+)

Post by Battosay »

Someone send this addon to Upperman !

Great job Pot ! (you're insane lol)
User avatar
Pot_Tx
Posts: 51
Joined: Mon Apr 24, 2023 11:09 am

Re: Mobs Enhancement Addon V0.1.4 (BTW CE 2.1.0+)

Post by Pot_Tx »

Thanks Battosay!

And uh, I may not be able to connect to Discord for some time, so if anyone finds bugs or has suggestions for this addon, please send them here or on Github issues! :-)
AkoumTrailblazer
Posts: 3
Joined: Wed Jan 10, 2024 11:10 am

Re: Mobs Enhancement Addon V0.1.4 (BTW CE 2.1.0+)

Post by AkoumTrailblazer »

This Addon implements a lot of changes that I really like. However, the early game is already pretty darn hard as it is. But once you reach the later stages of progression, it seems like mobs become less of a threat, potentially being trivialized, which is why this addon interests me.

I think it would be awesome if these changes, or at least some of these changes, could be implemented to scale in difficulty with your progression, similar to how the HCS radius increases when you progress.

I'm can't claim to know anything about BTW add-ons, but I'd imagine it might not be too hard to implement, since you could probably use the existing code around HCS radius milestones and tie certain mob progressions to those same milestones.
User avatar
Pot_Tx
Posts: 51
Joined: Mon Apr 24, 2023 11:09 am

Re: Mobs Enhancement Addon V0.1.4 (BTW CE 2.1.0+)

Post by Pot_Tx »

AkoumTrailblazer wrote: Wed Jan 10, 2024 11:24 am This Addon implements a lot of changes that I really like. However, the early game is already pretty darn hard as it is. But once you reach the later stages of progression, it seems like mobs become less of a threat, potentially being trivialized, which is why this addon interests me.

I think it would be awesome if these changes, or at least some of these changes, could be implemented to scale in difficulty with your progression, similar to how the HCS radius increases when you progress.

I'm can't claim to know anything about BTW add-ons, but I'd imagine it might not be too hard to implement, since you could probably use the existing code around HCS radius milestones and tie certain mob progressions to those same milestones.
Wow thanks, that's a nice idea I haven't thought about. I'll try do it tomorrow!
Slayer123360
Posts: 1
Joined: Wed Mar 20, 2024 7:17 pm

Code Error For Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

Post by Slayer123360 »

I keep getting this error and its spammed a bunch of times over and over in my minecraft log causing my game to lag and eventually crash. I'm fairly sure its something to do with this mod so I'm wondering if there is a solution to this error because I can't figure it out for myself. Please help if possible because this mod is very fun to play with.

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.minecraft.class_867.method_2571(class_867.java:85)
at net.minecraft.class_1586.method_5483(class_1586.java:331)
at net.minecraft.class_594.method_5242(class_594.java:22)
at net.minecraft.class_594.method_1618(class_594.java:17)
at net.minecraft.class_594.method_1631(class_594.java:12)
at net.minecraft.class_598.method_1625(class_598.java:160)
at net.minecraft.class_598.method_1626(class_598.java:145)
at net.minecraft.class_530.method_1370(class_530.java:464)
at net.minecraft.class_524.method_1326(class_524.java:1155)
at net.minecraft.class_524.method_1331(class_524.java:985)
at net.minecraft.class_1600.method_2916(class_1600.java:979)
at net.minecraft.class_1600.run(class_1600.java:872)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
at net.pottx.mobsenhancement.MEAUtils.getGameProgressMobsLevel(MEAUtils.java:280)
at net.minecraft.class_978.handler$zcd000$returnSmallerMaxHealth(class_978.java:538)
at net.minecraft.class_978.method_2599(class_978.java)
at net.minecraft.class_871.<init>(class_871.java:81)
at net.minecraft.class_877.<init>(class_877.java:30)
at net.minecraft.class_975.<init>(class_975.java:7)
at net.minecraft.class_978.<init>(class_978.java:17)
at btw.entity.mob.SkeletonEntity.<init>(SkeletonEntity.java:23)
... 16 more
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.minecraft.class_867.method_2571(class_867.java:85)
at net.minecraft.class_1586.method_5483(class_1586.java:331)
at net.minecraft.class_594.method_5242(class_594.java:22)
at net.minecraft.class_594.method_1618(class_594.java:17)
at net.minecraft.class_594.method_1631(class_594.java:12)
at net.minecraft.class_598.method_1625(class_598.java:160)
at net.minecraft.class_598.method_1626(class_598.java:145)
at net.minecraft.class_530.method_1370(class_530.java:464)
at net.minecraft.class_524.method_1326(class_524.java:1155)
at net.minecraft.class_524.method_1331(class_524.java:985)
at net.minecraft.class_1600.method_2916(class_1600.java:979)
at net.minecraft.class_1600.run(class_1600.java:872)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
at net.pottx.mobsenhancement.MEAUtils.getGameProgressMobsLevel(MEAUtils.java:280)
at net.minecraft.class_978.handler$zcd000$returnSmallerMaxHealth(class_978.java:538)
at net.minecraft.class_978.method_2599(class_978.java)
at net.minecraft.class_871.<init>(class_871.java:81)
at net.minecraft.class_877.<init>(class_877.java:30)
at net.minecraft.class_975.<init>(class_975.java:7)
at net.minecraft.class_978.<init>(class_978.java:17)
at btw.entity.mob.SkeletonEntity.<init>(SkeletonEntity.java:23)
... 16 more[/color][/color][/color]
Humanx10
Posts: 2
Joined: Sun May 05, 2024 8:09 pm

Re: Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

Post by Humanx10 »

This addon sounds cool. But given how hard the game already is (especially early game) I am hesitant to start using it as I'm afraid it may turn an already fairly frustrating experience into an absolutely impossible experience. I'm wondering whether the suggestion to make mob difficulty scale with player development has been implemented? That would make this addon a lot more attractive to me.
User avatar
Pot_Tx
Posts: 51
Joined: Mon Apr 24, 2023 11:09 am

Re: Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

Post by Pot_Tx »

Humanx10 wrote: Sun May 05, 2024 8:27 pm This addon sounds cool. But given how hard the game already is (especially early game) I am hesitant to start using it as I'm afraid it may turn an already fairly frustrating experience into an absolutely impossible experience. I'm wondering whether the suggestion to make mob difficulty scale with player development has been implemented? That would make this addon a lot more attractive to me.
Yes, scaling difficulty has been implemented in 0.2 as a new feature. You can see the changelog on github.
User avatar
Pot_Tx
Posts: 51
Joined: Mon Apr 24, 2023 11:09 am

Re: Code Error For Mobs Enhancement Addon V0.2.1 (BTW CE 2.1.0+)

Post by Pot_Tx »

Slayer123360 wrote: Wed Mar 20, 2024 7:25 pm I keep getting this error and its spammed a bunch of times over and over in my minecraft log causing my game to lag and eventually crash. I'm fairly sure its something to do with this mod so I'm wondering if there is a solution to this error because I can't figure it out for myself. Please help if possible because this mod is very fun to play with.

java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.minecraft.class_867.method_2571(class_867.java:85)
at net.minecraft.class_1586.method_5483(class_1586.java:331)
at net.minecraft.class_594.method_5242(class_594.java:22)
at net.minecraft.class_594.method_1618(class_594.java:17)
at net.minecraft.class_594.method_1631(class_594.java:12)
at net.minecraft.class_598.method_1625(class_598.java:160)
at net.minecraft.class_598.method_1626(class_598.java:145)
at net.minecraft.class_530.method_1370(class_530.java:464)
at net.minecraft.class_524.method_1326(class_524.java:1155)
at net.minecraft.class_524.method_1331(class_524.java:985)
at net.minecraft.class_1600.method_2916(class_1600.java:979)
at net.minecraft.class_1600.run(class_1600.java:872)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
at net.pottx.mobsenhancement.MEAUtils.getGameProgressMobsLevel(MEAUtils.java:280)
at net.minecraft.class_978.handler$zcd000$returnSmallerMaxHealth(class_978.java:538)
at net.minecraft.class_978.method_2599(class_978.java)
at net.minecraft.class_871.<init>(class_871.java:81)
at net.minecraft.class_877.<init>(class_877.java:30)
at net.minecraft.class_975.<init>(class_975.java:7)
at net.minecraft.class_978.<init>(class_978.java:17)
at btw.entity.mob.SkeletonEntity.<init>(SkeletonEntity.java:23)
... 16 more
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at net.minecraft.class_867.method_2571(class_867.java:85)
at net.minecraft.class_1586.method_5483(class_1586.java:331)
at net.minecraft.class_594.method_5242(class_594.java:22)
at net.minecraft.class_594.method_1618(class_594.java:17)
at net.minecraft.class_594.method_1631(class_594.java:12)
at net.minecraft.class_598.method_1625(class_598.java:160)
at net.minecraft.class_598.method_1626(class_598.java:145)
at net.minecraft.class_530.method_1370(class_530.java:464)
at net.minecraft.class_524.method_1326(class_524.java:1155)
at net.minecraft.class_524.method_1331(class_524.java:985)
at net.minecraft.class_1600.method_2916(class_1600.java:979)
at net.minecraft.class_1600.run(class_1600.java:872)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
at net.pottx.mobsenhancement.MEAUtils.getGameProgressMobsLevel(MEAUtils.java:280)
at net.minecraft.class_978.handler$zcd000$returnSmallerMaxHealth(class_978.java:538)
at net.minecraft.class_978.method_2599(class_978.java)
at net.minecraft.class_871.<init>(class_871.java:81)
at net.minecraft.class_877.<init>(class_877.java:30)
at net.minecraft.class_975.<init>(class_975.java:7)
at net.minecraft.class_978.<init>(class_978.java:17)
at btw.entity.mob.SkeletonEntity.<init>(SkeletonEntity.java:23)
... 16 more[/color][/color][/color]
Fixed in the 0.2.2-ffiixx release, thank you for the feedback!
Post Reply