The Corners

The Corners

61k Downloads

Instant crash from falling block

viruspro opened this issue · 0 comments

commented

I'm running a small mod pack I made on 1.18.2 and it sometimes will get stuck in a crash because of a falling gravel block, according to the crash report it's because of this mod but the fix I used before isn't working again. It might be an incompatibility with one of my other mods.

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 06/06/2022, 18:25
Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1657.method_5998(net.minecraft.class_1268)" because the return value of "net.minecraft.class_1750.method_8036()" is null
	at net.minecraft.block.SnowBlock.handler$znk000$corners$canReplace(SnowBlock:519)
	at net.minecraft.block.SnowBlock.canReplace(SnowBlock:126)
	at net.minecraft.block.AbstractBlock$AbstractBlockState.canReplace(AbstractBlock:963)
	at net.minecraft.item.ItemPlacementContext.<init>(ItemPlacementContext:32)
	at net.minecraft.item.AutomaticItemPlacementContext.<init>(AutomaticItemPlacementContext:15)
	at net.minecraft.entity.FallingBlockEntity.tick(FallingBlockEntity:164)
	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.dedicated.MinecraftDedicatedServer.tickWorlds(MinecraftDedicatedServer:322)
	at net.minecraft.server.MinecraftServer.tick(MinecraftServer:851)
	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: Server thread
