Jump to content

[1.10.2] I can't start my mod! Please help me!


Recommended Posts

Posted

I want to create a GUI but it crash:

 

---- Minecraft Crash Report ----
// But it works on my machine.

Time: 14.09.18 22:04
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraftforge.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:273)
    at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:110)
    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2730)
    at de.toocrazy007.reddeathmod.Deathportalstone.onBlockActivated(Deathportalstone.java:42)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118)
    at net.minecraft.client.Minecraft.run(Minecraft.java:406)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraftforge.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:273)
    at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:110)
    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2730)
    at de.toocrazy007.reddeathmod.Deathportalstone.onBlockActivated(Deathportalstone.java:42)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Player476'/409, l='MpServer', x=229,70, y=87,41, z=246,70]]
    Chunk stats: MultiplayerChunkCache: 473, 473
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (236,64,256), Chunk: (at 12,4,0 in 14,16; contains blocks 224,0,256 to 239,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 1795 game time, 1795 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 116 total; [EntityBat['Bat'/262, l='MpServer', x=243,67, y=26,86, z=170,33], EntitySkeleton['Skeleton'/263, l='MpServer', x=248,50, y=20,00, z=183,50], EntitySheep['Sheep'/264, l='MpServer', x=240,78, y=73,00, z=233,38], EntitySheep['Sheep'/265, l='MpServer', x=247,60, y=74,00, z=238,05], EntityBat['Bat'/266, l='MpServer', x=247,84, y=25,10, z=254,40], EntitySheep['Sheep'/267, l='MpServer', x=255,05, y=72,00, z=299,56], EntitySkeleton['Skeleton'/268, l='MpServer', x=240,50, y=26,00, z=323,50], EntitySkeleton['Skeleton'/269, l='MpServer', x=240,50, y=26,00, z=323,50], EntityChicken['Chicken'/284, l='MpServer', x=268,47, y=79,00, z=268,40], EntitySheep['Sheep'/285, l='MpServer', x=271,55, y=81,00, z=270,55], EntityCreeper['Creeper'/286, l='MpServer', x=270,46, y=67,00, z=274,20], EntityBat['Bat'/287, l='MpServer', x=264,45, y=38,40, z=297,98], EntitySheep['Sheep'/288, l='MpServer', x=257,72, y=70,00, z=300,52], EntitySheep['Sheep'/289, l='MpServer', x=262,56, y=68,00, z=299,80], EntitySheep['Sheep'/290, l='MpServer', x=263,50, y=66,00, z=300,50], EntitySheep['Sheep'/298, l='MpServer', x=283,52, y=80,00, z=267,08], EntitySheep['Sheep'/299, l='MpServer', x=279,45, y=82,00, z=269,01], EntityChicken['Chicken'/300, l='MpServer', x=272,87, y=80,00, z=275,50], EntityChicken['Chicken'/301, l='MpServer', x=279,50, y=79,00, z=274,50], EntityChicken['Chicken'/302, l='MpServer', x=279,50, y=79,00, z=275,50], EntitySheep['Sheep'/303, l='MpServer', x=280,45, y=79,00, z=273,55], EntitySheep['Sheep'/314, l='MpServer', x=300,50, y=63,00, z=222,50], EntitySheep['Sheep'/315, l='MpServer', x=301,50, y=63,00, z=224,50], EntitySheep['Sheep'/316, l='MpServer', x=298,20, y=64,00, z=228,53], EntitySheep['Sheep'/317, l='MpServer', x=300,50, y=63,00, z=294,50], EntitySheep['Sheep'/318, l='MpServer', x=303,63, y=62,42, z=290,22], EntitySheep['Sheep'/319, l='MpServer', x=301,50, y=63,00, z=292,50], EntitySheep['Sheep'/320, l='MpServer', x=291,51, y=64,00, z=294,79], EntitySpider['Spider'/101, l='MpServer', x=151,50, y=39,00, z=167,50], EntitySheep['Sheep'/109, l='MpServer', x=157,50, y=70,00, z=231,50], EntitySkeleton['Skeleton'/110, l='MpServer', x=152,50, y=54,00, z=244,50], EntitySheep['Sheep'/111, l='MpServer', x=150,50, y=65,00, z=242,50], EntityBat['Bat'/113, l='MpServer', x=164,85, y=36,19, z=268,28], EntityCreeper['Creeper'/114, l='MpServer', x=154,72, y=27,00, z=275,44], EntityZombie['Zombie'/115, l='MpServer', x=153,50, y=24,00, z=284,50], EntityBat['Bat'/116, l='MpServer', x=160,86, y=44,95, z=274,10], EntitySheep['Sheep'/117, l='MpServer', x=159,53, y=69,00, z=286,93], EntitySkeleton['Skeleton'/118, l='MpServer', x=156,01, y=21,00, z=302,58], EntityBat['Bat'/119, l='MpServer', x=153,32, y=24,10, z=309,78], EntitySheep['Sheep'/137, l='MpServer', x=162,63, y=70,00, z=235,23], EntitySheep['Sheep'/138, l='MpServer', x=161,79, y=70,00, z=233,41], EntitySheep['Sheep'/139, l='MpServer', x=165,17, y=70,00, z=236,22], EntityZombie['Zombie'/140, l='MpServer', x=175,50, y=58,00, z=244,50], EntitySkeleton['Skeleton'/141, l='MpServer', x=170,30, y=24,53, z=260,68], EntityBat['Bat'/142, l='MpServer', x=163,87, y=16,68, z=266,86], EntityZombie['Zombie'/143, l='MpServer', x=165,50, y=43,00, z=268,50], EntitySheep['Sheep'/144, l='MpServer', x=161,22, y=69,00, z=268,34], EntitySheep['Sheep'/145, l='MpServer', x=166,50, y=68,00, z=260,50], EntitySheep['Sheep'/146, l='MpServer', x=163,50, y=68,00, z=262,50], EntitySheep['Sheep'/147, l='MpServer', x=178,46, y=68,00, z=262,52], EntitySheep['Sheep'/148, l='MpServer', x=173,57, y=68,00, z=264,26], EntitySheep['Sheep'/149, l='MpServer', x=170,46, y=69,00, z=265,72], EntitySheep['Sheep'/150, l='MpServer', x=167,78, y=68,00, z=257,33], EntitySheep['Sheep'/151, l='MpServer', x=173,27, y=71,00, z=284,50], EntitySheep['Sheep'/152, l='MpServer', x=170,50, y=70,00, z=279,04], EntitySheep['Sheep'/153, l='MpServer', x=168,50, y=70,00, z=279,50], EntitySheep['Sheep'/154, l='MpServer', x=170,50, y=70,00, z=280,54], EntitySheep['Sheep'/155, l='MpServer', x=172,21, y=71,00, z=283,51], EntityPlayerSP['Player476'/409, l='MpServer', x=229,70, y=87,41, z=246,70], EntitySheep['Sheep'/156, l='MpServer', x=174,48, y=68,00, z=305,82], EntityBat['Bat'/157, l='MpServer', x=163,25, y=25,10, z=305,50], EntitySkeleton['Skeleton'/158, l='MpServer', x=173,50, y=38,00, z=317,50], EntitySheep['Sheep'/159, l='MpServer', x=171,50, y=64,00, z=313,50], EntitySheep['Sheep'/160, l='MpServer', x=173,50, y=67,00, z=306,73], EntitySheep['Sheep'/161, l='MpServer', x=173,73, y=67,00, z=310,47], EntitySpider['Spider'/165, l='MpServer', x=191,50, y=18,00, z=171,50], EntityCreeper['Creeper'/166, l='MpServer', x=184,50, y=20,00, z=174,50], EntitySkeleton['Skeleton'/167, l='MpServer', x=185,50, y=20,00, z=171,50], EntitySheep['Sheep'/168, l='MpServer', x=178,70, y=70,00, z=221,50], EntityChicken['Chicken'/169, l='MpServer', x=191,18, y=68,00, z=221,67], EntitySheep['Sheep'/170, l='MpServer', x=184,55, y=68,00, z=226,98], EntitySheep['Sheep'/171, l='MpServer', x=184,49, y=68,00, z=225,69], EntitySheep['Sheep'/172, l='MpServer', x=182,65, y=68,00, z=228,66], EntityCreeper['Creeper'/173, l='MpServer', x=177,84, y=27,00, z=246,54], EntitySkeleton['Skeleton'/174, l='MpServer', x=176,50, y=27,00, z=251,50], EntitySheep['Sheep'/175, l='MpServer', x=185,62, y=69,00, z=247,73], EntitySheep['Sheep'/176, l='MpServer', x=191,35, y=69,00, z=254,51], EntitySheep['Sheep'/177, l='MpServer', x=188,45, y=69,00, z=251,55], EntitySheep['Sheep'/178, l='MpServer', x=182,29, y=68,00, z=252,51], EntityZombie['Zombie'/179, l='MpServer', x=189,50, y=39,00, z=262,50], EntitySkeleton['Skeleton'/180, l='MpServer', x=189,50, y=39,00, z=271,50], EntitySpider['Spider'/181, l='MpServer', x=182,50, y=40,00, z=259,50], EntitySheep['Sheep'/182, l='MpServer', x=176,27, y=72,00, z=268,51], EntitySheep['Sheep'/183, l='MpServer', x=179,00, y=68,00, z=258,53], EntityChicken['Chicken'/193, l='MpServer', x=205,21, y=66,00, z=215,86], EntityChicken['Chicken'/194, l='MpServer', x=196,97, y=68,00, z=232,48], EntityChicken['Chicken'/195, l='MpServer', x=197,70, y=68,00, z=231,93], EntityZombie['Zombie'/196, l='MpServer', x=202,50, y=37,00, z=250,50], EntitySkeleton['Skeleton'/197, l='MpServer', x=200,50, y=37,00, z=250,50], EntityZombie['entity.Zombie.name'/198, l='MpServer', x=196,50, y=40,00, z=267,80], EntitySkeleton['Skeleton'/199, l='MpServer', x=207,50, y=36,00, z=267,50], EntityZombie['Zombie'/200, l='MpServer', x=197,55, y=37,00, z=260,77], EntityZombie['Zombie'/201, l='MpServer', x=198,50, y=39,00, z=269,50], EntityZombie['Zombie'/202, l='MpServer', x=195,49, y=38,00, z=260,81], EntitySkeleton['Skeleton'/203, l='MpServer', x=194,33, y=39,00, z=264,50], EntityWitch['Witch'/204, l='MpServer', x=202,50, y=23,00, z=317,50], EntitySkeleton['Skeleton'/205, l='MpServer', x=194,50, y=35,00, z=309,50], EntityZombie['Zombie'/206, l='MpServer', x=196,50, y=49,00, z=307,50], EntitySheep['Sheep'/221, l='MpServer', x=210,68, y=69,00, z=174,19], EntityZombie['Zombie'/222, l='MpServer', x=215,07, y=34,00, z=247,49], EntityCreeper['Creeper'/223, l='MpServer', x=211,50, y=34,00, z=243,50], EntityCreeper['Creeper'/224, l='MpServer', x=219,46, y=35,00, z=249,23], EntityZombie['Zombie'/225, l='MpServer', x=210,50, y=68,00, z=253,50], EntityCreeper['Creeper'/226, l='MpServer', x=210,76, y=24,00, z=266,56], EntityBat['Bat'/227, l='MpServer', x=214,61, y=17,84, z=268,36], EntityCreeper['Creeper'/228, l='MpServer', x=218,50, y=63,00, z=280,50], EntityCreeper['Creeper'/229, l='MpServer', x=218,50, y=63,00, z=282,50], EntitySkeleton['Skeleton'/246, l='MpServer', x=225,50, y=32,00, z=238,50], EntityBat['Bat'/247, l='MpServer', x=226,41, y=30,89, z=240,87], EntitySheep['Sheep'/248, l='MpServer', x=233,55, y=79,00, z=245,76], EntitySheep['Sheep'/249, l='MpServer', x=227,50, y=82,00, z=248,13], EntityCreeper['Creeper'/250, l='MpServer', x=235,50, y=12,00, z=264,50], EntityCreeper['Creeper'/251, l='MpServer', x=235,50, y=12,00, z=264,50], EntitySkeleton['Skeleton'/252, l='MpServer', x=225,50, y=39,00, z=271,50], EntityZombie['Zombie'/253, l='MpServer', x=225,50, y=41,00, z=278,50], EntityZombie['Zombie'/255, l='MpServer', x=233,80, y=52,00, z=324,50]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2779)
    at net.minecraft.client.Minecraft.run(Minecraft.java:435)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
    Minecraft Version: 1.10.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_181, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 422909000 bytes (403 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.32 Powered by Forge 12.18.3.2185 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    Forge{12.18.3.2185} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    reddeathmod{1.0} [Reddeathmod Mod] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.13' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
    Launched Version: 1.10.2
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.13, 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 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (United Kingdom)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G 

crash-2018-09-14_22.04.11-client.txt

Posted

We can't help you without your code.

Although from the error trace I suspect that you haven't registered your IGuiHandler.

Also any particular reason you are using 1.10.2? You should be using 1.12.2.

  • Thanks 1
Posted
10 hours ago, V0idWa1k3r said:

We can't help you without your code.

Although from the error trace I suspect that you haven't registered your IGuiHandler.

Also any particular reason you are using 1.10.2? You should be using 1.12.2.

what class do you need?

Posted
4 minutes ago, toocrazy said:

If I rightclick the block it crash again!

Is it the same crash? Post the new crash and please use a spoiler tag it looks like "

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted (edited)
Spoiler

---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 15.09.18 11:26
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraftforge.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:273)
    at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:110)
    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2730)
    at de.toocrazy007.reddeathmod.Deathportalstone.onBlockActivated(Deathportalstone.java:42)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1118)
    at net.minecraft.client.Minecraft.run(Minecraft.java:406)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraftforge.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:273)
    at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:110)
    at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2730)
    at de.toocrazy007.reddeathmod.Deathportalstone.onBlockActivated(Deathportalstone.java:42)
    at net.minecraft.client.multiplayer.PlayerControllerMP.processRightClickBlock(PlayerControllerMP.java:442)
    at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1603)
    at net.minecraft.client.Minecraft.processKeyBinds(Minecraft.java:2281)
    at net.minecraft.client.Minecraft.runTickKeyboard(Minecraft.java:2058)

