Giter Club home page Giter Club logo

ai-improvements's People

Contributors

bl4ckscor3 avatar darkguardsman avatar dmodoomsirius avatar kolatra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai-improvements's Issues

[1.14.4] Issue with lockup on world creation after adding AI improvements.

I added AI improvements to the pack and tested it by starting a new world it locked up at 7% and started throwing stacktraces with AI improvements- Find attached.

debug.log
latest.log

Here is a small excerpt-
java.util.concurrent.CompletionException: java.lang.VerifyError: Bad access to protected data in getfield Exception Details: Location: com/builtbroken/ai/improvements/FixedLookController.copyDataIntoSelf(Lnet/minecraft/entity/ai/controller/LookController;)V @34: getfield Reason: Type double_2nd (current frame, stack[2]) is not assignable to 'com/builtbroken/ai/improvements/FixedLookController' Current Frame: bci: @34 flags: { } locals: { 'com/builtbroken/ai/improvements/FixedLookController', 'net/minecraft/entity/ai/controller/LookController' } stack: { 'com/builtbroken/ai/improvements/FixedLookController', float }

Forge 28.0.29
AI-Improvements-1.14.4-0.2.1
1.14.4 Modpack - https://www.curseforge.com/minecraft/modpacks/the-adventures-of-halk

1.7.10 Crash

---- Minecraft Crash Report ---- // There are four lights!

Time: 10/14/22 8:18 AM
Description: Initializing game

java.lang.NullPointerException: Initializing game
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.superAddRandomArmor(EntitySkeletonTFC.java:411)
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.func_82164_bB(EntitySkeletonTFC.java:317)
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.func_110161_a(EntitySkeletonTFC.java:446)
at com.builtbroken.ai.improvements.overrides.instances.EntityOverrideArrowAttack.loadEntitySettings(EntityOverrideArrowAttack.java:75)
at com.builtbroken.ai.improvements.overrides.EntityOverride.loadSettings(EntityOverride.java:51)
at com.builtbroken.ai.improvements.overrides.OverrideHandler.init(OverrideHandler.java:49)
at com.builtbroken.ai.improvements.AIImprovements.postInit(AIImprovements.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:742)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Stacktrace:
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.superAddRandomArmor(EntitySkeletonTFC.java:411)
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.func_82164_bB(EntitySkeletonTFC.java:317)
at com.bioxx.tfc.Entities.Mobs.EntitySkeletonTFC.func_110161_a(EntitySkeletonTFC.java:446)
at com.builtbroken.ai.improvements.overrides.instances.EntityOverrideArrowAttack.loadEntitySettings(EntityOverrideArrowAttack.java:75)
at com.builtbroken.ai.improvements.overrides.EntityOverride.loadSettings(EntityOverride.java:51)
at com.builtbroken.ai.improvements.overrides.OverrideHandler.init(OverrideHandler.java:49)
at com.builtbroken.ai.improvements.AIImprovements.postInit(AIImprovements.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:742)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_292, AdoptOpenJDK
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK
Memory: 1160237008 bytes (1106 MB) / 1864892416 bytes (1778 MB) up to 3797417984 bytes (3621 MB)
JVM Flags: 1 total; -Xmx4074M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 89 mods loaded, 89 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJ mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJ FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJ Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJ tfc_coremod{0.79.29} [TFC[coremod]] (minecraft.jar)
UCHIJ appliedenergistics2-core{rv3-beta-6} [Applied Energistics 2 Core] (minecraft.jar)
UCHIJ CodeChickenCore{1.0.7.48} [CodeChicken Core] (minecraft.jar)
UCHIJ NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar)
UCHIJ OpenEye{0.8} [OpenEye] (OpenEye-1.7.10-0.8.jar)
UCHIJ xaerominimap_core{1.7.10-1.0} [XaeroMinimapCore] (minecraft.jar)
UCHIJ xaeroworldmap_core{1.7.10-1.0} [XaeroWorldMapCore] (minecraft.jar)
UCHIJ tnt_utilities_core{1.2} [TNTUtils Core] (minecraft.jar)
UCHIJ FastCraft{1.25} [FastCraft] (fastcraft-1.25.jar)
UCHIJ battlegear2{1.7.10} [Mine & Blade Battlegear 2 - Bullseye] (1.7.10-MB_Battlegear2-Bullseye-1.0.8.3.jar)
UCHIJ terrafirmacraft{0.79.29} [TerraFirmaCraft] (1.7.10-TerraFirmaCraft-0.79.30.925.jar)
UCHIJ divinerpg{1.4.1.5} [DivineRPG] ([1.7.10][SMP]DivineRPG-1.4.1.5.jar)
UCHIJ bspkrsCore{6.15} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.15.jar)
UCHIJ ArmorStatusHUD{1.28} [ArmorStatusHUD] ([1.7.10]ArmorStatusHUD-client-1.28.jar)
UCHIJ Treecapitator{1.7.10} [Treecapitator] ([1.7.10]Treecapitator-universal-2.0.4.jar)
UCHIE aiimprovements{0.0.1.8} [AI Improvements] (AIImprovements-1.7.10-0.0.1b8.jar)
UCHIJ animatedplayer{1.5.1} [Animated Player Mod] (AnimatedPlayer-1.7.10-1.5.1.jar)
UCHIJ AnimationAPI{1.2.4} [AnimationAPI] (AnimationAPI-1.7.10-1.2.4.jar)
UCHIJ AppleCore{3.1.1} [AppleCore] (AppleCore-mc1.7.10-3.1.1.jar)
UCHIJ appliedenergistics2{rv3-beta-6} [Applied Energistics 2] (appliedenergistics2-rv3-beta-6.jar)
UCHIJ armoroverlay{2.0} [Armor Overlay] (Armor Overlay 2.0.jar)
UCHIJ armorchroma{1.2} [Armor Chroma] (armorchroma-1.2-1.7.10.jar)
UCHIJ autopickup{2.1} [AutoPickup] (AutoPickup-1.7.10-2.1.jar)
UCHIJ AutoSapling{1.0} [AutoSapling] (AutoSapling-1.1.jar)
UCHIJ betterburning{0.4.2} [Better Burning] (BetterBurning-1.7.10-0.4.2.jar)
UCHIJ birdsfoods{3.1 - [1.7.10]} [Bird's Foods] (birdsfoods-1.7.10 - 3.1.jar)
UCHIJ birdsnests{1.4} [Bird's Nests] (BirdsNests1.7.10-1.4.jar)
UCHIJ BuildCraft|Core{7.1.24} [BuildCraft] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Builders{7.1.24} [BC Builders] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Robotics{7.1.24} [BC Robotics] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Silicon{7.1.24} [BC Silicon] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Energy{7.1.24} [BC Energy] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Transport{7.1.24} [BC Transport] (buildcraft-7.1.24.jar)
UCHIJ BuildCraft|Factory{7.1.24} [BC Factory] (buildcraft-7.1.24.jar)
UCHIJ chunkpregenerator{2.5.0} [Chunk Pregenerator] (Chunk Pregenerator-V1.7.10-2.5.3.jar)
UCHIJ ChunkAnimator{@Version@} [Chunk Animator] (ChunkAnimator-MC1.7.10-1.0.1.jar)
UCHIJ controlling{7.0.0} [Controlling] (Controlling-1.7.10-1.0.0.3.jar)
UCHIJ craftpresence{1.9.3} [CraftPresence] (CraftPresence-Forge-1.7.10-Release-1.9.3.jar)
UCHIJ Ding{MC1.7.10v2} [Ding] (Ding-MC1.7.10v2.jar)
UCHIJ egg-auto-hatch{1.3} [Egg Auto Hatch] (egg-auto-hatch-1.3-mc-1.7.jar)
UCHIJ endercore{1.7.10-0.2.0.39_beta} [EnderCore] (EnderCore-1.7.10-0.2.0.39_beta.jar)
UCHIJ fastleafdecay{1.4} [Fast Leaf Decay] (FastLeafDecay-1.7.10-1.4.jar)
UCHIJ IC2{2.2.827-experimental} [IndustrialCraft 2] (industrialcraft-2-2.2.827-experimental.jar)
UCHIJ Forestry{4.2.16.64} [Forestry for Minecraft] (forestry_1.7.10-4.2.16.64.jar)
UCHIJ fw{1.3.0} [Fullscreen Windowed] (FullscreenWindowed-1.7.10-1.3.0b.jar)
UCHIJ Growthcraft{1.7.10-2.7.2} [Growthcraft] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Cellar{1.7.10-2.7.2} [Growthcraft Cellar] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Apples{1.7.10-2.7.2} [Growthcraft Apples] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Bamboo{1.7.10-2.7.2} [Growthcraft Bamboo] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Bees{1.7.10-2.7.2} [Growthcraft Bees] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Fishtrap{1.7.10-2.7.2} [Growthcraft Fishtrap] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Grapes{1.7.10-2.7.2} [Growthcraft Grapes] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Hops{1.7.10-2.7.2} [Growthcraft Hops] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Milk{1.7.10-2.7.2} [Growthcraft Milk] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ Growthcraft|Rice{1.7.10-2.7.2} [Growthcraft Rice] (growthcraft-1.7.10-2.7.2-complete.jar)
UCHIJ iChunUtil{4.2.3} [iChunUtil] (iChunUtil-4.2.3.jar)
UCHIJ industrialupgrade{2.5.21} [Industrial Upgrade] (IndustrialUpgrade-2.5.21.jar)
UCHIJ inventorytweaks{1.59-dev-152-cf6e263} [Inventory Tweaks] (InventoryTweaks-1.59-dev-152.jar)
UCHIJ IronChest{6.0.62.742} [Iron Chest] (ironchest-1.7.10-6.0.62.742-universal.jar)
UCHIJ ironfurnaces{1.2.4} [Iron Furnaces] (ironfurnaces-1.2.4R.jar)
UCHIJ jaff{1.4.2_for_1.7.10} [Just a Few Fish] (JustAFewFish-1.4.2_for_1.7.10.jar)
UCHIJ lootbags{2.0.17} [Loot Bags] (LootBags-1.7.10-2.0.17.jar)
UCHIJ Mantle{1.7.10-0.3.2.jenkins191} [Mantle] (Mantle-1.7.10-0.3.2b.jar)
UCHIJ MobDismemberment{4.0.0} [MobDismemberment] (MobDismemberment-4.0.0.jar)
UCHIJ MouseTweaks{2.4.4} [Mouse Tweaks] (MouseTweaks-2.4.4-mc1.7.10.jar)
UCHIJ AS_MultiMine{1.4.3} [Multi Mine] (MultiMine-1.7.10.jar)
UCHIJ overloadedarmorbar{1.0.0} [Overloaded Armor Bar] (overloadedarmorbar-1.7.10-1.0.0.jar)
UCHIJ harvestcraft{1.7.10j} [Pam's HarvestCraft] (Pam's HarvestCraft 1.7.10Lb.jar)
UCHIJ realisticpain{2.0} [Realistic Pain] (Realistic Pain-2.0-1.7.10.jar)
UCHIJ RTG{1.7.10-1.1.1.7} [Realistic Terrain Generation] (RTG-1.7.10-1.1.1.7.jar)
UCHIJ sampler{1.60.1} [Sampling Performance Profiler] (sampler-1.60.1.jar)
UCHIJ SpecialMobs{3.2.2} [Special Mobs] (SpecialMobs-1.7.10-3.2.2.jar)
UCHIJ squidless{0.6.1} [Squidless] (squidless-1.7.10-0.6.1.jar)
UCHIJ stepup{1.0.1-mc1.7.10} [StepUp] (StepUp-1.0.1-mc1.7.10.jar)
UCHIJ Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar)
UCHIJ TConstruct{1.7.10-1.8.8.build988} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.jar)
UCHIJ tinkersdefense{1.3.7} [Tinkers' Defense] (tinkersdefense-1.3.7.jar)
UCHIJ tnt_utilities{1.2} [TNTUtils] (tnt_utilities-mc1.7.10-1.2.jar)
UCHIJ trashslot{1.0.31} [TrashSlot] (trashslot-mc1.7.10-1.0.31.jar)
UCHIJ WailaHarvestability{1.1.6} [Waila Harvestability] (WailaHarvestability-mc1.7.10-1.1.6.jar)
UCHIJ wailaplugins{MC1.7.10-0.2.0-25} [WAILA Plugins] (WAILAPlugins-MC1.7.10-0.2.0-25.jar)
UCHIJ wanionlib{1.7.10-1.8} [WanionLib] (WanionLib-1.7.10-1.8.jar)
UCHIJ wawla{1.3.1} [What Are We Looking At] (Wawla-1.0.5.120.jar)
UCHIJ XaeroMinimapFair{21.10.27} [Xaero's Minimap] (Xaeros_Minimap_FP21.10.27_Forge_1.7.10.jar)
UCHIJ XaeroWorldMap{1.14.1.20} [Xaero's World Map] (XaerosWorldMap_1.14.1.20_Forge_1.7.10.jar)
UCHIJ UniDict{1.7.10-2.9.2} [UniDict] (UniDict-1.7.10-2.9.2.jar)
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 517.48' Renderer: 'NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2'
AE2 Version: beta rv3-beta-6 for Forge 10.13.4.1448
Mantle Environment: Environment healthy.
TConstruct Environment: Environment healthy.
AE2 Integration: IC2:ON, RotaryCraft:OFF, RC:OFF, BuildCraftCore:ON, BuildCraftTransport:ON, BuildCraftBuilder:ON, RF:ON, RFItem:ON, MFR:OFF, DSU:ON, FZ:OFF, FMP:OFF, RB:OFF, CLApi:OFF, Waila:ON, InvTweaks:ON, NEI:ON, CraftGuide:OFF, Mekanism:OFF, ImmibisMicroblocks:OFF, BetterStorage:OFF, OpenComputers:OFF, PneumaticCraft:OFF
Launched Version: 1.7.10 Minecraft Forge 1.7.10-10.13.4.1614-1.7.10
LWJGL: 2.9.1
OpenGL: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2 GL version 4.6.0 NVIDIA 517.48, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: On (16)

Question about mod blocks & pathfind

image

I used NiceMod for new building block, but somehow it screwed pathfind of villagers, will this mod solve the pathfinding problem since it says it will implement "Multithreading for AI nav pathfinder" on the upcoming update?

[Request] More mob detection

So I have more mobs in my modpack and I would like to be able to configure the ai improvements of them but I don't see them in the config could you make it so the mobs load in the config if a new mob is added?

Config file

I'm using minecraft 1.7.10

my problem is that there's no "config file" in the config folder

Feature Request pt.2: Disable villager detection through walls, door breaking, and maybe improve villager AI

Please see my blacklist feature request first for info. Minecraft 1.12. I've noticed with all the mods I've added that with the smarter, more destructive AI... villages are screwed the instant their chunks are loaded at night. This is inconvenient and causes momentary lag spikes for every mini-apocalypse until everything is dead. The few villagers I've grabbed and locked up at my house also cause the zombies outside to ravenously push against the house and try to break in. I would like a feature to make it so villagers are ignored when they can't be pathed to.

As part of my preferences in my pack towards less block destruction I've tried to disable vanilla zombie door breaking by enabling it for all zombies in Special AI, but then emptying the whitelist for blocks their allowed to break. Instead zombies sometimes break mine-able light sources and skeletons sometimes flip switches and open doors. That idle griefing is part of my tps problem, but I want to keep it. As far as I can tell from watching, they're mostly prevented from breaking the doors, but they still target them. I would like a feature to prevent zombies from having any interest in closed doors, except perhaps an interest in politely standing idly in front of them... preferably without constantly THINKING about it.

Finally, this is more of a vague idea, but villagers suck at running and hiding in 1.12. Do you have any somewhat "simple fix" ideas on how they might be made better at running and hiding instead of panicking? Backporting some 1.14 features like sleeping at night might help both with survivability and TPS.

Thanks for reading, and for what you've done to help my stressed pack so far.

[common.toml]Allow mobs break block

#Black/Whitelist for various stuff
[list]
#By default the mod only modifies EntityMobs. Add other entities here if you want to apply modifications to them. Usage:
# followed by any of:
#[ALL,ATTRIBUTES,ARMOR,HELDITEMS,BLOCKBREAK,USEITEM,LADDER,STEAL,SWIMMRIDE,TARGETVILLAGER,REVERSE].

How can I use this,can u give me a example?Thanks!

Performance issues

Hi,

Server TPS is low (down and up spike cpu usage), entities sometimes do not move or like in slideshow and block breaking/placing event don't work. I believe it is caused by your AI mod, but i can be wrong. There is no console error while in game.

debug command results:
profile-results-2021-04-07_14.55.45.txt

What is causing TPS drop ?

Still alive? (Also sharing some work I did re: pathfinding, maybe I can help)

Howdy,

I've been eye-ing that "multithreaded pathfinding" planned feature for quite a while now, haha.

I did a pathfinder tweak mod for 1.7.10 ages ago which was never released, it was called "Pathfinder Tweaks" - maybe something here could be of use to you. I'm modding and building a pack on 1.12.2 now, though - I think some of these things have since been fixed in vanilla.

So here is a raw copy of the readme.md from this unreleased Pathfinder Tweaks for you to peruse, let me know if anything seems interesting and relevant to the 1.12.2 version of AI Improvements.


#PathfinderTweaks
A coremod that fixes some annoying bugs in Minecraft 1.7.10 pathfinding. It's not perfect, but it does a decent enough job of fixing serious annoyances that exist in modded (and vanilla) Minecraft 1.7.10.

###Features

  • Fixes "fence hopping". Entities will no longer try to path over tall blocks, such as mod-added walls and gates, unless they can do so confidently via a nearby block. Technical: If the block extends BlockWall, BlockFence, BlockFenceGate, or reports a maxY > 1.0, or has a collision box or bounding box greater than 1.0, then the pathfinder will treat it the same as a vanilla fence/wall.
  • Fixes "fence sticking". Entities should no longer get stuck with their NW corner in things anymore. Happens most often in animal farms, but can happen anywhere when entities are up against a block on their NW corner. Technical: Vanilla game calculates the point of origin from the minX/minY bounding boxes of the entity, which - in the event of non-whole-cube blocks like fences - can result in the "nearest" block actually being a fence, and the entity wrongly considers this impassable block as the origin. This coremod will first try to get the block at the center-point of the entity bounding box, if it fails to find free space then it checks the four corners, falling back to NW corner in the event of complete failure (and likely remaining stuck - shouldn't happen).
  • Fixes "slab hopping". Entities should no longer think they are capable of jumping higher than possible when standing on slabs or other partial-height blocks. Technical - Minecraft incorrectly rounds-up the block height position when calculating the origin point of a path, so e.g. 64.5 becomes 70; which makes entities think they can jump more than 1.0 blocks high.
  • Fixes "pogo-sticking". Entities can wrongly believe a flat "tile-like" block they're pathing over is a solid block, giving them a pogostick-like behavior. Countless mod-added 'tile-like' blocks cause this issue. *Technical - Related to the fence hopping problem; the vanilla pathfinder does no attempt at calculating the actual height of a given block - it just compared it to known blocks (in this case a rail) to decide if it's a "flat" block. So we also do a bounding box check as the very last check before returning "there's a solid block here", and only return it as solid if it's height is greater than 0.5. *
  • Entities actually compare bounding boxes to see if they can path through blocks; sheep/cows/etc can now pass open double doors (but still not single doors because they're apparently too fat). Credits to Funwayguy for this code.
  • For mod developers, adds a few custom events for modifying the path building process on a per-entity and per-block basis. I made this so my AncientWarfare2 and Epic Siege Mod forks didn't have to brute-force pathfinding enhancements.

###What this mod does NOT and WILL NOT fix

  • Any kind of pathing that depends on a "partial block traversal." This includes pathing through slab gaps, i.e. a slab, 2x air-block-worth of space above it, and another slab; and pathing between two unconnected fence/wall posts. The player can move through these obstacles, and technically so can most entities, but it would require a complete replacement of the vanilla pathfinding (to use floating-point precision).

###Tested OK:

  • Carpenter's Blocks gates
  • Et Futurum gates
  • Vanilla slabs
  • Cows and chickens in NW fence corners
  • "Grave Plate" blocks from Gravestone Mod and "Stone Path" from MrCrayfish Furniture Mod (both these blocks previously caused pogo-sticking).

###Caveats

  • This is a coremod. If there is a crash in any of the "net.minecraft.pathfinding.*" classes, it's likely an incompatibility with some other mod that also modifies the vanilla pathfinder.
  • There could be a performance impact, but it would be negligible. Most of the logic is only performed on origin calculations (i.e. the starting point of a path) and I have done my best to use optimized code. If you have a lot of entities though, you might notice some additional CPU time from the Pathfinder class (use WarmRoast or similar to check that out).
  • Only patches vanilla PathFinder class. Mods can use their own pathfinder AI and they will not be automatically supported - Ancient Warfare 2 and Epic Siege Mod are two examples (I have my own forks of these mods that do take advantage of it though).
  • Entities which have an increased jump height or some other non-flying vertical movement behavior, yet keep the vanilla pathfinder (if this is even a possible thing?) might have a derped-up navigator. Please report if you find any entities that have issues.
  • Probably more things. It is very likely that in implementing these fixes, I have in fact introduced more bugs. Please do report any bugs you find, as long as you're sure it's a bug with this mod and can be reproduced.

problem with server ram

hi, I have a server with mods and I use your mod to improve performance and I am having a problem with excessive memory usage due to your mod, what happens is the following without the mod the server loses a lot of tps performance and with it as per we are exploring and playing normal and the server goes from 10gb easy and the normal is to stay at 6gb.

used modpack: https://www.curseforge.com/minecraft/modpacks/techmagic-4/files

obs: the preformant on the server I use the performant-1.16.2-5-3.98m.jar version, I haven't updated the curse until I actually solve the ram problem

Add: Googly eyes to mobs

Random hidden config that places googly eyes over a mob when AI code for random looking is disabled. For a creeper the eyes should spin as it gets ready to explode.

[Task] Automated Integration Tests

Reminder for myself to finish automation for validating performance metrics. We currently lack good tools to test if the replacement math is working better than vanilla. I can currently run unit tests locally but results are very random due to other uncontrolled factors. To remove this issue we need to boot up the mod in a docker image and run the alg under a series of setups. To include in this we need to test each major JVM flavor, several forge versions, different OS if we can do it for free, and some of the top downloaded AI/Entity mods.

Additionally we can use this to bug hunt for mod conflicts.

Crash in Enigmatica 6 1.16: MovementController cannot be cast to classMoveHelperController

Using all default settings in this AI mod (did not touch config file), I got this crash on my Enigmatica 6 1.16 server after it was up for a few hours with no issue.

java.lang.ClassCastException: class net.minecraft.entity.ai.controller.MovementController cannot be cast to class net.minecraft.entity.monster.SlimeEntity$MoveHelperController (net.minecraft.entity.ai.controller.MovementController and net.minecraft.entity.monster.SlimeEntity$MoveHelperController are in unnamed module of loader cpw.mods.modlauncher.TransformingClassLoader @35929bc7)
	at net.minecraft.entity.monster.SlimeEntity$AttackGoal.func_75246_d(SlimeEntity.java:375) ~[?:?] {re:classloading}
	at net.minecraft.entity.ai.goal.PrioritizedGoal.func_75246_d(SourceFile:55) ~[?:?] {re:classloading}
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?] {}
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?] {}
	at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?] {}
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:?] {}
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?] {}
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] {}
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?] {}
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?] {}
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] {}
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?] {}
	at net.minecraft.entity.ai.goal.GoalSelector.func_75774_a(SourceFile:88) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorGoalSelector,pl:mixin:A}
	at net.minecraft.entity.MobEntity.func_70626_be(MobEntity.java:682) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:syp:MobEntity,pl:mixin:APP:environmental.mixins.json:MobEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMobEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.LivingEntity.func_70636_d(LivingEntity.java:2411) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:astralsorcery:set_player_field,xf:fml:placebo:placeboshieldblock,xf:fml:apotheosis:apothshieldblock,xf:fml:apotheosis:apothpotiondmg,xf:fml:astralsorcery:water_movement_slowdown_prevention,pl:mixin:APP:supplementaries.mixins.json:LivingEntitesMixin,pl:mixin:APP:caelus.mixins.json:LivingEntityMixin,pl:mixin:APP:curioofundying.mixins.json:LivingEntityMixin,pl:mixin:APP:eidolon.mixins.json:LivingEntityMixin,pl:mixin:APP:citadel.mixins.json:LivingEntityMixin,pl:mixin:APP:ars_nouveau.mixins.json:ExpInvokerMixin,pl:mixin:APP:ars_nouveau.mixins.json:MixinLivingEntity,pl:mixin:APP:kubejs-common.mixins.json:LivingEntityMixin,pl:mixin:APP:environmental.mixins.json:LivingEntityMixin,pl:mixin:APP:upgrade_aquatic.mixins.json:LivingEntityMixin,pl:mixin:APP:personality.mixins.json:LivingEntityMixin,pl:mixin:APP:expandability.mixins.json:swimming.LivingEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorLivingEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.MobEntity.func_70636_d(MobEntity.java:488) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:syp:MobEntity,pl:mixin:APP:environmental.mixins.json:MobEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMobEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.LivingEntity.func_70071_h_(LivingEntity.java:2158) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:astralsorcery:set_player_field,xf:fml:placebo:placeboshieldblock,xf:fml:apotheosis:apothshieldblock,xf:fml:apotheosis:apothpotiondmg,xf:fml:astralsorcery:water_movement_slowdown_prevention,pl:mixin:APP:supplementaries.mixins.json:LivingEntitesMixin,pl:mixin:APP:caelus.mixins.json:LivingEntityMixin,pl:mixin:APP:curioofundying.mixins.json:LivingEntityMixin,pl:mixin:APP:eidolon.mixins.json:LivingEntityMixin,pl:mixin:APP:citadel.mixins.json:LivingEntityMixin,pl:mixin:APP:ars_nouveau.mixins.json:ExpInvokerMixin,pl:mixin:APP:ars_nouveau.mixins.json:MixinLivingEntity,pl:mixin:APP:kubejs-common.mixins.json:LivingEntityMixin,pl:mixin:APP:environmental.mixins.json:LivingEntityMixin,pl:mixin:APP:upgrade_aquatic.mixins.json:LivingEntityMixin,pl:mixin:APP:personality.mixins.json:LivingEntityMixin,pl:mixin:APP:expandability.mixins.json:swimming.LivingEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorLivingEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.MobEntity.func_70071_h_(MobEntity.java:300) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:syp:MobEntity,pl:mixin:APP:environmental.mixins.json:MobEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorMobEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.monster.SlimeEntity.func_70071_h_(SlimeEntity.java:126) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:byg.mixins.json:common.entity.MixinSlimeEntity,pl:mixin:A}
	at net.minecraft.entity.Entity.func_70098_U(Entity.java:1611) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:astralsorcery:add_custom_entity_collision,xf:fml:entity_culling:Entity Transformer,pl:mixin:APP:shrink.mixins.json:MixinEntity,pl:mixin:APP:randompatches.mixins.json:EntityMixin,pl:mixin:APP:betterendforge.mixins.json:EntityMixin,pl:mixin:APP:structure_gel.mixins.json:EntityMixin,pl:mixin:APP:kubejs-common.mixins.json:EntityMixin,pl:mixin:APP:abnormals_core.mixins.json:EntityMixin,pl:mixin:APP:artifacts.mixins.json:item.aquadashers.EntityMixin,pl:mixin:APP:artifacts.mixins.json:item.umbrella.EntityMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.EntityAccess,pl:mixin:APP:quark.mixins.json:EntityMixin,pl:mixin:APP:expandability.mixins.json:fluidcollision.EntityMixin,pl:mixin:APP:expandability.mixins.json:swimming.EntityMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.entity.LivingEntity.func_70098_U(LivingEntity.java:2576) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:astralsorcery:set_player_field,xf:fml:placebo:placeboshieldblock,xf:fml:apotheosis:apothshieldblock,xf:fml:apotheosis:apothpotiondmg,xf:fml:astralsorcery:water_movement_slowdown_prevention,pl:mixin:APP:supplementaries.mixins.json:LivingEntitesMixin,pl:mixin:APP:caelus.mixins.json:LivingEntityMixin,pl:mixin:APP:curioofundying.mixins.json:LivingEntityMixin,pl:mixin:APP:eidolon.mixins.json:LivingEntityMixin,pl:mixin:APP:citadel.mixins.json:LivingEntityMixin,pl:mixin:APP:ars_nouveau.mixins.json:ExpInvokerMixin,pl:mixin:APP:ars_nouveau.mixins.json:MixinLivingEntity,pl:mixin:APP:kubejs-common.mixins.json:LivingEntityMixin,pl:mixin:APP:environmental.mixins.json:LivingEntityMixin,pl:mixin:APP:upgrade_aquatic.mixins.json:LivingEntityMixin,pl:mixin:APP:personality.mixins.json:LivingEntityMixin,pl:mixin:APP:expandability.mixins.json:swimming.LivingEntityMixin,pl:mixin:APP:assets/botania/botania.mixins.json:AccessorLivingEntity,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.world.server.ServerWorld.func_217459_a(ServerWorld.java:638) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,pl:mixin:APP:architects_palette.mixins.json:ServerWorldMixin,pl:mixin:APP:abnormals_core.mixins.json:ServerWorldMixin,pl:mixin:APP:immersiveengineering.mixins.json:coremods.ServerWorldMixin,pl:mixin:APP:quark.mixins.json:ServerWorldMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.world.server.ServerWorld.func_217479_a(ServerWorld.java:618) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,pl:mixin:APP:architects_palette.mixins.json:ServerWorldMixin,pl:mixin:APP:abnormals_core.mixins.json:ServerWorldMixin,pl:mixin:APP:immersiveengineering.mixins.json:coremods.ServerWorldMixin,pl:mixin:APP:quark.mixins.json:ServerWorldMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.world.World.func_217390_a(MixinWorldRedstone.java:554) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,pl:mixin:APP:mixins.integrated_proxy.json:MixinWorldRedstone,pl:mixin:APP:kubejs-common.mixins.json:LevelMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:404) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:forgeendertech:coremod,pl:mixin:APP:architects_palette.mixins.json:ServerWorldMixin,pl:mixin:APP:abnormals_core.mixins.json:ServerWorldMixin,pl:mixin:APP:immersiveengineering.mixins.json:coremods.ServerWorldMixin,pl:mixin:APP:quark.mixins.json:ServerWorldMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:851) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:structure_gel.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:resourcefulbees.mixins.json:MixinMinecraftServer,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?] {re:classloading,pl:accesstransformer:B}
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:structure_gel.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:resourcefulbees.mixins.json:MixinMinecraftServer,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:structure_gel.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:resourcefulbees.mixins.json:MixinMinecraftServer,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:APP:structure_gel.mixins.json:MinecraftServerMixin,pl:mixin:APP:byg.mixins.json:server.MixinMinecraftServer,pl:mixin:APP:mixin.terraforged.json:common.MixinMinecraftServer,pl:mixin:APP:resourcefulbees.mixins.json:MixinMinecraftServer,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
	at java.lang.Thread.run(Thread.java:832) [?:?] {}

