MCA Reborn [Fabric/Forge]

MCA Reborn [Fabric/Forge]

6M Downloads

Crash when doing harvesting chore

HacoKavanah opened this issue ยท 0 comments

commented

Version: minecraft-comes-alive-7.2.0-beta.44-fabric.jar

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 4/6/22, 2:14 PM
Description: Ticking entity

java.lang.NullPointerException: Cannot read field "field_6002" because "$$0" is null
at Not Enough Crashes deobfuscated stack trace.(1.18.2+build.2)
at net.minecraft.item.ItemUsageContext.(ItemUsageContext:24)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.plantSeeds(HarvestingTask.java:227)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.keepRunning(HarvestingTask.java:183)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.keepRunning(HarvestingTask.java:37)
at net.minecraft.entity.ai.brain.task.Task.tick(Task:63)
at net.minecraft.entity.ai.brain.Brain.updateTasks(Brain:527)
at net.minecraft.entity.ai.brain.Brain.tick(Brain:472)
at net.minecraft.entity.passive.VillagerEntity.mobTick(VillagerEntity:277)
at net.minecraft.entity.mob.MobEntity.tickNewAi(MobEntity:759)
at net.minecraft.entity.LivingEntity.tickMovement(LivingEntity:2609)
at net.minecraft.entity.mob.MobEntity.tickMovement(MobEntity:546)
at net.minecraft.entity.passive.PassiveEntity.tickMovement(PassiveEntity:127)
at mca.entity.VillagerEntityMCA.tickMovement(VillagerEntityMCA.java:558)
at net.minecraft.entity.LivingEntity.tick(LivingEntity:2354)
at net.minecraft.entity.mob.MobEntity.tick(MobEntity:346)
at net.minecraft.entity.passive.VillagerEntity.tick(VillagerEntity:318)
at mca.entity.VillagerEntityMCA.tick(VillagerEntityMCA.java:614)
at net.minecraft.server.world.ServerWorld.tickEntity(ServerWorld:702)
at net.minecraft.world.World.tickEntity(World:485)
at net.minecraft.server.world.ServerWorld.method_31420(ServerWorld:363)
at net.minecraft.world.EntityList.forEach(EntityList:54)
at net.minecraft.server.world.ServerWorld.tick(ServerWorld:331)
at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:907)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer:851)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer:97)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:273)
at 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: Render thread
Stacktrace:
at net.minecraft.class_1838.(class_1838.java:24)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.plantSeeds(HarvestingTask.java:227)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.keepRunning(HarvestingTask.java:183)
at mca.entity.ai.brain.tasks.chore.HarvestingTask.method_18924(HarvestingTask.java:37)
at net.minecraft.class_4097.method_18923(class_4097.java:63)
at net.minecraft.class_4095.method_19545(class_4095.java:527)
at net.minecraft.class_4095.method_19542(class_4095.java:472)
at net.minecraft.class_1646.method_5958(class_1646.java:277)
at net.minecraft.class_1308.method_6023(class_1308.java:759)
at net.minecraft.class_1309.method_6007(class_1309.java:2609)
at net.minecraft.class_1308.method_6007(class_1308.java:546)
at net.minecraft.class_1296.method_6007(class_1296.java:127)
at mca.entity.VillagerEntityMCA.method_6007(VillagerEntityMCA.java:558)
at net.minecraft.class_1309.method_5773(class_1309.java:2354)
at net.minecraft.class_1308.method_5773(class_1308.java:346)
at net.minecraft.class_1646.method_5773(class_1646.java:318)
at mca.entity.VillagerEntityMCA.method_5773(VillagerEntityMCA.java:614)
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)