-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Player545'/410, l='MpServer', x=246,70, y=99,49, z=279,41]]
    Chunk stats: MultiplayerChunkCache: 513, 513
    Level seed: 0
    Level generator: ID 00 - default, ver 1. Features enabled: false
    Level generator options: 
    Level spawn location: World: (236,64,256), Chunk: (at 12,4,0 in 14,16; contains blocks 224,0,256 to 239,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 3929 game time, 3929 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 126 total; [EntityWolf['Wolf'/256, l='MpServer', x=225,52, y=68,00, z=337,72], EntityWolf['Wolf'/257, l='MpServer', x=231,51, y=64,00, z=345,05], EntityZombie['Zombie'/266, l='MpServer', x=240,50, y=26,00, z=235,50], EntitySheep['Sheep'/267, l='MpServer', x=247,60, y=74,00, z=238,05], EntitySheep['Sheep'/268, l='MpServer', x=255,05, y=72,00, z=299,56], EntityBat['Bat'/269, l='MpServer', x=250,38, y=58,10, z=321,26], EntityBat['Bat'/270, l='MpServer', x=246,01, y=35,12, z=351,43], EntityBat['Bat'/271, l='MpServer', x=252,73, y=58,21, z=340,05], EntitySquid['Squid'/284, l='MpServer', x=268,86, y=60,24, z=242,54], EntityChicken['Chicken'/285, l='MpServer', x=268,48, y=79,00, z=268,13], EntityChicken['Chicken'/286, l='MpServer', x=256,50, y=83,00, z=288,19], EntitySheep['Sheep'/287, l='MpServer', x=257,72, y=70,00, z=300,52], EntitySheep['Sheep'/288, l='MpServer', x=265,21, y=68,00, z=301,50], EntitySheep['Sheep'/289, l='MpServer', x=263,23, y=64,00, z=304,62], EntitySheep['Sheep'/295, l='MpServer', x=279,45, y=82,00, z=269,01], EntitySheep['Sheep'/296, l='MpServer', x=284,49, y=80,00, z=257,74], EntityChicken['Chicken'/297, l='MpServer', x=279,46, y=79,00, z=274,37], EntityChicken['Chicken'/298, l='MpServer', x=282,76, y=78,00, z=272,91], EntitySheep['Sheep'/299, l='MpServer', x=283,74, y=83,00, z=271,46], EntitySheep['Sheep'/300, l='MpServer', x=266,54, y=78,00, z=279,72], EntitySheep['Sheep'/313, l='MpServer', x=300,50, y=63,00, z=222,50], EntitySheep['Sheep'/314, l='MpServer', x=293,81, y=63,00, z=221,62], EntitySheep['Sheep'/315, l='MpServer', x=299,81, y=63,00, z=225,66], EntitySheep['Sheep'/316, l='MpServer', x=300,50, y=63,00, z=294,50], EntitySheep['Sheep'/317, l='MpServer', x=301,50, y=63,00, z=292,50], EntitySheep['Sheep'/318, l='MpServer', x=291,51, y=64,00, z=294,79], EntitySheep['Sheep'/322, l='MpServer', x=307,16, y=62,42, z=287,60], EntityBat['Bat'/593, l='MpServer', x=228,75, y=35,10, z=270,83], EntityBat['Bat'/630, l='MpServer', x=168,78, y=33,31, z=342,17], EntitySkeleton['Skeleton'/129, l='MpServer', x=170,30, y=23,31, z=260,60], EntityBat['Bat'/130, l='MpServer', x=179,50, y=39,78, z=250,50], EntitySpider['Spider'/131, l='MpServer', x=169,30, y=62,10, z=265,30], EntitySheep['Sheep'/132, l='MpServer', x=171,24, y=68,00, z=262,43], EntitySheep['Sheep'/134, l='MpServer', x=173,57, y=68,00, z=264,26], EntitySheep['Sheep'/135, l='MpServer', x=170,46, y=69,00, z=265,72], EntitySheep['Sheep'/136, l='MpServer', x=167,48, y=68,00, z=257,77], EntitySheep['Sheep'/137, l='MpServer', x=174,75, y=68,00, z=258,51], EntityItem['item.tile.hopper'/649, l='MpServer', x=244,47, y=96,00, z=277,37], EntityCreeper['Creeper'/138, l='MpServer', x=172,50, y=40,00, z=272,50], EntitySheep['Sheep'/140, l='MpServer', x=170,50, y=70,00, z=279,04], EntitySheep['Sheep'/141, l='MpServer', x=168,50, y=70,00, z=279,50], EntitySheep['Sheep'/142, l='MpServer', x=170,50, y=70,00, z=280,54], EntitySheep['Sheep'/143, l='MpServer', x=172,21, y=71,00, z=283,51], EntitySheep['Sheep'/144, l='MpServer', x=167,33, y=70,00, z=272,69], EntityItem['item.tile.sapling.oak'/656, l='MpServer', x=245,15, y=94,00, z=275,10], EntitySheep['Sheep'/146, l='MpServer', x=171,50, y=64,00, z=313,50], EntitySheep['Sheep'/147, l='MpServer', x=173,29, y=64,00, z=313,97], EntitySheep['Sheep'/148, l='MpServer', x=172,56, y=67,00, z=309,45], EntitySkeleton['Skeleton'/149, l='MpServer', x=174,50, y=30,00, z=332,50], EntitySkeleton['Skeleton'/150, l='MpServer', x=174,50, y=29,00, z=342,27], EntitySheep['Sheep'/156, l='MpServer', x=186,94, y=67,00, z=219,39], EntityChicken['Chicken'/157, l='MpServer', x=196,59, y=66,00, z=213,09], EntitySkeleton['Skeleton'/158, l='MpServer', x=177,50, y=53,00, z=234,50], EntitySkeleton['Skeleton'/159, l='MpServer', x=178,50, y=53,00, z=231,50], EntityZombie['Zombie'/160, l='MpServer', x=178,50, y=53,00, z=235,50], EntitySheep['Sheep'/161, l='MpServer', x=184,55, y=68,00, z=226,98], EntitySheep['Sheep'/162, l='MpServer', x=179,73, y=70,00, z=217,53], EntitySheep['Sheep'/163, l='MpServer', x=182,65, y=68,00, z=228,66], EntityCreeper['Creeper'/164, l='MpServer', x=177,84, y=27,00, z=246,54], EntityCreeper['Creeper'/166, l='MpServer', x=179,50, y=29,00, z=242,50], EntitySkeleton['Skeleton'/167, l='MpServer', x=176,50, y=21,00, z=243,50], EntitySheep['Sheep'/168, l='MpServer', x=177,75, y=67,00, z=241,56], EntitySheep['Sheep'/169, l='MpServer', x=188,49, y=69,00, z=254,29], EntitySheep['Sheep'/170, l='MpServer', x=182,29, y=68,00, z=252,51], EntitySheep['Sheep'/171, l='MpServer', x=191,81, y=69,00, z=254,50], EntityZombie['Zombie'/172, l='MpServer', x=189,50, y=39,00, z=262,50], EntitySkeleton['Skeleton'/173, l='MpServer', x=189,50, y=39,00, z=271,50], EntityZombie['Zombie'/174, l='MpServer', x=182,50, y=39,00, z=266,50], EntitySkeleton['Skeleton'/175, l='MpServer', x=190,27, y=40,00, z=266,50], EntitySkeleton['Skeleton'/176, l='MpServer', x=186,50, y=39,00, z=266,50], EntitySheep['Sheep'/177, l='MpServer', x=176,27, y=72,00, z=268,51], EntitySheep['Sheep'/178, l='MpServer', x=178,26, y=68,00, z=262,42], EntitySkeleton['Skeleton'/179, l='MpServer', x=190,50, y=19,00, z=316,50], EntitySheep['Sheep'/180, l='MpServer', x=179,26, y=71,00, z=306,54], EntityItem['item.tile.mushroom'/181, l='MpServer', x=186,80, y=30,00, z=322,98], EntityItem['item.tile.mushroom'/182, l='MpServer', x=185,13, y=30,00, z=320,88], EntityWitch['Witch'/183, l='MpServer', x=191,50, y=25,00, z=329,50], EntityBat['Bat'/184, l='MpServer', x=182,25, y=29,10, z=350,54], EntityBat['Bat'/185, l='MpServer', x=195,36, y=20,46, z=340,36], EntityCreeper['Creeper'/698, l='MpServer', x=203,50, y=22,00, z=313,50], EntityChicken['Chicken'/193, l='MpServer', x=204,61, y=65,00, z=223,16], EntityChicken['Chicken'/194, l='MpServer', x=199,80, y=67,00, z=227,42], EntityChicken['Chicken'/195, l='MpServer', x=197,70, y=68,00, z=231,93], EntityZombie['Zombie'/196, l='MpServer', x=203,54, y=36,00, z=248,68], EntityWitch['Witch'/197, l='MpServer', x=192,50, y=40,00, z=255,50], EntityCreeper['Creeper'/198, l='MpServer', x=188,80, y=40,00, z=260,44], EntitySkeleton['Skeleton'/199, l='MpServer', x=206,69, y=36,00, z=267,50], EntityZombie['Zombie'/200, l='MpServer', x=199,50, y=39,00, z=267,50], EntityWitch['Witch'/201, l='MpServer', x=203,50, y=21,00, z=311,30], EntityZombie['Zombie'/202, l='MpServer', x=195,50, y=19,00, z=316,50], EntitySkeleton['Skeleton'/203, l='MpServer', x=198,50, y=25,00, z=326,50], EntitySpider['Spider'/204, l='MpServer', x=193,50, y=20,00, z=339,50], EntityZombie['Zombie'/205, l='MpServer', x=197,50, y=20,00, z=340,50], EntityZombie['Zombie'/206, l='MpServer', x=196,50, y=20,00, z=343,50], EntitySheep['Sheep'/211, l='MpServer', x=202,55, y=63,00, z=358,40], EntitySheep['Sheep'/212, l='MpServer', x=195,47, y=64,00, z=359,27], EntityPlayerSP['Player545'/410, l='MpServer', x=246,70, y=99,49, z=279,41], EntityCreeper['Creeper'/217, l='MpServer', x=219,46, y=35,00, z=249,23], EntityBat['Bat'/218, l='MpServer', x=216,75, y=36,01, z=246,75], EntityZombie['Zombie'/219, l='MpServer', x=208,50, y=69,00, z=252,81], EntityBat['Bat'/220, l='MpServer', x=217,04, y=13,00, z=269,22], EntityCreeper['Creeper'/221, l='MpServer', x=210,50, y=37,00, z=268,50], EntityBat['Bat'/222, l='MpServer', x=201,18, y=59,02, z=254,84], EntityCreeper['Creeper'/223, l='MpServer', x=218,50, y=63,00, z=282,50], EntitySkeleton['Skeleton'/224, l='MpServer', x=213,50, y=58,00, z=272,50], EntitySkeleton['Skeleton'/225, l='MpServer', x=220,50, y=25,00, z=330,50], EntityWolf['Wolf'/226, l='MpServer', x=224,32, y=68,00, z=336,50], EntityCreeper['Creeper'/227, l='MpServer', x=217,50, y=15,00, z=342,50], EntityCreeper['Creeper'/228, l='MpServer', x=220,19, y=16,00, z=338,59], EntityWolf['Wolf'/229, l='MpServer', x=229,49, y=66,00, z=341,21], EntityEnderman['Enderman'/230, l='MpServer', x=210,46, y=51,00, z=357,56], EntityCreeper['Creeper'/241, l='MpServer', x=228,50, y=29,00, z=231,50], EntityCreeper['Creeper'/242, l='MpServer', x=238,50, y=26,00, z=237,50], EntityCreeper['Creeper'/243, l='MpServer', x=238,50, y=26,00, z=237,50], EntityZombie['Zombie'/244, l='MpServer', x=236,50, y=26,00, z=236,50], EntityBat['Bat'/245, l='MpServer', x=225,13, y=32,00, z=235,75], EntitySheep['Sheep'/246, l='MpServer', x=236,55, y=76,00, z=233,56], EntitySheep['Sheep'/247, l='MpServer', x=236,45, y=76,00, z=232,62], EntitySheep['Sheep'/248, l='MpServer', x=229,52, y=83,00, z=252,71], EntityCreeper['Creeper'/249, l='MpServer', x=235,50, y=12,00, z=264,50], EntityZombie['Zombie'/250, l='MpServer', x=221,52, y=42,00, z=273,81], EntityCreeper['Creeper'/251, l='MpServer', x=239,30, y=32,00, z=334,30], EntityZombie['Zombie'/252, l='MpServer', x=235,49, y=53,00, z=328,20], EntitySpider['Spider'/253, l='MpServer', x=233,50, y=52,00, z=328,50], EntityZombie['Zombie'/254, l='MpServer', x=238,50, y=32,00, z=339,50], EntityCreeper['Creeper'/255, l='MpServer', x=240,70, y=32,00, z=333,30]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:456)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2779)
    at net.minecraft.client.Minecraft.run(Minecraft.java:435)
    at net.minecraft.client.main.Main.main(Main.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
    Minecraft Version: 1.10.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_181, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 453366952 bytes (432 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.32 Powered by Forge 12.18.3.2185 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    Forge{12.18.3.2185} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2185.jar) 
    UCHIJAAAA    reddeathmod{1.0} [Reddeathmod Mod] (bin) 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 388.13' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2'
    Launched Version: 1.10.2
    LWJGL: 2.9.4
    OpenGL: GeForce GTX 1050 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 388.13, 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 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (United Kingdom)
    Profiler Position: N/A (disabled)
    CPU: 4x AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G 

 

Edited by toocrazy
Posted
1 minute ago, toocrazy said:

And thank you that you help me!

I asked if you would put your crash report in a spoiler block.

 

Also push your updated code to github.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
1 minute ago, toocrazy said:

I already pushed my updated code into github

 

My bad I missed the updated 13 minutes ago between all of the updated 3 hours ago.

 

This line is your problem it should be !world.isRemote

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
2 minutes ago, toocrazy said:

now the game does not crash but the gui do not open.

Step through your code in the debugger, I am not sure what is happening.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
Spoiler

[12:23:16] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@63fe050e[id=d8673417-c4e9-3a05-9b69-9e1ec4bb9002,name=Player805,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
    at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3060) [Minecraft.class:?]
    at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [SkinManager$3.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_181]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_181]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
