Jump to content

Recommended Posts

Posted

ok so my minecraft server just keeps crashing after a while or when i try to enter a dimension

 

here is my log >> [22:30:47] [server thread/INFO]: Starting minecraft server version 1.7.10

[22:30:47] [server console handler/ERROR]: Exception handling console input

java.io.IOException: The handle is invalid

at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_66]

at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_66]

at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_66]

at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_66]

at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_66]

at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_66]

at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_66]

at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_66]

at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_66]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]

at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_66]

at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]

[22:31:24] [server thread/INFO]: Loading properties

[22:31:24] [server thread/INFO]: Default game type: SURVIVAL

[22:31:24] [server thread/INFO]: Generating keypair

[22:31:24] [server thread/INFO]: Starting Minecraft server on 10.0.0.4:25565

[22:31:38] [server thread/INFO]: Preparing level "world"

[22:31:41] [server thread/INFO]: Preparing start region for level 0

[22:31:42] [server thread/INFO]: Preparing spawn area: 35%

[22:31:42] [server thread/INFO]: Done (4.221s)! For help, type "help" or "?"

[22:31:53] [user Authenticator #1/INFO]: UUID of player The_Spawner is 85ff4989-a64f-4db6-93f1-00c85bfc4e75

[22:31:55] [server thread/INFO]: The_Spawner[/10.0.0.9:53731] logged in with entity id 192 at (7.5, 2.0, 7.5)

[22:31:55] [server thread/INFO]: The_Spawner joined the game

[22:31:56] [server thread/WARN]: Failed to handle packet for /10.0.0.9:53731

java.lang.NullPointerException

at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:101) ~[FMLProxyPacket.class:?]

at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) ~[ej.class:?]

at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) [nc.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) [lt.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

[22:31:56] [server thread/ERROR]: Encountered an unexpected exception

java.lang.NoSuchMethodError: micdoodle8.mods.galacticraft.core.util.WorldUtil.otherModGenerate(IILnet/minecraft/world/World;Lnet/minecraft/world/chunk/IChunkProvider;Lnet/minecraft/world/chunk/IChunkProvider;)V

at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:280) ~[ms.class:?]

at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1050) ~[apx.class:?]

at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:52) ~[ChunkIOProvider.class:?]

at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12) ~[ChunkIOProvider.class:?]

at net.minecraftforge.common.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:189) ~[AsynchronousExecutor$Task.class:?]

at net.minecraftforge.common.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:354) ~[AsynchronousExecutor.class:?]

at net.minecraftforge.common.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:30) ~[ChunkIOExecutor.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:596) ~[MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) ~[lt.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) [li.class:?]

[22:31:56] [server thread/ERROR]: This crash report has been saved to: C:\Users\Brian Fopiano-Neuman\Desktop\New folder\.\crash-reports\crash-2016-01-30_22.31.56-server.txt

[22:31:56] [server thread/INFO]: Stopping server

[22:31:56] [server thread/INFO]: Saving players

[22:31:56] [server thread/INFO]: Saving worlds

[22:31:56] [server thread/INFO]: Saving chunks for level 'world'/Overworld

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/Nether

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/The End

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/planet.asteroids

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/Underdark

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/PocketDimension

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/The Outer Lands

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/The Last Millenium

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/Twilight Forest

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/Limbo

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/moon.moon

[22:31:57] [server thread/INFO]: Saving chunks for level 'world'/planet.mars

 

 

 

 

 

 

here is the crash report>>>  ---- Minecraft Crash Report ----

// You should try our sister game, Minceraft!

 

Time: 1/30/16 10:16 AM

Description: Exception getting block type in world

 

java.lang.NoSuchMethodError: micdoodle8.mods.galacticraft.core.util.WorldUtil.otherModGenerate(IILnet/minecraft/world/World;Lnet/minecraft/world/chunk/IChunkProvider;Lnet/minecraft/world/chunk/IChunkProvider;)V

at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:280)

at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1050)

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)

at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101)

at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199)

at net.minecraft.world.World.func_72964_e(World.java:419)

at net.minecraft.world.World.func_147439_a(World.java:345)

at net.minecraft.block.BlockGrass.func_149674_a(BlockGrass.java:57)

at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:391)

at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:183)

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:625)

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:280)

at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1050)

at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)

at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101)

at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199)

at net.minecraft.world.World.func_72964_e(World.java:419)

 

-- Requested block coordinates --

Details:

Found chunk: true

Location: World: (151,64,448), Chunk: (at 7,4,0 in 9,28; contains blocks 144,0,448 to 159,255,463), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Stacktrace:

at net.minecraft.world.World.func_147439_a(World.java:345)

at net.minecraft.block.BlockGrass.func_149674_a(BlockGrass.java:57)

at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:391)

at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:183)

 

-- Affected level --

Details:

Level name: world

All players: 1 total; [GCEntityPlayerMP['The_Spawner'/283, l='world', x=146.09, y=69.00, z=274.69]]

Chunk stats: ServerChunkCache: 496 Drop: 0

