Minecraft is crashing when i try to enchant custom tools/armor

Started by Metarilo on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Minecraft is crashing when i try to enchant custom tools/armor

Help me, my two swords has enchantability 2, and armor 9.

When i enchanting them in anvil, minecraft crashes, but not crashes when i enchanting in enchantments table

Version is 1.14.4

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Crashlog?
Wed, 03/11/2020 - 13:43

Crashlog?

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The game crashed whilst…
Fri, 03/27/2020 - 21:10
The game crashed whilst mouseclicked event handler
Error: java.lang.NullPointerException: mouseClicked event handler

or

---- Minecraft Crash Report ----
// My bad.

Time: 20-03-27 17:09
Description: mouseClicked event handler

java.lang.NullPointerException: mouseClicked event handler
    at net.minecraft.item.TieredItem.func_82789_a(SourceFile:22) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.RepairContainer.func_82848_d(RepairContainer.java:142) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.inventory.container.RepairContainer.func_75130_a(RepairContainer.java:117) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.inventory.container.RepairContainer$1.func_70296_d(RepairContainer.java:32) ~[?:?] {re:classloading}
    at net.minecraft.inventory.Inventory.func_70299_a(SourceFile:117) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.Slot.func_75215_d(Slot.java:62) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.Container.func_75135_a(Container.java:525) ~[?:?] {re:classloading}
    at net.minecraft.inventory.container.RepairContainer.func_82846_b(RepairContainer.java:322) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.inventory.container.Container.func_184996_a(Container.java:231) ~[?:?] {re:classloading}
    at net.minecraft.client.multiplayer.PlayerController.func_187098_a(PlayerController.java:367) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_184098_a(ContainerScreen.java:515) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.mouseClicked(ContainerScreen.java:328) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:82) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$2819/964661854.run(Unknown Source) ~[?:?] {}
    at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:80) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$2492/600865491.invoke(Unknown Source) ~[?:?] {}
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at net.minecraft.client.MainWindow.func_216528_l(SourceFile:408) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow.func_198086_a(SourceFile:279) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.func_213227_b(Minecraft.java:947) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:911) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.14.4-28.2.3.jar:28.2] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$401/24097622.call(Unknown Source) [forge-1.14.4-28.2.3.jar:28.2] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}

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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.item.TieredItem.func_82789_a(SourceFile:22)
    at net.minecraft.inventory.container.RepairContainer.func_82848_d(RepairContainer.java:142)
    at net.minecraft.inventory.container.RepairContainer.func_75130_a(RepairContainer.java:117)
    at net.minecraft.inventory.container.RepairContainer$1.func_70296_d(RepairContainer.java:32)
    at net.minecraft.inventory.Inventory.func_70299_a(SourceFile:117)
    at net.minecraft.inventory.container.Slot.func_75215_d(Slot.java:62)
    at net.minecraft.inventory.container.Container.func_75135_a(Container.java:525)
    at net.minecraft.inventory.container.RepairContainer.func_82846_b(RepairContainer.java:322)
    at net.minecraft.inventory.container.Container.func_184996_a(Container.java:231)
    at net.minecraft.client.multiplayer.PlayerController.func_187098_a(PlayerController.java:367)
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.func_184098_a(ContainerScreen.java:515)
    at net.minecraft.client.gui.screen.inventory.ContainerScreen.mouseClicked(ContainerScreen.java:328)
    at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:82)
    at net.minecraft.client.MouseHelper$$Lambda$2819/964661854.run(Unknown Source)

-- Affected screen --
Details:
    Screen name: net.minecraft.client.gui.screen.inventory.AnvilScreen
Stacktrace:
    at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441)
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:80)
    at net.minecraft.client.MouseHelper$$Lambda$2492/600865491.invoke(Unknown Source)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
    at net.minecraft.client.MainWindow.func_216528_l(SourceFile:408)
    at net.minecraft.client.MainWindow.func_198086_a(SourceFile:279)

-- Affected level --
Details:
    All players: 1 total; [ClientPlayerEntity['natga65'/96, l='MpServer', x=1623.28, y=77.00, z=-1030.47]]
    Chunk stats: Client Chunk Cache: 1225, 841
    Level dimension: DimensionType{minecraft:overworld}
    Level name: MpServer
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: {}
    Level spawn location: World: (128,74,16), Chunk: (at 0,4,0 in 8,1; contains blocks 128,0,16 to 143,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 191734 game time, 199786 day time
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Server brand: forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.world.ClientWorld.func_72914_a(ClientWorld.java:410)
    at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:1750)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:400)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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:497)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$401/24097622.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 913858744 bytes (871 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 4
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.2.3.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.3.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.5-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.2.3.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.3.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.2.3.jar fml TRANSFORMATIONSERVICE 
    FML: 28.2
    Forge: net.minecraftforge:28.2.3
    FML Language Providers: 
        javafml@28.2
        minecraft@1
    Mod List: 
        forge-1.14.4-28.2.3-client.jar Minecraft {minecraft@1.14.4 DONE}
        natga65mod.jar Mod Natga65 {mod_natga@1.0.0 DONE}
        forge-1.14.4-28.2.3-universal.jar Forge {forge@28.2.3 DONE}
    Launched Version: 1.14.4-forge-28.2.3
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 580/PCIe/SSE2 GL version 4.6.0 NVIDIA 391.35, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: mod_resources, vanilla, file/Pack Serveur Fun
    Current Language: English (Canada)
    CPU: 4x Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz