betteranimalsplus icon indicating copy to clipboard operation
betteranimalsplus copied to clipboard

[FABRIC 1.18.2] Game crashes every time an aquatic predator tries to hunt a prey.

Open DatuStram opened this issue 2 years ago • 5 comments

Describe what you were doing before the crash

Just walking around the shore.

To Reproduce

Be in the vicinity of the sea Wait for an aquatic predator to hunt for a prey.

Crash Log (REQUIRED)

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 23/05/22, 01:21
Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1297.method_23317()" because "$$0" is null
	at net.minecraft.class_1333.method_6226(class_1333.java:33)
	at dev.itsmeow.betteranimalsplus.common.entity.ai.EfficientMoveTowardsTargetGoal.method_6268(EfficientMoveTowardsTargetGoal.java:89)
	at net.minecraft.class_4135.method_6268(class_4135.java:65)
	at net.minecraft.class_1355.method_38849(class_1355.java:119)
	at net.minecraft.class_1308.method_6023(class_1308.java:750)
	at net.minecraft.class_1309.method_6007(class_1309.java:2609)
	at net.minecraft.class_1308.method_6007(class_1308.java:546)
	at dev.itsmeow.betteranimalsplus.common.entity.EntityShark.method_6007(EntityShark.java:118)
	at net.minecraft.class_1309.method_5773(class_1309.java:2354)
	at net.minecraft.class_1308.method_5773(class_1308.java:346)
	at dev.itsmeow.betteranimalsplus.common.entity.util.abstracts.EntitySharkBase.method_5773(EntitySharkBase.java:74)
	at net.minecraft.class_3218.method_18762(class_3218.java:702)
	at net.minecraft.class_1937.method_18472(class_1937.java:485)
	at net.minecraft.class_3218.method_31420(class_3218.java:363)
	at net.minecraft.class_5574.method_31791(class_5574.java:54)
	at net.minecraft.class_3218.method_18765(class_3218.java:331)
	at net.minecraft.server.MinecraftServer.redirect$big000$fixUpdateSuppressionCrashTick(MinecraftServer.java:5290)
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
	at net.minecraft.class_3176.method_3813(class_3176.java:322)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
	at net.minecraft.server.MinecraftServer.handler$bbc000$modifiedRunLoop(MinecraftServer.java:4396)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
	at java.base/java.lang.Thread.run(Thread.java:833)


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

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.class_1333.method_6226(class_1333.java:33)
	at dev.itsmeow.betteranimalsplus.common.entity.ai.EfficientMoveTowardsTargetGoal.method_6268(EfficientMoveTowardsTargetGoal.java:89)
	at net.minecraft.class_4135.method_6268(class_4135.java:65)
	at net.minecraft.class_1355.method_38849(class_1355.java:119)
	at net.minecraft.class_1308.method_6023(class_1308.java:750)
	at net.minecraft.class_1309.method_6007(class_1309.java:2609)
	at net.minecraft.class_1308.method_6007(class_1308.java:546)
	at dev.itsmeow.betteranimalsplus.common.entity.EntityShark.method_6007(EntityShark.java:118)
	at net.minecraft.class_1309.method_5773(class_1309.java:2354)
	at net.minecraft.class_1308.method_5773(class_1308.java:346)
	at dev.itsmeow.betteranimalsplus.common.entity.util.abstracts.EntitySharkBase.method_5773(EntitySharkBase.java:74)
	at net.minecraft.class_3218.method_18762(class_3218.java:702)
	at net.minecraft.class_1937.method_18472(class_1937.java:485)
	at net.minecraft.class_3218.method_31420(class_3218.java:363)
	at net.minecraft.class_5574.method_31791(class_5574.java:54)
	at net.minecraft.class_3218.method_18765(class_3218.java:331)
	at net.minecraft.server.MinecraftServer.redirect$big000$fixUpdateSuppressionCrashTick(MinecraftServer.java:5290)

-- Entity being ticked --
Details:
	Entity Type: betteranimalsplus:shark (dev.itsmeow.betteranimalsplus.common.entity.EntityShark)
	Entity ID: 172
	Entity Name: entity.betteranimalsplus.shark
	Entity's Exact location: 187.43, 50.15, -136.59
	Entity's Block location: World: (187,50,-137), Section: (at 11,2,7 in 11,3,-9; chunk contains blocks 176,-64,-144 to 191,319,-129), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
	Entity's Momentum: 0.02, 0.03, -0.01
	Entity's Passengers: [class_1477['Squid'/138, l='ServerLevel[world]', x=189.45, y=49.58, z=-136.61]]
	Entity's Vehicle: null
Stacktrace:
	at net.minecraft.class_1937.method_18472(class_1937.java:485)
	at net.minecraft.class_3218.method_31420(class_3218.java:363)
	at net.minecraft.class_5574.method_31791(class_5574.java:54)
	at net.minecraft.class_3218.method_18765(class_3218.java:331)
	at net.minecraft.server.MinecraftServer.redirect$big000$fixUpdateSuppressionCrashTick(MinecraftServer.java:5290)
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
	at net.minecraft.class_3176.method_3813(class_3176.java:322)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
	at net.minecraft.server.MinecraftServer.handler$bbc000$modifiedRunLoop(MinecraftServer.java:4396)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
	at java.base/java.lang.Thread.run(Thread.java:833)

-- Affected level --
Details:
	All players: 1 total; [class_3222['Datura99'/154, l='ServerLevel[world]', x=153.81, y=59.22, z=-29.56]]
	Chunk stats: 2816
	Level dimension: minecraft:overworld
	Level spawn location: World: (0,90,0), Section: (at 0,10,0 in 0,5,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
	Level time: 169436 game time, 1455 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
	Known server brands: fabric
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
	at net.minecraft.class_3176.method_3813(class_3176.java:322)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
	at net.minecraft.server.MinecraftServer.handler$bbc000$modifiedRunLoop(MinecraftServer.java:4396)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:676)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
	at java.base/java.lang.Thread.run(Thread.java:833)

-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 17.0.2, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 15897477952 bytes (15161 MiB) / 17179869184 bytes (16384 MiB) up to 17179869184 bytes (16384 MiB)
	CPUs: 16
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 7 5800X 8-Core Processor             
	Identifier: AuthenticAMD Family 25 Model 33 Stepping 0
	Microarchitecture: Zen 3
	Frequency (GHz): 3,80
	Number of physical packages: 1
	Number of physical CPUs: 8
	Number of logical CPUs: 16
	Graphics card #0 name: NVIDIA GeForce RTX 3070
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095,00
	Graphics card #0 deviceId: 0x2488
	Graphics card #0 versionInfo: DriverVersion=30.0.15.1259
	Memory slot #0 capacity (MB): 32768,00
	Memory slot #0 clockSpeed (GHz): 3,20
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 32768,00
	Memory slot #1 clockSpeed (GHz): 3,20
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 75189,72
	Virtual memory used (MB): 52190,70
	Swap memory total (MB): 9728,00
	Swap memory used (MB): 668,71
	JVM Flags: 19 total; -Xmx16384M -Xms16384M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1
	Fabric Mods: 
		actuallyunbreaking: Actually Unbreaking 1.18.2-0.5.0
		additionaladditions: Additional Additions 4.0.1
		advanced_runtime_resource_pack: Runtime Resource Pack 0.5.7
		advdebug: Advancements Debug 2.3.0
		adventurez: AdventureZ 1.4.10
		alternate-current: Alternate Current 1.2.1
		appleskin: AppleSkin 2.4.0+mc1.18.2
		aqupdcaracal: Caracal mob 1.18.2-1.3.8
		architectury: Architectury 4.4.60
		attributefix: AttributeFix 14.0.1
		axesareweapons: Axes Are Weapons 1.5.1
		badpackets: Bad Packets 0.1.2
		balm-fabric: Balm 3.0.0+0
		bclib: BCLib 1.4.6
		beaconoverhaul: Beacon Overhaul 1.6.0+1.18.2
		bedspreads: Bedspreads 1.5.0-1.18
		beenfo: Beenfo 1.18.2-fabric0.47.10-1.3.3
		better_bad_omen: Better Bad Omen 1.2.0
		betteranimalsplus: Better Animals Plus 1.18.2-11.0.5
		betterdungeons: YUNG's Better Dungeons 1.18.2-Fabric-2.1.0
		betterend: Better End 1.1.0
		bettermineshafts: YUNG's Better Mineshafts 1.18.2-Fabric-2.1.3
		betterstrongholds: YUNG's Better Strongholds 1.18.2-Fabric-2.1.1
		biomemakeover: Biome Makeover 1.18.2-1.4.21
		blockrunner: Block Runner 3.0.2
		blue_endless_jankson: jankson 1.2.1
		bookshelf: Bookshelf 13.0.13
		bosses_of_mass_destruction: Bosses of Mass Destruction (Beta) 1.3.7-1.18.2
		bowinfinityfix: Bow Infinity Fix rv11
		campanion: Campanion 3.0.4
		capybara: Capybara 1.0.4
		cardinal-components: Cardinal Components API 4.1.4
		cardinal-components-base: Cardinal Components API (base) 4.1.4
		cardinal-components-block: Cardinal Components API (blocks) 4.1.4
		cardinal-components-chunk: Cardinal Components API (chunks) 4.1.4
		cardinal-components-entity: Cardinal Components API (entities) 4.1.4
		cardinal-components-item: Cardinal Components API (items) 4.1.4
		cardinal-components-level: Cardinal Components API (world saves) 4.1.4
		cardinal-components-scoreboard: Cardinal Components API (scoreboard) 4.1.4
		cardinal-components-world: Cardinal Components API (worlds) 4.1.4
		carpet: Carpet Mod 1.4.69
		carpet-extra: Carpet Extra 1.4.72
		carpet-fixes: Carpet Fixes 1.18.x-1.7.9
		carpet-tis-addition: Carpet TIS Addition 1.35.0
		charm: Charm 4.1.0
		clickadv: Clickable Advancements Mod 2.6
		cloth-api: Cloth API 3.2.64
		cloth-basic-math: cloth-basic-math 0.6.1
		cloth-client-events-v0: Cloth Client Events v0 3.2.64
		cloth-common-events-v1: Cloth Common Events v1 3.2.64
		cloth-config: Cloth Config v6 6.2.62
		cloth-datagen-api-v1: Cloth Datagen v1 3.2.64
		cloth-utils-v1: Cloth Utils v1 3.2.64
		clumps: Clumps 8.0.0+8
		com_electronwill_night-config_core: core 3.6.5
		com_electronwill_night-config_toml: toml 3.6.5
		com_eliotlash_mclib_mclib: mclib 18
		com_eliotlash_molang_molang: molang 18
		com_github_llamalad7_mixinextras: mixinextras 0.0.9
		com_moandjiezana_toml_toml4j: toml4j 0.7.2
		conditional-mixin: conditional mixin 0.2.1
		connectivity: Connectivity Mod 1.18.2-2.9
		cosmetic-armor: Cosmetic Armor 1.3.1
		craftingtweaks: Crafting Tweaks 13.0.0
		creeperoverhaul: Creeper Overhaul 1.3.1
		crowdin-translate: CrowdinTranslate 1.4+1.18.2
		darkutils: DarkUtilities 10.0.4
		dawn: Dawn API 3.3.0
		debugify: Debugify 1.10.0
		dusk: Dragonfight Mod 1.18.2-2.2
		dynamic_asset_generator: Dynamic Asset Generator 0.6.0
		ecologics: Ecologics 1.5.4
		excavated_variants: Excavated Variants 0.6.2
		expandedstorage: Expanded Storage 7.3.12
		experiencebugfix: Experience Bug Fix 18
		fabric: Fabric API 0.51.1+1.18.2
		fabric-api-base: Fabric API Base 0.4.4+d7c144a860
		fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.0+2373a54560
		fabric-biome-api-v1: Fabric Biome API (v1) 8.0.4+7b0f312660
		fabric-command-api-v1: Fabric Command API (v1) 1.1.9+d7c144a860
		fabric-commands-v0: Fabric Commands (v0) 0.2.8+b4f4f6cd60
		fabric-containers-v0: Fabric Containers (v0) 0.1.21+d7c144a860
		fabric-content-registries-v0: Fabric Content Registries (v0) 3.0.3+d82b939260
		fabric-convention-tags-v1: Fabric Convention Tags 1.0.1+474e4f7960
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.11+3ac43d9560
		fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.17+2540745460
		fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.8+d7c144a860
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.19+d7c144a860
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.14+d7c144a860
		fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.13+d7c144a860
		fabric-item-api-v1: Fabric Item API (v1) 1.4.0+4457765560
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.11+91896a4960
		fabric-language-kotlin: Fabric Language Kotlin 1.7.4+kotlin.1.6.21
		fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.0.3+2d83e92c60
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.11+d7c144a860
		fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.0+81ea5b3c60
		fabric-networking-api-v1: Fabric Networking API (v1) 1.0.21+d882b91560
		fabric-networking-v0: Fabric Networking (v0) 0.3.8+b4f4f6cd60
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 2.1.0+fe4ddef060
		fabric-particles-v1: Fabric Particles (v1) 0.2.12+526dc1ac60
		fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.8+0d9ab37260
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.7+d7c144a860
		fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 2.0.2+54e5b2ec60
		fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.3+91b7aa6660
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.18+2de5574560
		fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.0+1f6558e860
		fabric-transfer-api-v1: Fabric Transfer API (v1) 1.6.0+2373a54560
		fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.0.0+bd8a4a1860
		fabricloader: Fabric Loader 0.14.5
		fake-player-api: Fake Player API 0.3.0
		farmersdelight: Farmer's Delight 1.18.2-0.2.1
		feature_nbt_deadlock_be_gone: Feature NBT Deadlock Be Gone - Fabric 2.0.0+1.18.2-rc1
		ferritecore: FerriteCore 4.2.1
		fiber: fiber 0.23.0-2
		flytre_lib: FlytreLib 1.8.1
		forgeconfigapiport: Forge Config API Port 3.2.0
		forgottengraves: Forgotten Graves 1.18.2-2.6.0
		friendlyfire: FriendlyFire 11.0.2
		friendsandfoes: Friends&Foes 1.3.4
		geckolib3: Geckolib 3.0.42
		geodes: More Geodes 1.3-SNAPSHOT.1
		globaldataandresourcepacks: Global Data- & Resourcepacks 1.12.2
		go-fish: Go Fish 1.5.0-1.18.2
		gottagofast: Gotta Go Fast! 1.0.2
		graveyard: The Graveyard 1.8
		graveyard_biomes: The Graveyard Biomes 1.1
		guardvillagers: Guard Villagers Fabric 1.18.2-1.0.14
		horseinfo: Horse Info 0.4.1-1.18
		horsestonks: Horse Stonks 1.0.1
		iceberg: Iceberg 1.0.38
		incendium: Incendium + Seed Fix 5.0.3
		indypets: Independent Pets 0.8.1
		inventorio: Inventorio 1.7.0
		jankson: Jankson 4.0.0+j1.2.0
		java: OpenJDK 64-Bit Server VM 17
		kleeslabs: KleeSlabs 11.0.0
		lazydfu: LazyDFU 0.1.2
		libgui: LibGui 5.3.2+1.18.2
		libninepatch: LibNinePatch 1.1.0
		lithium: Lithium 0.7.9
		lovely_snails: Lovely Snails 1.0.4+1.18
		maelstrom_library: Maelstrom Library 1.2.4-1.18.2
		mavm: More Axolotl Variants Mod 1.0.7a
		maxhealthfix: MaxHealthFix 5.0.1
		megane: megane 7.5.1
		megane-api: megane-api 7.1.0
		megane-fabric-transfer: megane-fabric-transfer 7.1.0
		megane-runtime: megane-runtime 7.2.0
		megane-vanilla: megane-vanilla 7.1.1
		midnightlib: MidnightLib 0.4.0
		minecarttweaks: Cammie's Minecart Tweaks 1.5
		minecraft: Minecraft 1.18.2
		mm: Manningham Mills 2.3
		morevillagers-fabric: MoreVillagersFabric 3.2.0-SNAPSHOT
		mostructures: Mo' Structures 1.4.2+1.18.2
		multipart_entities: MultipartEntities 1.1.5-1.18.2
		mythicmounts: Mythic Mounts 1.18.2-7.0
		netherportalfix: NetherPortalFix 9.0.0
		ninjaphenix_container_lib: NinjaPhenix's Container Library 1.3.0
		octo-economy-api: Octo Economy API 1.0.0
		omega-config: OmegaConfig 1.2.3-1.18.1
		onsoulfire: On Soul Fire 1.18-3
		org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.6.21
		org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.6.21
		org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.6.21
		org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.6.21
		org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.1
		org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.1
		org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.2
		org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.2
		org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.2
		org_yaml_snakeyaml: snakeyaml 1.30
		oxidized: Oxidized 1.6.4
		patchouli: Patchouli 1.18.2-67-FABRIC
		pettable: Pettable 1.3.0
		phosphor: Phosphor 0.8.1
		pigpen: PigPen 8.0.1
		polymorph: Polymorph 0.0.21-1.18.2
		prettybeaches: Pretty Beaches 7.0.0
		probablychests: Probably Chests 0.4.3
		promenade: Promenade 2.6.1
		puzzleslib: Puzzles Lib 3.3.1
		reach-entity-attributes: Reach Entity Attributes 2.1.1
		repurposed_structures: Repurposed Structures 4.1.8+1.18.2
		roughlyenoughitems: Roughly Enough Items 8.1.457
		roughlyenoughresources: Roughly Enough Resources 2.5.0
		runelic: Runelic 11.0.1
		seedfix: Seed Fix 1.0.1
		shoppy: Shoppy 1.0.1
		shulkerboxtooltip: Shulker Box Tooltip 3.0.8+1.18.2
		shwfox: Shadew's Foxes 1.3+fabric
		smwyg: Show Me What You Got 1.0.1
		someforgepatchesported: Some Forge Patches Ported 1.0.3
		sulfurpotassiummod: Sulfur & Potassium 1.1.2
		taxfreelevels: Tax Free Levels 1.3
		terrablender: TerraBlender 1.1.0.99
		terraform-shapes-api-v1: Terraform Shapes API (v1) 2.1.0
		the_bumblezone: The Bumblezone - Fabric 5.0.14+1.18.2
		toolstats: ToolStats 9.0.1
		totw_additions: Towers of the Wild: Additions 1.2.1
		transparent_cosmetics: Transparent Cosmetics 1.4.0
		trashslot: TrashSlot 11.0.2
		trinkets: Trinkets 3.3.1
		universal_ores: Universal Ores 1.2.1
		veinmining: Vein Mining 0.0.12-1.18.2
		villagernames: Villager Names 4.0.4
		walllanterns: Lanterns Belong on Walls 1.2.0
		waystones: Waystones 2.5.2
		weaponthrow: Weapon Throw 1.18.2-1.7
		wildfire_gender: Wildfire's Female Gender Mod 2.9
		wthit: wthit 4.10.3
		xps: Xp Obelisk 0.3.9.b_for_1.18.x_Fabric
		yungsapi: YUNG's API 1.18.2-Fabric-2.0.8
		yungsextras: YUNG's Extras 1.18.2-Fabric-2.1.0
	Server Running: true
	Player Count: 1 / 10; [class_3222['Datura99'/154, l='ServerLevel[world]', x=153.81, y=59.22, z=-29.56]]
	Data Packs: vanilla, Fabric Mods, global:MoreGeodesIncendiumCompatibilityPatch.zip, global:MoreGeodesTerralithCompatibilityPatch.zip, global:Repurposed_Structures-Better_Dungeons_v2.zip (incompatible), global:Repurposed_Structures-Better_Strongholds_v3.zip, global:Repurposed_Structures-Farmers_Delight_v3.zip (incompatible), global:Repurposed_Structures-More_Villagers_v6.zip, global:Towers_Of_The_Wild_Reworked_v3.0.0_Fabric_Waystones.zip
	World Generation: Stable
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)