Stacktrace:
	at net.minecraft.class_2488.handler$znk000$corners$canReplace(class_2488.java:519)
	at net.minecraft.class_2488.method_9616(class_2488.java:126)
	at net.minecraft.class_4970$class_4971.method_26166(class_4970.java:963)
	at net.minecraft.class_1750.<init>(class_1750.java:32)
	at net.minecraft.class_2968.<init>(class_2968.java:15)
	at net.minecraft.class_1540.method_5773(class_1540.java:164)
	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: minecraft:falling_block (net.minecraft.class_1540)
	Entity ID: 2752
	Entity Name: Falling Block
	Entity's Exact location: -216.50, 44.00, 583.50
	Entity's Block location: World: (-217,44,583), Section: (at 7,12,7 in -14,2,36; chunk contains blocks -224,-64,576 to -209,319,591), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,-64,512 to -1,319,1023)
	Entity's Momentum: 0.00, 0.00, 0.00
	Entity's Passengers: []
	Entity's Vehicle: null
	Entity NBT: {Air:300s,BlockState:{Name:"minecraft:gravel"},DropItem:1b,FallDistance:0.0f,FallHurtAmount:0.0f,FallHurtMax:40,Fire:-1s,HurtEntities:0b,Invulnerable:0b,Motion:[0.0d,0.0d,0.0d],OnGround:1b,PortalCooldown:0,Pos:[-216.5d,44.0d,583.5d],Rotation:[0.0f,0.0f],Time:10,UUID:[I;-1228416589,604717474,-1891391580,901600209],cardinal_components:{"bewitchment:additional_water_data":{Submerged:0b,WetTimer:0}}}
	Immitating BlockState: Block{minecraft:gravel}
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.class_3176.method_3813(class_3176.java:322)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
	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['The_Nanuak'/689, l='ServerWorld minecraft:overworld world', x=-231.70, y=51.00, z=574.27], class_3222['itsAnth0ny'/2161, l='ServerWorld minecraft:overworld world', x=-227.14, y=51.00, z=572.81]]
	Chunk stats: 4181
	Level dimension: minecraft:overworld
	Level spawn location: World: (0,68,0), Section: (at 0,4,0 in 0,4,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: 1007505 game time, 1290720 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
	Level weather: Rain time: 14076 (now: false), thunder time: 3874 (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.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)

-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.1, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 331870592 bytes (316 MiB) / 2843738112 bytes (2712 MiB) up to 5368709120 bytes (5120 MiB)
	CPUs: 6
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
	Identifier: Intel64 Family 6 Model 158 Stepping 12
	Microarchitecture: Coffee Lake
	Frequency (GHz): 3.70
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 6
	Graphics card #0 name: Radeon RX 580 Series
	Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
	Graphics card #0 VRAM (MB): 4095.00
	Graphics card #0 deviceId: 0x67df
	Graphics card #0 versionInfo: DriverVersion=30.0.15021.11005
	Graphics card #1 name: LuminonCore IDDCX Adapter
	Graphics card #1 vendor: LuminonCore
	Graphics card #1 VRAM (MB): 0.00
	Graphics card #1 deviceId: unknown
	Graphics card #1 versionInfo: DriverVersion=1.0.2018.1204
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 2.40
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192.00
	Memory slot #1 clockSpeed (GHz): 2.40
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 45729.02
	Virtual memory used (MB): 29137.02
	Swap memory total (MB): 29409.48
	Swap memory used (MB): 3953.09
	JVM Flags: 1 total; -Xmx5G
	Fabric Mods: 
		alloy_forgery: Alloy Forgery 2.0.13+1.18
		appleskin: AppleSkin 2.4.0+mc1.18.2
		architectury: Architectury 4.4.68
		attributefix: AttributeFix 14.0.2
		awesomedungeonend: Awesome Dungeon Edition end 1.0.1
		besmirchment: Besmirchment 1.18.2-11
			playerabilitylib: Pal 1.5.0
			reach-entity-attributes: Reach Entity Attributes 2.1.1
			terraform-wood-api-v1: Terraform Wood API (v1) 3.0.0
		bewitchment: Bewitchment 1.18-20
			fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
			impersonate: Impersonate 2.4.1
			step-height-entity-attribute: Step Height Entity Attribute 1.0.0
		bookshelf: Bookshelf 13.0.13
		bosses_of_mass_destruction: Bosses of Mass Destruction (Beta) 1.3.7-1.18.2
			maelstrom_library: Maelstrom Library 1.2.4-1.18.2
			multipart_entities: MultipartEntities 1.1.5-1.18.2
		camsbackpacks: Cammie's Wearable Backpacks 2.11
		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
		cloth-config: Cloth Config v6 6.2.62
			cloth-basic-math: cloth-basic-math 0.6.1
		clumps: Clumps 8.0.0+8
		collective-fabric: Collective (Fabric) 4.26
			fiber: fiber 0.23.0-2
		connectivity: Connectivity Mod 1.18.2-2.9
		corners: The Corners 1.2.1
			limlib: Liminal Library 5.2.1
		crimsonmoon: Crimson Moon 2.3.0-1.18.2
			omega-config: OmegaConfig 1.2.3-1.18.1
			world-data: World Data 1.0.3-1.18.2
		dankstorage: Dank Storage 1.18.2-3.7
		decapitation: Decapitation 2.0.0
		dimdoors: DimensionalDoors 4.0.4
			com_flowpowered_flow-math: flow-math 1.0.3
			com_github_dimensionaldevelopment_poly2tri_java: poly2tri.java 0.1.1
			curse_maven_wthit-3707010: wthit-3707010 440979
			matrix: Matrix 1.0.0
			org_jgrapht_jgrapht-core: jgrapht-core 1.1.0
		eeriehauntings: Eerie Hauntings 1.0.2.2-1.18.2
		elementalcreepers: Elemental Creepers: Refabricated 1.4.2+1.18.2
		fabric: Fabric API 0.53.4+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.1+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.5+d82b939260
			fabric-convention-tags-v1: Fabric Convention Tags 1.0.1+474e4f7960
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.1+ee261a3e60
			fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.19+ffb2c71e60
			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.16+d7c144a860
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.13+d7c144a860
			fabric-item-api-v1: Fabric Item API (v1) 1.5.0+85719ab760
			fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.12+91896a4960
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.0.4+d8d7804a60
			fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.11+d7c144a860
			fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.1+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.1+032c981d60
			fabric-particles-v1: Fabric Particles (v1) 0.2.12+526dc1ac60
			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.5.0+2afceb2960
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.0+1f6558e860
			fabric-transfer-api-v1: Fabric Transfer API (v1) 1.6.2+f4563ac860
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.0.0+bd8a4a1860
		fabric-language-kotlin: Fabric Language Kotlin 1.7.4+kotlin.1.6.21
			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
		fabricloader: Fabric Loader 0.14.6
		geckolib3: Geckolib 3.0.42
			com_eliotlash_mclib_mclib: mclib 18
			com_eliotlash_molang_molang: molang 18
		icarus: Icarus 1.11
		invview: InvView 1.4.8-1.18+
			sgui: sgui 1.0.0-rc6+1.18-pre5
		jade: Jade 5.99.2
		java: Java HotSpot(TM) 64-Bit Server VM 17
		journeymap-fabric: Journeymap 5.8.4
			journeymap-api-fabric: JourneyMap API 1.18.2-1.8-fabric-SNAPSHOT
		libraryferret: Library Ferret 1.0.3
		lifts: Lifts 1.4.1-BETA+1.18
			team_reborn_energy: Energy 2.2.0
		lovely_snails: Lovely Snails 1.0.4+1.18
		lucky: Lucky Block 1.18.2-13.0
		megaparrot: Megaparrot 1.0.5
		minecraft: Minecraft 1.18.2
		more_babies: More Babies 0.5.2
		mythicmetals: Mythic Metals 0.13.1
			magna: Magna 1.7.0-1.18-pre1
		naturallychargedcreepers-fabric: Naturally Charged Creepers (Fabric) 1.7
		netherportalspread-fabric: Nether Portal Spread (Fabric) 5.7
		notenoughcrashes: Not Enough Crashes 4.1.6+1.18.2
		observed: Observed 1.3.1
		owo: oωo 0.7.2+1.18
		patchouli: Patchouli 1.18.2-69-FABRIC
		pehkui: Pehkui 3.3.2+1.14.4-1.19
			kanos_config: Kanos Config 0.3.1+1.14.4-1.19
		portalgun: Portal Gun 3.0.2
			imm_ptl_core: Immersive Portals Core 1.3.5
			q_misc_util: QMiscUtil 1.3.5
		probablychests: Probably Chests 0.4.3
			libgui: LibGui 5.3.2+1.18.2
				jankson: Jankson 4.0.0+j1.2.0
					blue_endless_jankson: jankson 1.2.1
				libninepatch: LibNinePatch 1.1.0
		quicksand: Quicksand 1.1.0
			cauldronlib: Cauldronlib 1.2.2
		roughlyenoughitems: Roughly Enough Items 8.2.470
		sentimentality3: Sentimentality 3 1.5.0
		skylorlib: SkyLib 1.3.35
		solar_apocalypse: Solar Apocalypse 1.4.0
		sound_physics_remastered: Sound Physics Remastered 1.18.2-1.0.6
		spatialharvesters: Spatial Harvesters 0.11.13c
			completeconfig: CompleteConfig 1.3.3
		stacker: Stacker 2.1.3
			stacc: Stacc 1.3.0
		sync: Sync (Fabric) 3.2
			crowdin-translate: CrowdinTranslate 1.4+1.18.2
			smart-recipes: Smart Recipes 0.2.0+1.18.2
		terrarianslimes: Terrarian Slimes 1.2-BETA+1.18
		trinkets: Trinkets 3.3.1
		uncraftingtable76: UncraftingTable 1.18.2-1.0.1
	Server Running: true
	Player Count: 2 / 20; [class_3222['The_Nanuak'/689, l='ServerWorld minecraft:overworld world', x=-231.70, y=51.00, z=574.27], class_3222['itsAnth0ny'/2161, l='ServerWorld minecraft:overworld world', x=-227.14, y=51.00, z=572.81]]
	Data Packs: vanilla, Fabric Mods, dimdoors/classic (incompatible), dimdoors/default (incompatible)
	World Generation: Experimental
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)
	Suspected Mods: None