How to solve the game crash caused by the entity made by Mcreator in the game?

As soon as the entity spawns, the entire game crashes,
and here’s the game crash data:

-- Last reload -- 
Details: 
   Reload number: 1 
   Reload reason: initial 
   Finished: Yes 
   Packs: vanilla, mod_resources 
-- System Details -- 
Details: 
   Minecraft Version: 1.19.4 
   Minecraft Version ID: 1.19.4 
   Operating System: Windows 10 (amd64) version 10.0 
   Java Version: 17.0.7, Eclipse Adoptium 
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium 
   Memory: 445579624 bytes (424 MiB) / 1530920960 bytes (1460 MiB) up to 4223664128 bytes (4028 MiB) 
   CPUs: 16 
   Processor Vendor: GenuineIntel 
   Processor Name: 13th Gen Intel(R) Core(TM) i5-1340P 
   Identifier: Intel64 Family 6 Model 186 Stepping 2 
   Microarchitecture: unknown 
   Frequency (GHz): 2.19 
   Number of physical packages: 1 
   Number of physical CPUs: 12 
   Number of logical CPUs: 16 
   Graphics card #0 name: Intel(R) Iris(R) Xe Graphics 
   Graphics card #0 vendor: Intel Corporation (0x8086) 
   Graphics card #0 VRAM (MB): 1024.00 
   Graphics card #0 deviceId: 0xa7a0 
   Graphics card #0 versionInfo: DriverVersion=31.0.101.4146 
   Graphics card #1 name: Virtual Display Device 
   Graphics card #1 vendor: Huawei 
   Graphics card #1 VRAM (MB): 0.00 
   Graphics card #1 deviceId: unknown 
   Graphics card #1 versionInfo: DriverVersion=1.0.0.9 
   Memory slot #0 capacity (MB): 2048.00 
   Memory slot #0 clockSpeed (GHz): 4.27 
   Memory slot #0 type: LPDDR4 
   Memory slot #1 capacity (MB): 2048.00 
   Memory slot #1 clockSpeed (GHz): 4.27 
   Memory slot #1 type: LPDDR4 
   Memory slot #2 capacity (MB): 2048.00 
   Memory slot #2 clockSpeed (GHz): 4.27 
   Memory slot #2 type: LPDDR4 
   Memory slot #3 capacity (MB): 2048.00 
   Memory slot #3 clockSpeed (GHz): 4.27 
   Memory slot #3 type: LPDDR4 
   Memory slot #4 capacity (MB): 2048.00 
   Memory slot #4 clockSpeed (GHz): 4.27 
   Memory slot #4 type: LPDDR4 
   Memory slot #5 capacity (MB): 2048.00 
   Memory slot #5 clockSpeed (GHz): 4.27 
   Memory slot #5 type: LPDDR4 
   Memory slot #6 capacity (MB): 2048.00 
   Memory slot #6 clockSpeed (GHz): 4.27 
   Memory slot #6 type: LPDDR4 
   Memory slot #7 capacity (MB): 2048.00 
   Memory slot #7 clockSpeed (GHz): 4.27 
   Memory slot #7 type: LPDDR4 
   Virtual memory max (MB): 19308.24 
   Virtual memory used (MB): 13833.95 
   Swap memory total (MB): 3200.00 
   Swap memory used (MB): 134.69 
   JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump 
   Launched Version: MOD_DEV 
   Backend library: LWJGL version 3.3.1 build 7 
   Backend API: Intel(R) Iris(R) Xe Graphics GL version 3.2.0 - Build 31.0.101.4146, Intel 
   Window size: 2160x1334 
   GL Caps: Using framebuffer using OpenGL 3.2 
   GL debug messages:  
   Using VBOs: Yes 
   Is Modded: Definitely; Client brand changed to 'forge'; Server brand changed to 'forge' 
   Type: Integrated Server (map_client.txt) 
   Graphics mode: fast 
   Resource Packs:  
   Current Language: zh_cn 
   CPU: 16x 13th Gen Intel(R) Core(TM) i5-1340P 
   Server Running: true 
   Player Count: 1 / 8; [ServerPlayer['Dev'/300, l='ServerLevel[新的世界]', x=48.50, y=92.00, z=28.50]] 
   Data Packs: vanilla, mod:snail (incompatible), mod:forge, mod:geckolib (incompatible) 
   Enabled Feature Flags: minecraft:vanilla 
   World Generation: Experimental 
   ModLauncher: 10.0.9+10.0.9+main.dcd20f30 
   ModLauncher launch target: forgeclientuserdev 
   ModLauncher naming: mcp 
   ModLauncher services:  
      mixin-0.8.5.jar mixin PLUGINSERVICE  
      eventbus-6.0.3.jar eventbus PLUGINSERVICE  
      fmlloader-1.19.4-45.1.0.jar slf4jfixer PLUGINSERVICE  
      fmlloader-1.19.4-45.1.0.jar object_holder_definalize PLUGINSERVICE  
      fmlloader-1.19.4-45.1.0.jar runtime_enum_extender PLUGINSERVICE  
      fmlloader-1.19.4-45.1.0.jar capability_token_subclass PLUGINSERVICE  
      accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE  
      fmlloader-1.19.4-45.1.0.jar runtimedistcleaner PLUGINSERVICE  
      modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE  
      modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE  
   FML Language Providers:  
      minecraft@1.0 
      lowcodefml@null 
      javafml@null 
   Mod List:  
      forge-1.19.4-45.1.0_mapped_official_1.19.4-recomp.|Minecraft                     |minecraft                     |1.19.4              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f 
      main                                              |Snail                         |snail                         |1.0.0               |DONE      |Manifest: NOSIGNATURE 
                                                        |Forge                         |forge                         |45.1.0              |DONE      |Manifest: NOSIGNATURE 
      geckolib-forge-1.19.4-4.1.3_mapped_official_1.19.4|GeckoLib 4                    |geckolib                      |4.1.3               |DONE      |Manifest: NOSIGNATURE 
   Crash Report UUID: 27e0b101-ebc0-4e05-8c92-b855748b0c26 
   FML: 45.1 
   Forge: net.minecraftforge:45.1.0 
14:56.56 [Render thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID f10eefd6-4053-4f8b-9857-135d7e1999fc 
#@!@# Game crashed! Crash report saved to: #@!@# D:\114514\run\run\.\crash-reports\crash-2024-01-01_14.56.56-client.txt 
> Task :runClient FAILED 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':runClient'. 
> Process 'command 'D:\MCreator\jdk\bin\java.exe'' finished with non-zero exit value -1 
* Try: 
> Run with --stacktrace option to get the stack trace. 
> Run with --info or --debug option to get more log output. 
> Run with --scan to get full insights. 
* Get more help at https://help.gradle.org 
BUILD FAILED in 5m 9s 
10 actionable tasks: 4 executed, 6 up-to-date 
  
BUILD FAILED 
Task completed in 5 minutes and 9 seconds

This forum is for Gradle related things.
Your question is not the least Gradle releated, besides that you run your build using Gradle.
You probably need to debug your code to find out where it crashes, but this is out of scope of this forum.