Full crash report: crash-2021-08-23_11.40.46-server.txt

Add 1.16 Bees

Hey, we've got a server running a SkyBees modpack and it seems even with a few players the bee AI is killing the performance.
Is there a way to add bee support so we can reduce the lag, but still have them (somewhat) functional? (like every 2nd tick or smth)

From the looks on the profiler its not even pathfinding itself but more the task scheduling idk, I can provide profiler links if that helps...

https://spark.lucko.me/7vds066r6I
https://spark.lucko.me/gwq8QmJBDz

Cured/spawned villager keep walking into the sea and die

I dont know what is happening and whether or not this is from this mod.
My villagers keep swimming into open ocean and die
I tried following them but they wont stop swimming
I dont have anywhere else to ask this strange behavivor

unclear license

In the CF page it says that this mod is ARR, but source here is "MIT but applies only to code"
What's the not code part here?

Fire dragon entity ticking crash

crash-2022-09-04_19.29.48-client.txt

I am playing fantasy realms modpack v6 (Minecraft version 1.16.5) and whenever a dragon, in this case a fire dragon, is spawning in the world the game crashes and i get a exit code (i forgot to screenshot) and 1 device not closed error after the crash. I am using GDLauncher.

When i turn off AiImprovements in the modlist and enter the world again the dragon spawns in like normal and i do not crash.