[12:23:26] [Server thread/INFO]: Player805 has just earned the achievement [Taking Inventory]
[12:23:26] [Client thread/INFO]: [CHAT] Player805 has just earned the achievement [Taking Inventory]
[12:23:47] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_181]
    at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_181]
    at net.minecraft.util.Util.runTask(Util.java:29) [Util.class:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:743) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:688) [MinecraftServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) [IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:537) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: java.lang.NullPointerException
    at de.toocrazy007.reddeathmod.Deathportalstone.breakBlock(Deathportalstone.java:60) ~[Deathportalstone.class:?]
    at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:613) ~[Chunk.class:?]
    at net.minecraft.world.World.setBlockState(World.java:388) ~[World.class:?]
    at net.minecraft.block.Block.removedByPlayer(Block.java:1324) ~[Block.class:?]
    at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:298) ~[PlayerInteractionManager.class:?]
    at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:292) ~[PlayerInteractionManager.class:?]
    at net.minecraft.server.management.PlayerInteractionManager.tryHarvestBlock(PlayerInteractionManager.java:339) ~[PlayerInteractionManager.class:?]
    at net.minecraft.server.management.PlayerInteractionManager.onBlockClicked(PlayerInteractionManager.java:175) ~[PlayerInteractionManager.class:?]
    at net.minecraft.network.NetHandlerPlayServer.processPlayerDigging(NetHandlerPlayServer.java:658) ~[NetHandlerPlayServer.class:?]
    at net.minecraft.network.play.client.CPacketPlayerDigging.processPacket(CPacketPlayerDigging.java:56) ~[CPacketPlayerDigging.class:?]
    at net.minecraft.network.play.client.CPacketPlayerDigging.processPacket(CPacketPlayerDigging.java:12) ~[CPacketPlayerDigging.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_181]
    at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_181]
    at net.minecraft.util.Util.runTask(Util.java:28) ~[Util.class:?]
    ... 5 more

If iI breack the block ^

                                  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.