Jump to content

Recommended Posts

Posted

---- Minecraft Crash Report ----

// This doesn't make any sense!

 

Time: 10/13/13 4:32 AM

Description: Exception in server tick loop

 

java.lang.IllegalAccessError: tried to access method net.minecraft.server.management.PlayerManager.func_72690_a(IIZ)Lnet/minecraft/server/management/PlayerInstance; from class codechicken.chunkloader.ChunkLoaderManager

at codechicken.chunkloader.ChunkLoaderManager.cleanChunks(ChunkLoaderManager.java:835)

at codechicken.chunkloader.ChunkLoaderManager.tickEnd(ChunkLoaderManager.java:860)

at codechicken.chunkloader.ChunkLoaderEventHandler.tickEnd(ChunkLoaderEventHandler.java:39)

at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34)

at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141)

at cpw.mods.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:282)

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

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

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:175)

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

at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

 

 

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

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

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 8 (amd64) version 6.2

Java Version: 1.7.0_40, Oracle Corporation

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

Memory: 451372296 bytes (430 MB) / 1245184000 bytes (1187 MB) up to 2863661056 bytes (2731 MB)

JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G

AABB Pool Size: 13197 (739032 bytes; 0 MB) allocated, 8056 (451136 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 6, tallocated: 62

FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 Optifine OptiFine_1.6.4_HD_U_C5 41 mods loaded, 41 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{6.4.20.916} [Forge Mod Loader] (minecraftforge-9.11.1.916.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{9.11.1.916} [Minecraft Forge] (minecraftforge-9.11.1.916.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

AppliedEnergistics-Core{rv13.c} [AppliedEnergistics Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

CodeChickenCore{0.9.0.6} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

shadersmod{2.0.1 beta 17} [GLSL Shaders Mod] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

NotEnoughItems{1.6.1.5} [Not Enough Items] (Not-Enough-Items-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

PowerCrystalsCore{1.1.8} [PowerCrystals Core] (PowerCrystalsCore-1.1.8-7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct-Preloader{0.0.1} [Tinkers Corestruct] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

IC2{2.0.258-experimental} [industrialCraft 2] (industrialcraft-2_2.0.258-experimental.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ImmibisCore{57.0.0} [immibis Core] (immibis-core-57.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

AdvancedRepulsionSystems{57.0.0} [Advanced Repulsion Systems] (adv-repulsion-systems-57.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

AdvancedMachines{5.2.3} [iC2 Advanced Machines Addon] (Advanced-Machines-Addon-1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

AppliedEnergistics{rv13.c} [Applied Energistics] (appeng-rv13-c-mc162.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Core{4.1.0} [buildCraft] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Builders{4.1.0} [bC Builders] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Energy{4.1.0} [bC Energy] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Factory{4.1.0} [bC Factory] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Transport{4.1.0} [bC Transport] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BuildCraft|Silicon{4.1.0} [bC Silicon] (BuildCraft-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ChickenChunks{1.3.3.3} [ChickenChunks] (ChickenChunks 1.3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

CompactSolars{4.4.19.195} [Compact Solar Arrays] (compactsolars-universal-1.6.4-4.4.19.195.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

EnderStorage{1.4.3.4} [EnderStorage] (EnderStorage 1.4.3.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Thaumcraft{4.0.1b} [Thaumcraft] (Thaumcraft4.0.1b.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

DartCraft{Beta 0.2.09} [DartCraft] (DartCraft Beta 0.2.09.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

eplus{1.16.5b} [Enchanting Plus] (Enchanting-Plus-Mod-1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ExtrabiomesXL{3.14.2} [ExtrabiomesXL] (ExtrabiomesXL-universal-1.6.4-3.14.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

iChunUtil{2.0.0} [iChunUtil] (iChunUtil2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

GraviGun{2.0.0} [GraviGun] (Gravity-Gun-Mod-1.6.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

IronChest{5.4.1.620} [iron Chest] (ironchest-universal-1.6.4-5.4.1.620.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

LiquidXP{57.0.0} [Liquid XP] (liquid-xp-57.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

NEIPlugins{1.1.0.2} [NEI Plugins] (NEIPlugins-1.1.0.2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

NetherOres{1.6.2R2.2.0} [Nether Ores] (NetherOres-2.2.0-6.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

PortalGun{2.0.0} [PortalGun] (PortalGun2.0.0.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

RedLogic{57.0.0} [RedLogic] (redlogic-57.0.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct{1.6.X_1.5.0d} [Tinkers' Construct] (TConstruct_1.6.4_1.5.0d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct|CompatAE{0.0.1} [TConstruct Compat: AE] (TConstruct_1.6.4_1.5.0d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct|ForgeMuliPart{0.1} [TConstruct Compat: FMP] (TConstruct_1.6.4_1.5.0d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

TConstruct|CompatWaila{0.0.1} [TConstruct Compat: Waila] (TConstruct_1.6.4_1.5.0d2.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

ThaumicTinkerer{2.0} [Thaumic Tinkerer] (Thaumic-Tinkerer-Mod-1.6.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

mod_ZanMinimap{0.9.4} [Zan's Minimap] (Zans-Minimap-Mod-Forge-1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 2241 (125496 bytes; 0 MB) allocated, 1551 (86856 bytes; 0 MB) used

Player Count: 1 / 8; [EntityPlayerMP['ranson42'/807, l='New World', x=-57.08, y=123.78, z=-106.69]]

Type: Integrated Server (map_client.txt)

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

 

help plz

Posted

Resolved with latest Forge

 

 

I'm also getting this error, I verified all my code. Issue is the crash report doesn't show any error line that's in my code but lists all main code so I can't figure out where I may have something off. I just dl the latest forge and will try that.

 

Time: 10/11/13 5:29 PM

Description: Exception in server tick loop

 

java.lang.NullPointerException

at net.minecraft.world.World.getBlockMaterial(World.java:598)

at net.minecraft.world.gen.feature.WorldGenLakes.generate(WorldGenLakes.java:82)

at net.minecraft.world.gen.ChunkProviderGenerate.populate(ChunkProviderGenerate.java:548)

at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:258)

at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1253)

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

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:294)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:90)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:107)

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

at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

 

 

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

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

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_40, Oracle Corporation

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

Memory: 930664952 bytes (887 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

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

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v8.11 FML v6.4.20.910 Minecraft Forge 9.11.0.910 5 mods loaded, 5 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

FML{6.4.20.910} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Forge{9.11.0.910} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

lordrhys_mod{1.0} [LordRhys Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

RedstoneTutorial{v1.0.0} [Redstone Tutorial] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Profiler Position: N/A (disabled)

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

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

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

  • 4 months later...
Posted

THIS KEEPS HAPPENING WHEN I GO ON ANY PIXELMON SERVER IT WORKS ON SINGLE PLAYER BUT NOT MULTIPLAYER, I TRIED TO DELETE IT AND INSTALL IT AGAIN IT JUST WONT WORK...... i have no idea how to fix any crashes....:(

 

 

---- Minecraft Crash Report ----

// Ouch. That hurt :(

 

Time: 3/1/14 5:36 PM

Description: Exception in world tick

 

java.lang.NullPointerException

at net.minecraft.client.multiplayer.GuiConnecting.forceTermination(GuiConnecting.java:161)

at cpw.mods.fml.client.FMLClientHandler.disconnectIDMismatch(FMLClientHandler.java:598)

at cpw.mods.fml.common.FMLCommonHandler.disconnectIDMismatch(FMLCommonHandler.java:463)

at cpw.mods.fml.common.network.ModIdMapPacket.execute(ModIdMapPacket.java:101)

at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1651)

at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)

at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:462)

at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)

at net.minecraft.client.multiplayer.WorldClient.func_72835_b(WorldClient.java:99)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1930)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)

at net.minecraft.client.main.Main.main(SourceFile:101)

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:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

 

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

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

 

-- Head --

Stacktrace:

at net.minecraft.client.multiplayer.GuiConnecting.forceTermination(GuiConnecting.java:161)

at cpw.mods.fml.client.FMLClientHandler.disconnectIDMismatch(FMLClientHandler.java:598)

at cpw.mods.fml.common.FMLCommonHandler.disconnectIDMismatch(FMLCommonHandler.java:463)

at cpw.mods.fml.common.network.ModIdMapPacket.execute(ModIdMapPacket.java:101)

at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)

at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)

at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1651)

at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)

at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:462)

at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)

 

-- Affected level --

Details:

Level name: MpServer

All players: 7 total; [EntityClientPlayerMP['ChocolateUnited'/15103, l='MpServer', x=-384.09, y=112.62, z=-35.30], EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityOtherPlayerMP['jtc2001'/15099, l='MpServer', x=-387.38, y=113.50, z=-76.44], EntityOtherPlayerMP['fernitzboy'/14987, l='MpServer', x=-388.22, y=112.00, z=-82.78], EntityOtherPlayerMP['daniyele1249'/15101, l='MpServer', x=-389.80, y=112.00, z=-80.72], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50]]

Chunk stats: MultiplayerChunkCache: 441

Level seed: 0

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

Level generator options:

Level spawn location: World: (-385,112,-82), Chunk: (at 15,7,14 in -25,-6; contains blocks -400,0,-96 to -385,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)

Level time: 100666103 game time, 1751960547 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: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 10 total; [EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityClientPlayerMP['ChocolateUnited'/15103, l='MpServer', x=-384.09, y=112.62, z=-35.30], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['fernitzboy'/14987, l='MpServer', x=-388.22, y=112.00, z=-82.78], EntityOtherPlayerMP['jtc2001'/15099, l='MpServer', x=-387.38, y=113.50, z=-76.44], EntityOtherPlayerMP['daniyele1249'/15101, l='MpServer', x=-389.80, y=112.00, z=-80.72], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50]]

Retry entities: 0 total; []

Server brand: craftbukkit

Server type: Non-integrated multiplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)

at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1943)

at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)

at net.minecraft.client.main.Main.main(SourceFile:101)

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:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

 

-- Affected level --

Details:

Level name: MpServer

All players: 7 total; [EntityClientPlayerMP['ChocolateUnited'/15103, l='MpServer', x=-384.09, y=112.62, z=-35.30], EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityOtherPlayerMP['jtc2001'/15099, l='MpServer', x=-387.38, y=113.50, z=-76.44], EntityOtherPlayerMP['fernitzboy'/14987, l='MpServer', x=-388.22, y=112.00, z=-82.78], EntityOtherPlayerMP['daniyele1249'/15101, l='MpServer', x=-389.80, y=112.00, z=-80.72], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50]]

Chunk stats: MultiplayerChunkCache: 441

Level seed: 0

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

Level generator options:

Level spawn location: World: (-385,112,-82), Chunk: (at 15,7,14 in -25,-6; contains blocks -400,0,-96 to -385,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)

Level time: 100666103 game time, 1751960547 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: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 10 total; [EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityClientPlayerMP['ChocolateUnited'/15103, l='MpServer', x=-384.09, y=112.62, z=-35.30], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['bennyletsp'/14870, l='MpServer', x=-384.63, y=112.00, z=-77.31], EntityOtherPlayerMP['Bluefire1248'/15104, l='MpServer', x=-384.50, y=112.50, z=-81.50], EntityOtherPlayerMP['fernitzboy'/14987, l='MpServer', x=-388.22, y=112.00, z=-82.78], EntityOtherPlayerMP['jtc2001'/15099, l='MpServer', x=-387.38, y=113.50, z=-76.44], EntityOtherPlayerMP['daniyele1249'/15101, l='MpServer', x=-389.80, y=112.00, z=-80.72], EntityOtherPlayerMP['mystic_banjo'/15110, l='MpServer', x=-384.50, y=112.50, z=-81.50]]

Retry entities: 0 total; []

Server brand: craftbukkit

Server type: Non-integrated multiplayer server

 

-- System Details --

Details:

Minecraft Version: 1.6.4

Operating System: Windows 8 (x86) version 6.2

Java Version: 1.7.0_51, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode, sharing), Oracle Corporation

Memory: 66613584 bytes (63 MB) / 224358400 bytes (213 MB) up to 518979584 bytes (494 MB)

JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M

AABB Pool Size: 17653 (988568 bytes; 0 MB) allocated, 43 (2408 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available

FML{6.4.49.965} [Forge Mod Loader] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available

Forge{9.11.1.965} [Minecraft Forge] (minecraftforge-9.11.1.965.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available

pixelmon{3.0.2} [Pixelmon] (Pixelmon 3.0.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available

Launched Version: 1.6.4-Forge9.11.1.965

LWJGL: 2.9.0

OpenGL: Intel® HD Graphics 4400 GL version 4.2.0 - Build 10.18.10.3345, Intel

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

Type: Client (map_client.txt)

Resource Pack: Default

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 2263 (126728 bytes; 0 MB) allocated, 21 (1176 bytes; 0 MB) used

Posted

You have missmatched ids.

Also the full log tells you more information.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

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