Versions

  • Minecraft Version: 1.18.2
  • Architectury API Version: architectury-4.4.60
  • Platform (Forge/Fabric): Fabric
  • Fabric Loader Version: 0.14.5
  • Fabric API Version: fabric-api-0.51.1+1.18.2
  • Mod Version: betteranimalsplus-1.18.2-11.0.5-fabric
  • Carpet-fixes Version: carpet-fixes-1.18.x-1.7.9

DatuStram avatar May 22 '22 23:05 DatuStram

The culprit is Carpet-fixes (https://www.curseforge.com/minecraft/mc-mods/carpet-fixes), as it crashes as soon as I add it back and aquatic predation occurs.

The issue seems to be that, even when disabling the "updateSuppressionFix", it still does the fixUpdateSuppressionCrashTick, which causes the game to crash when a some aquatic predators eat a prey.

So far it happens with: sharks, barracudas and lampreys. Octopuses are fine.

Could not test giant and colossal squids because they just CANNOT catch anything at all. Couldn't test Piranhas either, as they seem not to attack anything except the player (tried vanilla and better animals fishes, cows, horses, pigs,...).

I've tested it with land predators and it doesn't happen with any of them. Couldn't test Coyotes, as they have the same issue as Piranhas: they don't attack any of their preys, only the player. They do attack skeletons though.

I've opened an issue on Carpet-fixes' GitHub.

DatuStram avatar May 23 '22 02:05 DatuStram

This has to be fixed from your side

FxMorin avatar May 25 '22 17:05 FxMorin

Couldn't test Piranhas either, as they seem not to attack anything except the player (tried vanilla and better animals fishes, cows, horses, pigs,...).

I've tested it with land predators and it doesn't happen with any of them. Couldn't test Coyotes, as they have the same issue as Piranhas: they don't attack any of their preys, only the player. They do attack skeletons though.

Piranhas only attack things that are damaged. Coyotes only attack at night in their hunting phase.

itsmeow avatar May 25 '22 18:05 itsmeow

Added the following to the issue on @fxmorin GitHub, hope this helps:

After some more troubleshooting, it seems this only occurs when the rule "mobsTargetDeadEntitiesFix" is set to true (mobsTargetDeadEntitiesFix).

Hope this helps you pinpoint the cause more easily 🙂

DatuStram avatar Jun 26 '22 09:06 DatuStram

Thought I would reference the fix here: https://github.com/fxmorin/carpet-fixes/issues/73#issuecomment-1166553916

FxMorin avatar Jul 09 '22 23:07 FxMorin