-- Entity being ticked --
Details:
Entity Type: mca:female_villager (mca.entity.VillagerEntityMCA)
Entity ID: 118902
Entity Name: Rosa
Entity's Exact location: -5914.54, 74.00, 2951.68
Entity's Block location: World: (-5915,74,2951), Section: (at 5,10,7 in -370,4,184; chunk contains blocks -5920,-64,2944 to -5905,319,2959), Region: (-12,5; contains chunks -384,160 to -353,191, blocks -6144,-64,2560 to -5633,319,3071)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: null
Entity NBT: {AbsorptionAmount:0.0f,Age:0,Air:300s,ArmorDropChances:[0.085f,0.085f,0.085f,0.085f],ArmorItems:[{},{},{},{}],Attributes:[{Base:0.5d,Name:"minecraft:generic.movement_speed"},{Base:0.0d,Name:"minecraft:generic.armor"},{Base:48.0d,Modifiers:[{Amount:0.021435513328211364d,Name:"Random spawn bonus",Operation:1,UUID:[I;-1401991651,-398767991,-1119116227,2098127311]}],Name:"minecraft:generic.follow_range"},{Base:20.0d,Name:"minecraft:generic.max_health"},{Base:0.0d,Name:"minecraft:generic.armor_toughness"},{Base:0.0d,Name:"stepheightentityattribute:stepheight"}],BMLootBlock:0b,Brain:{memories:{"minecraft:home":{value:{dimension:"minecraft:overworld",pos:[I;-7111,67,4650]}},"minecraft:job_site":{value:{dimension:"minecraft:overworld",pos:[I;-7063,65,4633]}},"minecraft:last_slept":{value:5023853L},"minecraft:last_woken":{value:6665585L},"minecraft:meeting_point":{value:{dimension:"minecraft:overworld",pos:[I;-7074,69,4644]}}}},CanPickUpLoot:1b,CustomName:'{"text":"Rosa"}',DeathTime:0s,FallDistance:0.0f,FallFlying:0b,Fire:0s,FoodLevel:0b,ForcedAge:0,Gossips:[{Target:[I;2044826344,-1138212548,-1716830252,-295184826],Type:"minor_negative",Value:35},{Target:[I;2000169017,8407956,-1472338549,-1070747989],Type:"minor_negative",Value:10},{Target:[I;133401046,-1316207603,-1820464355,773063944],Type:"minor_negative",Value:5},{Target:[I;1774307375,2022457397,-1219547503,-1949766978],Type:"minor_negative",Value:10},{Target:[I;1177375107,-1612101369,-1361815573,1901059151],Type:"minor_negative",Value:160}],HandDropChances:[0.085f,0.085f],HandItems:[{Count:1b,id:"minecraft:stone_hoe",tag:{Damage:14}},{}],Health:20.0f,HurtByTimestamp:694,HurtTime:0s,Inventory:[{Count:1b,id:"minecraft:stone_hoe",tag:{Damage:14}},{Count:12b,id:"minecraft:potato"}],Invulnerable:0b,LastGossipDecay:6665585L,LastRestock:0L,LeftHanded:0b,Motion:[0.0d,-0.0784000015258789d,0.0d],OnGround:1b,PersistenceRequired:0b,PortalCooldown:0,Pos:[-5914.538323976646d,74.0d,2951.683949173427d],RestocksToday:0,Rotation:[190.57083f,40.0f],Tags:["in.eid_0","in.eid_1","in.eid_2","in.eid_3","in.eid_4","in.checked","in.eid_5","in.eid_6","in.eid_10","in.eid_7","in.eid_12","in.eid_11","in.eid_14","in.eid_13","in.eid_8","in.eid_9"],UUID:[I;-1277762504,-512868167,-1305521879,-175221425],VillagerData:{level:1,profession:"mca:guard",type:"minecraft:plains"},Xp:0,activeChore:2,ageState:5,babyAge:0,bm_IsStunted:0b,buildings:155,cardinal_components:{"bewitchment:additional_water_data":{Submerged:0b,WetTimer:0},"bewitchment:blood":{Blood:100},"bewitchment:curses":{Curses:[]},"bewitchment:fake_mob":{TargetUUID:""},"bewitchment:familiar":{Familiar:0b},"bewitchment:minion":{MasterUUID:""},"bewitchment:werewolf_villager":{DespawnTimer:2400},"the_aether:condition_manager":{"the_aether:venom":{chronic:0.0f,temporary:0.0f}}},choreAssigningPlayer:[I;-1674285836,-940554724,-1613513928,-1659962665],clothes:"mca:female/guard/4.png",cpaCooldown:0,cpadidTP:0b,custom_skin:"",gender:2,gene_breast:0.6101687f,gene_eumelanin:0.6753508f,gene_face:0.6741136f,gene_hemoglobin:0.22929859f,gene_melanin:0.48812273f,gene_pheomelanin:0.6888172f,gene_size:0.605845f,gene_skin:0.27483755f,gene_width:0.5862354f,giftSaturationQueue:[],growthAmount:0,hair:"mca:skins/hair/female/13.png",hairOverlay:"mca:skins/hair/female/13_overlay.png",hangoutPosX:0,hangoutPosY:0,hangoutPosZ:0,hasBaby:0b,infectionProgress:0.0f,isBabyMale:0b,isPanicking:0b,isProcreating:0b,memories:{19a16b68-6dad-45bd-ba36-db3adb53d55f:{dialogueType:1,hearts:0,interactionFatigue:0,lastSeen:67L,playerUUID:[I;430009192,1840072125,-1170810054,-615262881]},6ca9b1dd-d929-4cf7-bc85-68fdee381b55:{dialogueType:0,hearts:41,interactionFatigue:35,lastSeen:67L,playerUUID:[I;1823060445,-651604745,-1132107523,-298312875]},842f9101-e9c4-4f38-a980-d959467a725c:{dialogueType:1,hearts:0,interactionFatigue:0,lastSeen:67L,playerUUID:[I;-2077257471,-373010632,-1451173543,1182429788]},9c346cf4-c7f0-461c-9fd3-bb389d0efad7:{dialogueType:0,hearts:218,interactionFatigue:69,lastSeen:419L,playerUUID:[I;-1674285836,-940554724,-1613513928,-1659962665]}},mood:15,moveState:1,personality:12,traits:{},villagerName:"Rosa",wearArmor:0b}
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.method_3813(MinecraftServer.java:907)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.class_1132.method_3748(class_1132.java:97)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
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: 2 total; [class_3222['HacoKavanah'/111959, l='ServerLevel[Resurrected Land]', x=-5912.66, y=74.00, z=2952.46], class_3222['ZannCoelz'/113582, l='ServerLevel[Resurrected Land]', x=-5947.84, y=123.17, z=3007.55]]
Chunk stats: 6394
Level dimension: minecraft:overworld
Level spawn location: World: (192,71,-192), Section: (at 0,7,0 in 12,4,-12; chunk contains blocks 192,-64,-192 to 207,319,-177), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1)
Level time: 6684029 game time, 10090699 day time
Level name: Resurrected Land
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Level weather: Rain time: 3495 (now: true), thunder time: 86537 (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.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.class_1132.method_3748(class_1132.java:97)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:833)