I found out from the ice and fire github issue tracker and did not see any type of existing report here relating to these mods interacting.

https://github.com/AlexModGuy/Ice_and_Fire/issues/4636

Feature Requests: black/whitelist options for which mobs have idle/player looking disabled

I've got a 1.12 pack out, and I've definitely bitten off way more entity and AI mods than I can chew. Lycanites Mobs, Special AI, Special Mobs, Ice and Fire, Animania...

I've heavily customized and reduced Lycanites spawning, disabled spawner head mobs in Special AI, disabled sleeping in Animania until it's updated to fix a rodent AI bug, limited entity speed tick updates to once every 3 ticks in Iguana Tweaks Reborn (much more than that causes twitchiness), Enabled the "Calm down zombie guy" pathing delay in Random Tweaks, and just now disabled idle looking in AI Improvements. Hoping that's enough to make the single thread handling AI run at acceptable levels on a mildly OC'd i7 CPU without spamming tps errors skipping an average of 70+ ticks. XD

I'm not a fan of making sacrifices, even little ones. I figure there's not much need or reason for zombies (my biggest CPU hog) to turn their heads, but Animania critters lose a bit of charm if they don't. It would be nice if I could blacklist idle AI looking only for certain mobs.

[Feature] Generalized entity detection

Add a way to detect all entities and provided general configuration.