Level seed: -7562758831282226332

Level generator: ID 00 - default, ver 1. Features enabled: true

Level generator options:

Level spawn location: World: (164,64,252), Chunk: (at 4,4,12 in 10,15; contains blocks 160,0,240 to 175,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 2362 game time, 2362 day time

Level dimension: 0

Level storage version: 0x04ABD - Anvil

Level weather: Rain time: 110789 (now: false), thunder time: 74683 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false

Stacktrace:

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:625)

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 10 (amd64) version 10.0

Java Version: 1.8.0_66, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 386160392 bytes (368 MB) / 652738560 bytes (622 MB) up to 1407713280 bytes (1342 MB)

JVM Flags: 0 total;

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 15, tallocated: 95

FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 45 mods loaded, 45 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.05} [Minecraft Coder Pack] (minecraft.jar)

UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1558-1.7.10-universal.jar)

UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forge-1.7.10-10.13.4.1558-1.7.10-universal.jar)

UCHIJAAAA Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar)

UCHIJAAAA appliedenergistics2-core{rv2-stable-10} [AppliedEnergistics2 Core] (minecraft.jar)

UCHIJAAAA CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)

UCHIJAAAA NotEnoughItems{1.0.5.118} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.118-universal.jar)

UCHIJAAAA advancedgenetics{1.5.9} [Advanced Genetics] (advancedgenetics-1.7.10-1.5.9 (1).jar)

UCHIJAAAA AnimationAPI{1.2.4} [AnimationAPI] (animation-api-1.7.10-1.2.4.jar)

UCHIJAAAA appliedenergistics2{rv2-stable-10} [Applied Energistics 2] (appliedenergistics2-rv2-stable-10.jar)

UCHIJAAAA ArchimedesShips{1.7.10 v1.7.1} [Archimedes' Ships] (ArchimedesShips-1.7.1.jar)

UCHIJAAAA BuildCraft|Core{7.1.14} [buildCraft] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Builders{7.1.14} [bC Builders] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Transport{7.1.14} [bC Transport] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Energy{7.1.14} [bC Energy] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Silicon{7.1.14} [bC Silicon] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Robotics{7.1.14} [bC Robotics] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA BuildCraft|Factory{7.1.14} [bC Factory] (buildcraft-7.1.14 (1).jar)

UCHIJAAAA ChickenChunks{1.3.4.13} [ChickenChunks] (ChickenChunks-Mod-1.7.10.jar)

UCHIJAAAA ComputerCraft{1.75} [ComputerCraft] (ComputerCraft1.75 (1).jar)

UCHIJAAAA darkcore{0.3} [Dark Core] (darkcore-0.3-86 (1).jar)

UCHIJAAAA dimdoors{2.2.5-test9} [Dimensional Doors] (DimensionalDoors-2.2.5-test9 (2).jar)

UCHIJAAAA OmnisCore{0.1.0} [Omnis Core] (OmnisCore-1.7.10 - 0.0.6-universal (3).jar)

UCHIJAAAA Baubles{1.0.1.10} [baubles] (Baubles-1.7.10-1.0.1.10.jar)

UCHIJAAAA ExtraUtilities{1.2.12} [Extra Utilities] (extrautilities-1.2.12 (1).jar)

UCHIJAAAA Mantle{1.7.10-0.3.2.jenkins184} [Mantle] (Mantle-1.7.10-0.3.2 (2).jar)

UCHIJAAAA TConstruct{1.7.10-1.8.8.build988} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8 (1).jar)

UCHIJAAAA Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-1.7.10-4.2.3.5 (5).jar)

UCHIJAAAA dimensionalPockets{0.11.4.1} [Dimensional Pockets] (DimensionalPockets-1.7.10-0.11.4.1-universal (1).jar)

UCHIJAAAA EnderIO{1.7.10-2.2.8.381} [Ender IO] (EnderIO-1.7.10-2.2.8.381.jar)

UCHIJAAAA EnderStorage{1.4.7.36} [EnderStorage] (EnderStorage-1.7.10-1.4.7.36-universal.jar)

UCHIJAAAA extracells{2.2.73} [Extra Cells 2] (ExtraCells-1.7.10-2.2.73b129.jar)

UCHIJAAAA GalacticraftCore{3.0.12} [Galacticraft Core] (GalacticraftCore-1.7-3.0.12.406.jar)

UCHIJAAAA GalacticraftMars{3.0.12} [Galacticraft Planets] (Galacticraft-Planets-1.7-3.0.12.406.jar)

UCHIJAAAA iChunUtil{4.2.2} [iChunUtil] (iChunUtil-4.2.2 (2).jar)

UCHIJAAAA IronChest{6.0.41.729} [iron Chest] (Iron-Chests-Mod-1.7.10.jar)

UCHIJAAAA Morph{0.9.2} [Morph] (Morphing-Mod-1.7.10 (1).jar)

UCHIJAAAA Mystcraft{0.11.0.00} [Mystcraft] (mystcraft-1.7.10-0.11.0.00 (4).jar)