Needs to be off by default due to performance concerns.

Generalized configurations to offer:

  • On/Off entire entity AI, should be a list of mobs
  • On/Off general AI goals, should be a list of goals per mob
  • On/Off spawning, will review later spawning configs as other mods offer it and we don't need to duplicate work

Command(optional):

  • Dump list of entities
  • Dump list of goals per entity, ensure we info the user this list might not be complete due to how mobs spawn.

Performance issues

o/
Used your mod in 1.16.5.
AI improvements sadly does not do what it offers.
The mod causes mobs to react only if you are like 1 block away from mobs, otherwise they are frozen.
And if they react they act terribly weird.
On top of that on our weak server we had usually 30ms lag, the moment we fought against mobs the server would spike to 150ms of lag fighting a single zombie it would go up to 100ms.
Letting a player join would also drive up the lag for multiple minutes to +300ms of lag.

After uninstalling the mod, all lag problems we had regarding mobs were basically gone.
Players can join like normal without killing the server on accident.

So TL:DR: This mod, breaks normal AI behavior and causes massive lag.
Sadly due to mixins its not really possible with Spark to detect whats causing it.

I can not recommend this mod unless you want to lag the server really badly.

Compatibility for vampirism mod

When your a vampire without ai improvements mobs that spawn at night don't attack you. But ai improvements changes the ai so they attack you no matter what.

[Request] AI improvements for crowds of farm animals

Would it be possible to set up a system to turn off an animal's wandering AI based on if there is a certain amount around eachother or in a chunk? so that animal farms (especially large ones) would see major performance improvements?

Caching Question

Hello,

I am playing on 1.16.4 and forge 35.1.28 and this mod was causing an incompatibility with Resourceful Bees. I removed it from the Server and clients but the Bees are still acting odd. But when I try on a freshly generated world with all the mods except AI Improvements. They work fine. So I was wondering if AI Improvements has some things that get cached and if so how I can remove them to allow the bees to function properly. Thanks for any help!

[1.16.3] 3 TPS from entities

This is a warmroast taken of our server running at 3 tps with thee players on from entities with AI-Improvements-1.16.2-0.3.0 installed.
See anything to help us?

image

Warmroast save-
1.16.3.zip

[1.7.10]Please fix gradle scripts again!

I noticed some updates to this module.
Sorry my English is not good,
But I couldn't build this module successfully.
I really need this module!
Or please update the new build on Curseforge for Minecraft 1.7.10.
This is my gradle.log.

Current Minecraft version = 1.7.10-10.13.4.1614-1.7.10
Current Minecraft version = 1.7.10-10.13.4.1614-1.7.10
version = 1.7.10-0.0.1b20191123041014
version = 1.7.10-0.0.1b20191123041014

FAILURE: Build failed with an exception.

Plugin with id 'org.ajoberstar.grgit' not found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 13.978 secs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.