UCHIJAAAA pandorasbox{2.0.1} [Pandora's Box] (Pandoras-Box-Mod-1.7.10.jar)

UCHIJAAAA PortalGun{4.0.0-beta-6} [PortalGun] (Portal-Gun-Mod-1.7.10 (1).jar)

UCHIJAAAA qCraft{1.2} [qCraft] (qCraft1.2 (1).zip)

UCHIJAAAA rftools{4.20} [RFTools] (rftools-4.20.jar)

UCHIJAAAA TardisMod{0.994} [Tardis Mod] (tardismod-1.7.10-0.994-124-DS (1).jar)

UCHIJAAAA treeGrowingSimulator{0.0.3} [Tree Growing Simulator 2014] (Tree-Growing-Simulator-Mod-1.7.10.jar)

UCHIJAAAA TwilightForest{2.3.7} [The Twilight Forest] (twilightforest-1.7.10-2.3.7.jar)

AE2 Version: stable rv2-stable-10 for Forge 10.13.2.1291

Mantle Environment: Environment healthy.

TConstruct Environment: Environment healthy.

DPAnalytics Crash Check: Will analyze crash-log before shutdown and send it to the Dimensional Pockets developer

AE2 Integration: IC2:OFF, RotaryCraft:OFF, RC:OFF, BC:ON, RF:ON, RFItem:ON, MFR:OFF, DSU:OFF, FZ:OFF, FMP:OFF, RB:OFF, CLApi:OFF, Waila:OFF, Mekanism:OFF, ImmibisMicroblocks:OFF, BetterStorage:OFF

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Player Count: 1 / 20; [GCEntityPlayerMP['The_Spawner'/283, l='world', x=146.09, y=69.00, z=274.69]]

Is Modded: Definitely; Server brand changed to 'fml,forge'

Type: Dedicated Server (map_server.txt)

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
    • Hi here is an update. I was able to fix the code so my mod does not crash Minecraft. Please understand that I am new to modding but I honestly am having a hard time understanding how anyone can get this to work without having extensive programming and debugging experience as well as searching across the Internet, multiple gen AI bots (claude, grok, openai), and examining source code hidden in the gradle directory and in various github repositories. I guess I am wrong because clearly there are thousands of mods so maybe I am just a newbie. Ok, rant over, here is a step by step summary so others can save the 3 days it took me to figure this out.   1. First, I am using forge 54.1.0 and Minecraft 1.21.4 2. I am creating a mod to add a shotgun to Minecraft 3. After creating the mod and compiling it, I installed the .jar file to the proper directory in Minecraft and used 1.21.4-forge-54.1.0 4. The mod immediately crashed with the error: Caused by: java.lang.NullPointerException: Item id not set 5. Using the stack trace, I determined that the Exception was being thrown from the net.minecraft.world.item.Item.Properties class 6. It seems that there are no javadocs for this class, so I used IntelliJ which was able to provide a decompiled version of the class, which I then examined to see the source of the error. Side question: Are there javadocs? 7. This method, specifically, was the culprit: protected String effectiveDescriptionId() {      return this.descriptionId.get(Objects.requireNonNull(this.id, "Item id not set"));  } 8. Now my quest was to determine how to set this.id. Looking at the same source file, I determined there was another method:  public Item.Properties setId(ResourceKey<Item> pId) {             this.id = pId;             return this;   } 9. So now, I need to figure out how to call setId(). This required working backwards a bit. Starting from the constructor, I stubbed out the variable p which is of type Item.Properties public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); Rather than putting this all on one line, I split it up for readability like this: private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); Here is was the missing function, setId(), which takes a type of ResourceKey<Item>. My next problem is that due to the apparent lack of documentation (I tried searching the docs on this site) I could not determine the full import path to ResourceKey. I did some random searching on the Internet and stumbled across a Github repository which gave two clues: import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; Then I created the rk variable like this: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); And now putting it all together in order: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); This compiled and the mod no longer crashes. I still have more to do on it, but hopefully this will save someone hours. I welcome any feedback and if I missed some obvious modding resource or tutorial that has this information. If not, I might suggest we add it somewhere for people trying to write a mod that doesn't crash. Thank you !!!  
    • I will keep adding to this thread with more information in case anyone can help, or at the very least I can keep my troubleshooting organized. I decided to downgrade to 54.1.0 in the hopes that this would fix the issue but it didn't. At least now I am on a "recommended" version. The crash report did confirm my earlier post that the Exception is coming from effectiveDescriptionId(). I'll continue to see if I can find a way to set the ID manually.   Caused by: java.lang.NullPointerException: Item id not set         at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item$Properties.effectiveDescriptionId(Item.java:465) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item.<init>(Item.java:111) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ShotgunItem.<init>(ShotgunItem.java:19) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ModItems.lambda$static$0(ModItems.java:15) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.lambda$handleEvent      
    • It just randomly stop working after a rebooted my dedicated server PLEASE HELP!   com.google.gson   Failed to start the minecraft server com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $  
  • Topics

×
×
  • Create New...

Important Information

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