Jump to content

[SOLVED][1.7.2]Packet Handling problem.


brandon3055

Recommended Posts

I setup my packet handling using a setup suggested to me by jabelar in this thread http://www.minecraftforge.net/forum/index.php/topic,18804.0.html I really like this setup because its simple and easy to use but I have a problem that I just cant figure out. It works perfectly when sending packets from the server to the client but I cant get it to work the other way (sending packets from the client to the server) This is my setup.

 

Server Packet handler:

 

import java.io.IOException;

import net.minecraft.client.Minecraft;
import net.minecraft.world.World;
import tolkienaddon.Tolkienaddon;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ClientCustomPacketEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ServerCustomPacketEvent;

public class ServerPacketHandler {
protected String channelName;

@SubscribeEvent
public void onServerPacket(ServerCustomPacketEvent event) throws IOException
{
	//Debug
	World world = Minecraft.getMinecraft().theWorld;
	if (world.isRemote)
		System.out.println("Client: ServerCustomPacketEvent");
	else
		System.out.println("Server: ServerCustomPacketEvent");

	channelName = event.packet.channel();

	if (channelName == Tolkienaddon.networkChannelName) {
		PacketTolkienaddon.processPacketOnServerSide(event.packet.payload(), event.packet.getTarget());
	}
}
}

 

Client Packet handler:

 

import java.io.IOException;

import net.minecraft.client.Minecraft;
import net.minecraft.world.World;
import tolkienaddon.Tolkienaddon;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ClientCustomPacketEvent;

public class ClientPacketHandler extends ServerPacketHandler {
@SubscribeEvent
public void onClientPacket(ClientCustomPacketEvent event) throws IOException
{		
	//Debug
	World world = Minecraft.getMinecraft().theWorld;
	if (world.isRemote)
		System.out.println("Client: ClientCustomPacketEvent");
	else
		System.out.println("Server: ClientCustomPacketEvent");

	channelName = event.packet.channel();

	if (channelName == Tolkienaddon.networkChannelName) {
		PacketTolkienaddon.processPacketOnClientSide(event.packet.payload(), event.packet.getTarget());
	}
}
}

 

Packet:

 

import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufInputStream;
import io.netty.buffer.ByteBufOutputStream;
import io.netty.buffer.Unpooled;

import java.io.IOException;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.world.World;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.client.interfaces.ContainerWeatherController;
import tolkienaddon.tileentities.TileWeatherController;
import cpw.mods.fml.common.network.internal.FMLProxyPacket;
import cpw.mods.fml.relauncher.Side;

// this class is intended to be sent from server to client to keep custom entities synced
public class PacketTolkienaddon {
// define IDs for custom packet types
public final static byte packetTypeIDButton = 1;
public final static byte packetTypeIDTest = 2;

public PacketTolkienaddon() {
	// don't need anything here
}

public static FMLProxyPacket createButtonPacket(byte id, EntityPlayer player) throws IOException
{
	ByteBufOutputStream dataStream = new ByteBufOutputStream(Unpooled.buffer());
	int playerId = player.getEntityId();

	dataStream.writeByte(packetTypeIDButton);
	dataStream.writeByte(id);
	dataStream.writeInt(playerId);


	FMLProxyPacket thePacket = new FMLProxyPacket(dataStream.buffer(), Tolkienaddon.networkChannelName);

	dataStream.close();

	return thePacket;
}

public static FMLProxyPacket createTestPacket(byte id) throws IOException
{
	ByteBufOutputStream dataStream = new ByteBufOutputStream(Unpooled.buffer());
	//int playerId = player.getEntityId();

	dataStream.writeByte(packetTypeIDTest);
	dataStream.writeByte(id);
	//dataStream.writeInt(playerId);


	FMLProxyPacket thePacket = new FMLProxyPacket(dataStream.buffer(), Tolkienaddon.networkChannelName);

	dataStream.close();

	return thePacket;
}

public static void processPacketOnClientSide(ByteBuf parBB, Side parSide) throws IOException
{
	if (parSide == Side.CLIENT) {
		// DEBUG
		System.out.println("Received Packet Client Side");

		@SuppressWarnings("unused")
		World theWorld = Minecraft.getMinecraft().theWorld;
		ByteBufInputStream bbis = new ByteBufInputStream(parBB);

		// process data stream
		// first read packet type
		int packetTypeID = bbis.readByte();

		switch (packetTypeID) {
			case packetTypeIDTest: {
				byte data = bbis.readByte();

				if (!theWorld.isRemote)
					System.out.println("Server recived:" + data);
				else
					System.out.println("Client recived:" + data);

				break;
			}

		}

		// don't forget to close stream to avoid memory leak
		bbis.close();
	}
}

public static void processPacketOnServerSide(ByteBuf payload, Side parSide) throws IOException
{
	if (parSide == Side.SERVER) {
		// DEBUG
		System.out.println("Received Packet Server Side");

		World theWorld = Minecraft.getMinecraft().theWorld;
		ByteBufInputStream bbis = new ByteBufInputStream(payload);

		// process data stream
		// first read packet type
		int packetTypeID = bbis.readByte();

		switch (packetTypeID) {
			case packetTypeIDButton: {
				byte buttonId = bbis.readByte();
				int playerId = bbis.readInt();
				EntityPlayer player = (EntityPlayer) theWorld.getEntityByID(playerId); 
				Container container = player.openContainer;
				if (container != null && container instanceof ContainerWeatherController){
					TileWeatherController tileWC = ((ContainerWeatherController) container).getTileWC();
					if(!theWorld.isRemote){
						tileWC.reciveButtonEvent(buttonId);
						System.out.println("Server");
					}else
						System.out.println("Client");
				}
				break;
			}
			case packetTypeIDTest:{
				byte data = bbis.readByte();

				if (!theWorld.isRemote)
					System.out.println("Server recived:" + data);
			}
		}

		// don't forget to close stream to avoid memory leak
		bbis.close();

	}
}
}

 

Common Proxy: (this is where the Server packet handler is registered (removed unrelated code))

 

import net.minecraftforge.common.MinecraftForge;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.core.handler.packethandling.ServerPacketHandler;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;

public class CommonProxy {

public void preInit(FMLPreInitializationEvent event)
{
}

public void init(FMLInitializationEvent event)
{
	registerNetworkingChannel();
	registerServerPacketHandler();
}

public void postInit(FMLPostInitializationEvent event)
{
}

public void registerNetworkingChannel()
{
	Tolkienaddon.channel = NetworkRegistry.INSTANCE.newEventDrivenChannel(Tolkienaddon.networkChannelName);
}

public void registerServerPacketHandler()
{
	Tolkienaddon.channel.register(new ServerPacketHandler());
}
}

 

Client Proxy: (this is where the Client packet handler is registered (removed unrelated code))

 

import net.minecraftforge.client.MinecraftForgeClient;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.core.handler.packethandling.ClientPacketHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;

public class ClientProxy extends CommonProxy {

@Override
public void preInit(FMLPreInitializationEvent event)
{
	super.preInit(event);

	//Client Only
}

@Override
public void init(FMLInitializationEvent event)
{
	super.init(event);

	//Client Only
	registerClientPacketHandler();
}

@Override
public void postInit(FMLPostInitializationEvent event)
{
	super.postInit(event);

	//Client Only
}

private void registerClientPacketHandler()
{
	Tolkienaddon.channel.register(new ClientPacketHandler());
}
}

 

Test code: (I made a basic block and used its "onBlockActivated" method to test the packet handler)

 

@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float sideX, float sideY, float sideZ)
{
if (!world.isRemote && !player.isSneaking())
        	{
	try 
    	         {
		System.out.println("Sending packet from Server");
		Tolkienaddon.channel.sendToAll(PacketTolkienaddon.createTestPacket((byte)42));
	 } 
        	catch (IOException e) 
        	{
		e.printStackTrace();
	}
}

   	if (world.isRemote && player.isSneaking()) 
        {
	try 
    	        {
		System.out.println("Sending packet from Client");
		Tolkienaddon.channel.sendToServer(PacketTolkienaddon.createTestPacket((byte)42));
	} 
    	        catch (IOException e) 
    	        {
		e.printStackTrace();
	}
}

return true;
}

 

 

After a lot of debugging I think i have tracked down where things go wrong.

From what i understand the "onServerPacker" method is suposed to be called on the server side when the server receives a a packet. But unless "World world = Minecraft.getMinecraft().theWorld;" dosnt work properly in this method "onServerPacket" is being called Client side instead of server side So the packet is being sent from, received and processed all on the client side and never actually reaches the server.

 

@jabelar From what I could tell from your posts in the other thread you havent started using this system to send data to the server yet. So have you tested it it works both ways? 

I am the author of Draconic Evolution

Link to comment
Share on other sites

I use a different packet system, which seems complicated at first glance, but it's actually pretty easy to setup and use:

https://github.com/SanAndreasP/SAPManagerPack/tree/master/java/de/sanandrew/core/manpack/mod/packet

https://github.com/SanAndreasP/SAPManagerPack/blob/master/java/de/sanandrew/core/manpack/mod/ModCntManPack.java

 

You basically use the IPacket interface and implement it in your custom packet class.

The ChannelHandler is registered in the mod class and everytime you send a packet, you reference it.

 

Here's an example for this:

https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffplus/registry/ESPModRegistry.java

# line 82: instantiate the ChannelHandler (you can also do this in the preInit, it doesn't matter where, but not on init / postInit)

# line 121 - 125: register your custom packet classes (always after you've instantated the handler of course)

# line 153: initialise the channelHandler

# line 161: postInitialise the channelHandler

 

https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffplus/packet/PacketBCGUIAction.java

# example for a packet class

 

https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffplus/client/gui/BiomeChanger/GuiBiomeChangerBase.java#L46-L47

# example for sending the packet (lines are marked yellow)

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Thanks but i am already very familiar with the system i have set up now so i will wait for jabelar to reply. Buy if i cant get my current system working i will definitely look into yours.

 

Edit: I am now more confused then ever... I noticed it seemed like two packets were being received by the server packet handler (on the client side) so i disabled the server packet handler (by not registering it) but the onServerPacket method in the server packet handler is still being called its as if i have registered a second server packet handler somewhere. 

I am the author of Draconic Evolution

Link to comment
Share on other sites

ok but i still know the packet isnt getting to the server because i was originally trying to use it to send a button packet from a gui to a tile but the tile was only reviving the packet on the client side.

 

Edit: Oh i am also using Minecraft.getMinecraft().theWorld my processPacketOnServerSide method to get the player which i use to get the container which i use to get the tile...

I am the author of Draconic Evolution

Link to comment
Share on other sites

Hi brandon, sorry for the delay -- I had a crazy day yesterday.

 

As you mentioned, I've been concentrating on sending from server to client as I'm mostly using it to control entity animations based on AI states.

 

But at a glance, like what some others say above, I think you're using some methods that are not appropriate to the server side.

 

I'm pretty sure the Minecraft.getMinecraft(). type methods aren't right for the server side.  I think what you need to do is your server packet needs to have information on the player, use that on server side to to look up the player and get the world they're on, then you're off and running.

 

I'll look at it when I get home -- in a few hours.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Ok so maby it is actually working properly but im just not using it properly. The following is my code for receiving a gui button packet.

World theWorld = Minecraft.getMinecraft().theWorld;

switch (packetTypeID) {
case packetTypeIDButton: {
	byte buttonId = bbis.readByte();
	int playerId = bbis.readInt();
	EntityPlayer player = (EntityPlayer) theWorld.getEntityByID(playerId); 
	Container container = player.openContainer;
	if (container != null && container instanceof ContainerWeatherController){
		TileWeatherController tileWC = ((ContainerWeatherController) container).getTileWC();

		tileWC.reciveButtonEvent(buttonId);
	}
	break;
}	
}

(the complete code is in my original post)

so if "theWorld" only exists on the client side then the tile i eventially get from it must also only be on the client side. So how can i get the tile on the server side?

 

Edit: you just beat me! I am currently sending the entityId of the player and using theWorld.getEntityById() which obviously isnt working so how else can i do it?

 

 

 

I am the author of Draconic Evolution

Link to comment
Share on other sites

If you look closer i have the test block set up to send both ways if the player right clicks it it sends a packet from the server to the client but if the player shift-right clicks it it sends a packet from the client to the server.

 

Oh right, I didn't scroll down and only saw the one method. 

 

I would suggest that you put in a bunch more System.out.println() statements to help you follow the flow of the code.  For example, inside each if block, so you can see if it is testing true and such.

 

I also tend to keep the conditions simple at first -- do you really need to be sneaking for the packet to be sent (for test purposes)?

 

Anyway, with a bunch of println() statements you can follow every hop of the code and see where it is failing.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

The ServerCustomPacketEvent has "handler" field, which you can cast to NetHandlerPlayServer, and from it, get the player entity.

 

Yeah, perfect.

 

Brandon, events usually pass world and player to you.  Always good to check the fields and methods of the event to use them well.

 

I have been trying to figure it out GotoLink told me how to get the player from the event but how can i get the world? it may come in handy.

 

Edit: I think i figured it out you have to get the player from the event then get the world from the player

 

World world = ((NetHandlerPlayServer) event.handler).playerEntity.worldObj;

 

I am the author of Draconic Evolution

Link to comment
Share on other sites

I just run into one more problem... I just tested it in multiplayer and... It dosnt work I havent done any debugging yet but any idea why it isnt working in multiplayer?

 

Edit: More specifically packets sent from the client to the server don't seem to get through and sending packets from the server to the client crashes the server.

 

"ava.lang.NoClassDefFoundError:" @ Tolkienaddon.channel.sendToAll(PacketTolkienaddon.createTestPacket((byte)42));

 

Full crash log

 

 

---- Minecraft Crash Report ----

// Don't be sad, have a hug! <3

 

Time: 7/05/14 8:40 AM

Description: Exception in server tick loop

 

java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient

at tolkienaddon.blocks.TestBlock.onBlockActivated(TestBlock.java:41)

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:405)

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74)

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122)

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232)

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716)

at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:341)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604)

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

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

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 12 more

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174)

... 14 more

 

 

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

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

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_51, Oracle Corporation

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

Memory: 1954278872 bytes (1863 MB) / 2058878976 bytes (1963 MB) up to 2058878976 bytes (1963 MB)

JVM Flags: 3 total; -Xms2048m -Xmx2048m -XX:PermSize=256m

AABB Pool Size: 5312 (297472 bytes; 0 MB) allocated, 5141 (287896 bytes; 0 MB) used

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

FML: MCP v9.01-pre FML v7.2.156.1061 Minecraft Forge 10.12.1.1061 4 mods loaded, 4 mods active

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

FML{7.2.156.1061} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1061.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.12.1.1061} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1061.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

tolkienaddon{0.8alpha} [Tolkiencraft Addon] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 1562 (87472 bytes; 0 MB) allocated, 1533 (85848 bytes; 0 MB) used

Player Count: 1 / 20; [EntityPlayerMP['brandon3055'/387, l='world', x=216.74, y=63.00, z=227.08]]

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

Type: Dedicated Server (map_server.txt)

 

 

I am the author of Draconic Evolution

Link to comment
Share on other sites

After learning how to run two separate consoles in eclipse and a lot more debugging i think i am getting closer to figuring out the problem.

 

First off there was a problem with the server packet handler that was preventing the packets from being read

I had to change

if (channelName == Tolkienaddon.networkChannelName)

to

if (channelName.equals(Tolkienaddon.networkChannelName))

The client packet handler was the same but for some reason it wasnt causing any problems (packets where getting through)

 

And that's where the problem is. When the server tries to ether read or send a packet it crashes.

Logs:

Sending from client to server:

#####Client#####

[DEBUG]TestBlock: Send packet from Client

[DEBUG]PacketTolkienaddon: createTestPacket

 

#####Server#####

[DEBUG]ServerPacketHandler: onServerPacket channel = tolkienaddon Looking for: tolkienaddon

[DEBUG]ServerPacketHandler: Channel Name is correct

[03:37:38] [server thread/ERROR] [FML]: NetworkEventFiringHandler exception

 

rest of crash log:

 

 

java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient

at tolkienaddon.core.handler.packethandling.ServerPacketHandler.onServerPacket(ServerPacketHandler.java:23) ~[serverPacketHandler.class:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler_4_ServerPacketHandler_onServerPacket_ServerCustomPacketEvent.invoke(.dynamic) ~[?:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) ~[ASMEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) ~[EventBus.class:?]

at cpw.mods.fml.common.network.FMLEventChannel.fireRead(FMLEventChannel.java:103) ~[FMLEventChannel.class:?]

at cpw.mods.fml.common.network.NetworkEventFiringHandler.channelRead0(NetworkEventFiringHandler.java:30) ~[NetworkEventFiringHandler.class:?]

at cpw.mods.fml.common.network.NetworkEventFiringHandler.channelRead0(NetworkEventFiringHandler.java:18) ~[NetworkEventFiringHandler.class:?]

at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[simpleChannelInboundHandler.class:?]

at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]

at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]

at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]

at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:80) [FMLProxyPacket.class:?]

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232) [NetworkManager.class:?]

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:341) [DedicatedServer.class:?]

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604) [MinecraftServer.class:?]

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

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

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 20 more

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.2-10.12.1.1061.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 20 more

[03:37:38] [server thread/ERROR] [FML]: There was a critical exception handling a packet on channel tolkienaddon

java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient

at tolkienaddon.core.handler.packethandling.ServerPacketHandler.onServerPacket(ServerPacketHandler.java:23) ~[serverPacketHandler.class:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler_4_ServerPacketHandler_onServerPacket_ServerCustomPacketEvent.invoke(.dynamic) ~[?:?]

at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51) ~[ASMEventHandler.class:?]

at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122) ~[EventBus.class:?]

at cpw.mods.fml.common.network.FMLEventChannel.fireRead(FMLEventChannel.java:103) ~[FMLEventChannel.class:?]

at cpw.mods.fml.common.network.NetworkEventFiringHandler.channelRead0(NetworkEventFiringHandler.java:30) ~[NetworkEventFiringHandler.class:?]

at cpw.mods.fml.common.network.NetworkEventFiringHandler.channelRead0(NetworkEventFiringHandler.java:18) ~[NetworkEventFiringHandler.class:?]

at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[simpleChannelInboundHandler.class:?]

at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]

at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]

at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]

at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:80) [FMLProxyPacket.class:?]

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232) [NetworkManager.class:?]

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716) [MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:341) [DedicatedServer.class:?]

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604) [MinecraftServer.class:?]

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

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

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 20 more

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.2-10.12.1.1061.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 20 more

 

 

It crashed at PacketTolkienaddon.processPacketOnServerSide(event, event.packet.payload(), event.packet.getTarget());

 

Sending from server to client:

#####Server#####

[DEBUG]TestBlock: Send packet from Server

[03:48:14] [server thread/ERROR]: Encountered an unexpected exception

 

rest of the crash log:

 

 

java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient

at tolkienaddon.blocks.TestBlock.onBlockActivated(TestBlock.java:39) ~[TestBlock.class:?]

at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:405) ~[itemInWorldManager.class:?]

at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588) ~[NetHandlerPlayServer.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) ~[C08PacketPlayerBlockPlacement.class:?]

at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) ~[C08PacketPlayerBlockPlacement.class:?]

at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232) ~[NetworkManager.class:?]

at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:716) ~[MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:341) ~[DedicatedServer.class:?]

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:604) ~[MinecraftServer.class:?]

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

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

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 12 more

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.2-10.12.1.1061.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:276) ~[launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:174) ~[launchwrapper-1.9.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]

... 12 more

 

 

it crashes at Tolkienaddon.channel.sendToAll(PacketTolkienaddon.createTestPacket((byte)42));

 

I cant figure out whats going on any ideas?

 

 

 

I am the author of Draconic Evolution

Link to comment
Share on other sites

Sorry you're having continued trouble.  Things like the .equals() versus == are often tricky to find -- I'll have to look at that closer (as you said it worked in other direction).

 

Like before, these type of issues are often very specific to the actual code.  Do you mind reposting your current code, especially for the handlers and for the packet class?

 

Actually the second crash seems to be related to the world object used in your test block's onBlockActivated() mehtod.  Can you post code for that block or at least that method?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Common proxy:

 

import net.minecraftforge.common.MinecraftForge;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.blocks.ModBlocks;
import tolkienaddon.client.interfaces.GuiHandler;
import tolkienaddon.core.handler.CraftingHandler;
import tolkienaddon.core.handler.FMLEventHandler;
import tolkienaddon.core.handler.ModEventHandler;
import tolkienaddon.core.handler.packethandling.ServerPacketHandler;
import tolkienaddon.items.ModItems;
import tolkienaddon.tileentities.TileSunDial;
import tolkienaddon.tileentities.TileWeatherController;
import tolkienaddon.world.TolkienWorldGenerator;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;

public class CommonProxy {
private final static boolean debug = Tolkienaddon.debug;

public void preInit(FMLPreInitializationEvent event)
{
	ModBlocks.init();
	ModItems.init();
	GameRegistry.registerWorldGenerator(new TolkienWorldGenerator(), 1);
	registerTileEntities();
}

public void init(FMLInitializationEvent event)
{
	CraftingHandler.init();
	registerEventListeners();
	registerNetworkingChannel();
	registerGuiHandeler();
	registerWorldGen();

	registerServerPacketHandler();
}

public void postInit(FMLPostInitializationEvent event)
{

}

public void registerTileEntities()
{
	GameRegistry.registerTileEntity(TileWeatherController.class, "TileWeatherController");
	GameRegistry.registerTileEntity(TileSunDial.class, "TileSunDial");
}

public void registerEventListeners()
{
	MinecraftForge.EVENT_BUS.register(new ModEventHandler());
	FMLCommonHandler.instance().bus().register(new FMLEventHandler());
}

public void registerNetworkingChannel()
{
	Tolkienaddon.channel = NetworkRegistry.INSTANCE.newEventDrivenChannel(Tolkienaddon.networkChannelName);
}

public void registerServerPacketHandler()
{
	if(debug)
		System.out.println("[DEBUG]CommonProxy: registerServerPacketHandler");
	Tolkienaddon.channel.register(new ServerPacketHandler());
}

public void registerGuiHandeler()
{
	new GuiHandler();
}

public void registerWorldGen()
{
	GameRegistry.registerWorldGenerator(new TolkienWorldGenerator(), 1);
}
}

 

Client proxy:

 

import net.minecraftforge.client.MinecraftForgeClient;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.client.render.BowRenderer;
import tolkienaddon.core.handler.packethandling.ClientPacketHandler;
import tolkienaddon.items.ModItems;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;

public class ClientProxy extends CommonProxy {
private final static boolean debug = Tolkienaddon.debug;

@Override
public void preInit(FMLPreInitializationEvent event)
{
	System.out.println("on Client side");
	super.preInit(event);

	//Client Only
	registerRendering();
}

@Override
public void init(FMLInitializationEvent event)
{
	System.out.println("on Client side");
	super.init(event);

	//Client Only
	registerClientPacketHandler();
}

@Override
public void postInit(FMLPostInitializationEvent event)
{
	System.out.println("on Client side");
	super.postInit(event);

	//Client Only
}

public void registerRendering()
{
	MinecraftForgeClient.registerItemRenderer(ModItems.wyvernBow, new BowRenderer());
	MinecraftForgeClient.registerItemRenderer(ModItems.draconicBow, new BowRenderer());
}

private void registerClientPacketHandler()
{
	if(debug)
		System.out.println("[DEBUG]ClientProxy: registerClientPacketHandler");
	Tolkienaddon.channel.register(new ClientPacketHandler());
}

}

 

Server packet handler:

 

import java.io.IOException;

import tolkienaddon.Tolkienaddon;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ServerCustomPacketEvent;

public class ServerPacketHandler {
protected String channelName;
private final static boolean debug = Tolkienaddon.debug;

@SubscribeEvent
public void onServerPacket(ServerCustomPacketEvent event) throws IOException
{   
	channelName = event.packet.channel();
	if(debug)
		System.out.println("[DEBUG]ServerPacketHandler: onServerPacket channel = " + channelName + " Looking for: " + Tolkienaddon.networkChannelName);

	if (channelName.equals(Tolkienaddon.networkChannelName)) {
		if(debug)
			System.out.println("[DEBUG]ServerPacketHandler: Channel Name is correct");
		PacketTolkienaddon.processPacketOnServerSide(event, event.packet.payload(), event.packet.getTarget());
	}else
		if(debug)
			System.out.println("[DEBUG]ClientPacketHandler: Channel Name is incorrect");
}

}

 

Client packet handler:

 

import java.io.IOException;

import tolkienaddon.Tolkienaddon;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.FMLNetworkEvent.ClientCustomPacketEvent;

public class ClientPacketHandler extends ServerPacketHandler {
private final static boolean debug = Tolkienaddon.debug;

@SubscribeEvent
public void onClientPacket(ClientCustomPacketEvent event) throws IOException
{ 
	channelName = event.packet.channel();
	if(debug)
		System.out.println("[DEBUG]ClientPacketHandler: onClientPacket Channel = " + channelName + " Looking for: " + Tolkienaddon.networkChannelName);

	if (channelName.equals(Tolkienaddon.networkChannelName)) {
		if(debug)
			System.out.println("[DEBUG]ClientPacketHandler: Channel Name is correct");
		PacketTolkienaddon.processPacketOnClientSide(event.packet.payload(), event.packet.getTarget());
	}else
		if(debug)
			System.out.println("[DEBUG]ClientPacketHandler: Channel Name is incorrect");

}
}

 

Packet:

 

import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufInputStream;
import io.netty.buffer.ByteBufOutputStream;
import io.netty.buffer.Unpooled;

import java.io.IOException;

import net.minecraft.client.Minecraft;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.network.NetHandlerPlayServer;
import net.minecraft.world.World;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.client.interfaces.ContainerWeatherController;
import tolkienaddon.tileentities.TileWeatherController;
import cpw.mods.fml.common.network.FMLNetworkEvent.ServerCustomPacketEvent;
import cpw.mods.fml.common.network.internal.FMLProxyPacket;
import cpw.mods.fml.relauncher.Side;

// this class is intended to be sent from server to client to keep custom entities synced
public class PacketTolkienaddon {
private final static boolean debug = Tolkienaddon.debug;
// define IDs for custom packet types
public final static byte packetTypeIDButton = 1;
public final static byte packetTypeIDTest = 2;

public PacketTolkienaddon() {
	// don't need anything here
}

public static FMLProxyPacket createButtonPacket(byte id, EntityPlayer player) throws IOException
{
	if(debug)
		System.out.println("[DEBUG]PacketTolkienaddon: createButtonPacket");

	ByteBufOutputStream dataStream = new ByteBufOutputStream(Unpooled.buffer());
	int playerId = player.getEntityId();

	dataStream.writeByte(packetTypeIDButton);
	dataStream.writeByte(id);
	dataStream.writeInt(playerId);

	FMLProxyPacket thePacket = new FMLProxyPacket(dataStream.buffer(), Tolkienaddon.networkChannelName);

	dataStream.close();

	return thePacket;
}

public static FMLProxyPacket createTestPacket(byte id) throws IOException
{
	if(debug)
		System.out.println("[DEBUG]PacketTolkienaddon: createTestPacket");

	ByteBufOutputStream dataStream = new ByteBufOutputStream(Unpooled.buffer());
	//int playerId = player.getEntityId();

	dataStream.writeByte(packetTypeIDTest);
	dataStream.writeByte(id);
	//dataStream.writeInt(playerId);


	FMLProxyPacket thePacket = new FMLProxyPacket(dataStream.buffer(), Tolkienaddon.networkChannelName);

	dataStream.close();

	return thePacket;
}

public static void processPacketOnClientSide(ByteBuf parBB, Side parSide) throws IOException
{
	if (parSide == Side.CLIENT) {
		if(debug)
			System.out.println("[DEBUG]PacketTolkienaddon: processPacketOnClientSide");

		World theWorld = Minecraft.getMinecraft().theWorld;
		ByteBufInputStream bbis = new ByteBufInputStream(parBB);

		// process data stream
		// first read packet type
		int packetTypeID = bbis.readByte();

		switch (packetTypeID) {
			case packetTypeIDTest: {
				if(debug)
					System.out.println("[DEBUG]PacketTolkienaddon: processPacketOnClientSide+packetTypeIDButton");

				byte data = bbis.readByte();

				if (!theWorld.isRemote)
					System.out.println("[DEBUG]PacketTolkienaddon: Server recived:" + data);
				else
					System.out.println("[DEBUG]PacketTolkienaddon: Client recived:" + data);

				break;
			}
		}
		bbis.close();
	}
}

public static void processPacketOnServerSide(ServerCustomPacketEvent event, ByteBuf payload, Side parSide) throws IOException
{
	if (parSide == Side.SERVER) {
		if(debug)
			System.out.println("[DEBUG]PacketTolkienaddon: processPacketOnServerSide");

		World world = ((NetHandlerPlayServer) event.handler).playerEntity.worldObj;
		ByteBufInputStream bbis = new ByteBufInputStream(payload);

		int packetTypeID = bbis.readByte();

		switch (packetTypeID) {
			case packetTypeIDButton: {
				if(debug)
					System.out.println("[DEBUG]PacketTolkienaddon: processPacketOnServerSide+packetTypeIDButton");

				byte buttonId = bbis.readByte();

				EntityPlayer player = ((NetHandlerPlayServer) event.handler).playerEntity;
				Container container = player.openContainer;
				if (container != null && container instanceof ContainerWeatherController){
					TileWeatherController tileWC = ((ContainerWeatherController) container).getTileWC();
					tileWC.reciveButtonEvent(buttonId);
				}
				break;
			}
			case packetTypeIDTest:{
				if(debug)
					System.out.println("[DEBUG]PacketTolkienaddon: processPacketOnServerSide+packetTypeIDTest");

				byte data = bbis.readByte();

				if (!world.isRemote)
					System.out.println("[DEBUG]Server recived:" + data);
				else
					System.out.println("[DEBUG]Client: Server recived:" + data);
			}
		}
		bbis.close();

	}
}
}

 

Test block:

 

import java.io.IOException;
import java.util.Random;

import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.world.World;
import tolkienaddon.Tolkienaddon;
import tolkienaddon.core.handler.packethandling.PacketTolkienaddon;

public class TestBlock extends TolkienBlock {

protected TestBlock() {
	super(Material.circuits);
	this.setBlockName("testBlock");
	this.setCreativeTab(Tolkienaddon.getCreativeTab());
	this.setHardness(5f);
	this.setResistance(200.0f);
	ModBlocks.register(this);
}

@Override
public boolean isOpaqueCube()
{
	return false;
}

@Override
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float sideX, float sideY, float sideZ)
{
	if (!world.isRemote && !player.isSneaking())
	{
		try 
    	{
			System.out.println("[DEBUG]TestBlock: Send packet from Server");
			Tolkienaddon.channel.sendToAll(PacketTolkienaddon.createTestPacket((byte)42));
		} 
    	catch (IOException e) 
    	{
			e.printStackTrace();
		}
	}

	if (world.isRemote && player.isSneaking()) 
	{
		try 
    	{
			System.out.println("[DEBUG]TestBlock: Send packet from Client");
			Tolkienaddon.channel.sendToServer(PacketTolkienaddon.createTestPacket((byte)42));
		} 
    	catch (IOException e) 
    	{
			e.printStackTrace();
		}
	}

	return true;
}

@Override
public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_)
{
	// TODO Auto-generated method stub
	return Item.getItemFromBlock(Blocks.cobblestone);
}

}

 

 

Dose it work for you in multiplayer?

I am the author of Draconic Evolution

Link to comment
Share on other sites

I'm at work so can only look at this a little bit and don't have my Forge set up to work with.  I'll look at this more closely when I'm home tonight.

 

I'm looking at the Server to Client case first.  I think it is also interesting that the debug console crashes before it can print out the debug statement from your PacketTolkienaddon.createTestPacket() method.  Basically your onBlockActivated() method calls the method, but it never prints out "[DEBUG]PacketTolkienaddon: createTestPacket".  So the failure seems to be somewhere before the method is actually called. And the crash report indicates that it happens at the time of the call in the testBlock.

 

What happens if you send a packet to a specific player instead?  Anyway, this method is called within the try-catch so it might be interesting to understand if this is a situation where there was a catch -- put a debug println statement into the catch to see if that is the path being taken.

 

Sorry but I haven't tested the multiplayer yet, but will do so when I get home.  Sorry for you having so much trouble -- this is one reason I don't want to write a tutorial until I have it fully formed.  However, I can't see any obvious reason why the general approach shouldn't work, so let's see if it is something simple.

 

 

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

Okay, looking at the first case now, Client to Server

 

That error is a Java language error.  According to an answer at StackOverflow (http://stackoverflow.com/questions/34413/why-am-i-getting-a-noclassdeffounderror-in-java):

 

java.lang.NoClassDefFoundError

 

This exception indicates that the JVM looked in its internal class definition data structure for the definition of a class and did not find it. This is different than saying that it could not be loaded from the classpath. Usually this indicates that we previously attempted to load a class from the classpath, but it failed for some reason - now we're trying to use the class again (and thus need to load it, since it failed last time), but we're not even going to try to load it, because we failed loading it earlier (and reasonably suspect that we would fail again). The earlier failure could be a ClassNotFoundException or an ExceptionInInitializerError (indicating a failure in the static initialization block) or any number of other problems. The point is, a NoClassDefFoundError is not necessarily a classpath problem.

 

However, a lot of people suggest that it is still most likely a classpath problem.  Were you running this from within Eclipse?

 

Make sure you back up your forge folder before you screw around with fixing up the Eclipse setup. Look up "troubleshoot java NoClassDefFoundError" for some ideas.  It seems that there are ideas like cleaning the project in Eclipse, or someone mentioned the following:

 

This seems to be a common error. The solution is to:

 

right-click project

choose properties

choose 'Java Compiler'

unclick the first box saying 'Enable project specific settings'

apply

save

run

Hope this helps in some cases.

 

Some people cleared the workspace and then re-imported their project.

 

Some people recommended doing Project->Clean… in Eclipse.

 

And so on.  In any case, my point is that the error seems to be a serious Java error probably related to project setup.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

1. It I put a debug println in the catch but it wasnt called

2. I tried sending it to the player that clicked the block but it made no difference.

3. As long as we can eventually figure this out I dont mind the trouble at all I have found that in some cases you learn a lot more about how something works when it dosnt work :)

 

Can you give me an estimate as to when you will be able to help more? (when do you finish work?)

 

Edit: you beat me to the post lol

 

Edit2: I tried both in eclipse and i compiled it and tried outside eclipse

 

Edit3: I will try a couple of things and get back to you.

I am the author of Draconic Evolution

Link to comment
Share on other sites

I'm at work for another 4 hours.  But yeah, I'm willing to work through this with you.  I'll probably try to get my own multiplayer packet working independently to see if there is any difference in result.

 

Doing this kinda debug is worthwhile since it will make us better coders in the long run.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Link to comment
Share on other sites

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

    • I made server version of my modpack, deleted all clientside mods, server starts but latest.log contains many errors and i have no idea how to fix them Latest.log https://mclo.gs/jswh7LP
    • ---- Minecraft Crash Report ---- // Why did you do that? Time: 2024-09-29 13:38:10 Description: Rendering screen java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0     at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)     at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)     at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)     at java.base/java.util.Objects.checkIndex(Objects.java:385)     at java.base/java.util.ArrayList.get(ArrayList.java:427)     at net.replaceitem.symbolchat.gui.widget.DropDownWidget.method_25369(DropDownWidget.java:81)     at net.replaceitem.symbolchat.gui.widget.DropDownWidget.method_48579(DropDownWidget.java:51)     at net.minecraft.class_339.method_25394(class_339.java:66)     at net.minecraft.class_437.method_25394(class_437.java:128)     at net.minecraft.class_408.method_25394(class_408.java:200)     at net.minecraft.class_437.method_47413(class_437.java:117)     at net.minecraft.class_757.mixinextras$bridge$method_47413$257(class_757.java)     at net.minecraft.class_757.wrapOperation$bij000$fabric-screen-api-v1$onRenderScreen(class_757.java:3086)     at net.minecraft.class_757.method_3192(class_757.java:913)     at net.minecraft.class_310.method_1523(class_310.java:1285)     at net.minecraft.class_310.method_1514(class_310.java:882)     at net.minecraft.client.main.Main.main(Main.java:256)     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)     at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)     at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)     at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)     at java.base/java.util.Objects.checkIndex(Objects.java:385)     at java.base/java.util.ArrayList.get(ArrayList.java:427)     at net.replaceitem.symbolchat.gui.widget.DropDownWidget.method_25369(DropDownWidget.java:81)     at net.replaceitem.symbolchat.gui.widget.DropDownWidget.method_48579(DropDownWidget.java:51)     at net.minecraft.class_339.method_25394(class_339.java:66)     at net.minecraft.class_437.method_25394(class_437.java:128)     at net.minecraft.class_408.method_25394(class_408.java:200)     at net.minecraft.class_437.method_47413(class_437.java:117)     at net.minecraft.class_757.mixinextras$bridge$method_47413$257(class_757.java)     at net.minecraft.class_757.wrapOperation$bij000$fabric-screen-api-v1$onRenderScreen(class_757.java:3086) -- Screen render details -- Details:     Screen name: net.minecraft.class_408     Mouse location: Scaled: (213, 120). Absolute: (427.000000, 240.000000)     Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 Stacktrace:     at net.minecraft.class_757.method_3192(class_757.java:913)     at net.minecraft.class_310.method_1523(class_310.java:1285)     at net.minecraft.class_310.method_1514(class_310.java:882)     at net.minecraft.client.main.Main.main(Main.java:256)     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)     at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) -- Uptime -- Details:     JVM uptime: 52.276s     Wall uptime: 35.737s     High-res time: 684634.710s     Client ticks: 305 ticks / 15.250s Stacktrace:     at net.minecraft.class_310.method_1587(class_310.java:2501)     at net.minecraft.class_310.method_54580(class_310.java:949)     at net.minecraft.class_310.method_1514(class_310.java:902)     at net.minecraft.client.main.Main.main(Main.java:256)     at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)     at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)     at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) -- Affected level -- Details:     All players: 14 total; [class_746['Snr_Ganapi'/12586, l='ClientLevel', x=-12.50, y=-28.00, z=23.50], class_745['h33nky'/12585, l='ClientLevel', x=-12.50, y=-28.00, z=23.50], class_745['dimasik2009123'/12565, l='ClientLevel', x=-12.50, y=-28.00, z=23.50], class_745['Elik89'/12583, l='ClientLevel', x=-18.46, y=-30.00, z=12.76], class_745['1b123eb8-107a-46'/1, l='ClientLevel', x=-4.50, y=-29.00, z=-11.50], class_745['9e1895c7-120a-4d'/3, l='ClientLevel', x=-12.50, y=-29.00, z=-13.50], class_745['1c7db329-783c-4d'/4, l='ClientLevel', x=-0.50, y=-29.00, z=-9.50], class_745['b6ddb583-f492-48'/9, l='ClientLevel', x=-8.50, y=-29.00, z=-13.50], class_745['2459f82c-f115-49'/7, l='ClientLevel', x=-28.50, y=-29.00, z=-6.50], class_745['2333ac85-73e9-4e'/5, l='ClientLevel', x=-20.50, y=-29.00, z=-11.50], class_745['06fe93b3-6dd2-4c'/2, l='ClientLevel', x=-16.50, y=-29.00, z=-13.50], class_745['ac3f6659-8d12-4c'/6, l='ClientLevel', x=-24.50, y=-29.00, z=-9.50], class_745['54753c0c-908c-44'/8, l='ClientLevel', x=3.50, y=-29.00, z=-6.50], class_745['scaly_toad'/12587, l='ClientLevel', x=-12.50, y=-27.90, z=23.50]]     Chunk stats: 1024, 293 F: 0 L: 0 U: 0 C: 0     Level dimension: minecraft:overworld     Level spawn location: World: (-13,-28,23), Section: (at 3,4,7 in -1,-2,1; chunk contains blocks -16,-64,16 to -1,319,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)     Level time: 321927384 game time, 9000 day time     Server brand: SPWorlds P2: (hub-2)     Server type: Non-integrated multiplayer server     Tracked entity count: 516 -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: No     Packs: vanilla, fabric, betterf3, betterthirdperson, boatiview, bobby, c2me, caffeineconfig, capes, cardinal-components-base, cardinal-components-entity, cicada, cloth-config, dynamic_fps, ears, enhancedblockentities, entity_texture_features, entityculling, explosiveenhancement, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-language-kotlin, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, fallingleaves, forcecloseworldloadingscreen, immediatelyfast, indium, iris, lithium, modernfix, modmenu, nvidium, obsidianui, placeholder-api, plasmovoice, reeses-sodium-options, rrls, ryoamiclights, satin, showmeyourskin, skinlayers3d, sodium, sodium-extra, spark, symbol-chat, vmp, voicechat, wakes, xaerominimap, yet_another_config_lib_v3, zoomify, file/iconsv.1.8 (1).zip, file/No Pumpkin Blur 1.20-1.20.1.zip, file/Default-Dark-Mode-1.20-2023.6.0.zip, file/CalvinsSinisterSculk[1.20.4][v1.0].zip -- System Details -- Details:     Minecraft Version: 1.21     Minecraft Version ID: 1.21     Operating System: Windows 10 (amd64) version 10.0     Java Version: 21.0.3, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 225615872 bytes (215 MiB) / 1140850688 bytes (1088 MiB) up to 2147483648 bytes (2048 MiB)     CPUs: 4     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 3 4300U with Radeon Graphics              Identifier: AuthenticAMD Family 23 Model 96 Stepping 1     Microarchitecture: unknown     Frequency (GHz): 2.70     Number of physical packages: 1     Number of physical CPUs: 4     Number of logical CPUs: 4     Graphics card #0 name: AMD Radeon(TM) Graphics     Graphics card #0 vendor: Advanced Micro Devices, Inc.     Graphics card #0 VRAM (MiB): 512.00     Graphics card #0 deviceId: VideoController1     Graphics card #0 versionInfo: 31.0.12044.3     Memory slot #0 capacity (MiB): 8192.00     Memory slot #0 clockSpeed (GHz): 3.20     Memory slot #0 type: DDR4     Virtual memory max (MiB): 12942.09     Virtual memory used (MiB): 9630.07     Swap memory total (MiB): 5376.00     Swap memory used (MiB): 528.52     Space in storage for jna.tmpdir (MiB): available: 166917.31, total: 243558.98     Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 166917.31, total: 243558.98     Space in storage for io.netty.native.workdir (MiB): available: 166917.31, total: 243558.98     Space in storage for java.io.tmpdir (MiB): available: 166917.31, total: 243558.98     Space in storage for workdir (MiB): available: 166917.31, total: 243558.98     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     Fabric Mods:          badoptimizations: BadOptimizations 2.1.4         betterf3: BetterF3 11.0.1         betterthirdperson: Better Third Person 1.9.0         boatiview: Boat Item View Fabric 0.0.5         bobby: Bobby 5.2.3+mc1.21             com_typesafe_config: config 1.4.2             fabric-api-base: Fabric API Base 0.4.42+6573ed8c90             io_leangen_geantyref_geantyref: geantyref 1.3.13             org_spongepowered_configurate-core: configurate-core 4.1.2             org_spongepowered_configurate-hocon: configurate-hocon 4.1.2         c2me: Concurrent Chunk Management Engine 0.2.0+alpha.11.109+1.21             c2me-base: Concurrent Chunk Management Engine (Base) 0.2.0+alpha.11.109+1.21             c2me-client-uncapvd: Concurrent Chunk Management Engine (Client/Uncap View Distance) 0.2.0+alpha.11.109+1.21             c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.2.0+alpha.11.109+1.21             c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.2.0+alpha.11.109+1.21             c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.2.0+alpha.11.109+1.21             c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.2.0+alpha.11.109+1.21             c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.2.0+alpha.11.109+1.21             c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.2.0+alpha.11.109+1.21             c2me-opts-chunk-access: Concurrent Chunk Management Engine (Optimizations/Chunk Access) 0.2.0+alpha.11.109+1.21             c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.2.0+alpha.11.109+1.21             c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.2.0+alpha.11.109+1.21             c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.2.0+alpha.11.109+1.21             c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.2.0+alpha.11.109+1.21             c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.2.0+alpha.11.109+1.21             c2me-rewrites-chunk-serializer: Concurrent Chunk Management Engine (Rewrites/Chunk Serializer) 0.2.0+alpha.11.109+1.21             c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.2.0+alpha.11.109+1.21             c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.2.0+alpha.11.109+1.21             c2me-threading-chunkio: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.109+1.21             c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.2.0+alpha.11.109+1.21             c2me-threading-worldgen: Concurrent Chunk Management Engine (Threading/WorldGen) 0.2.0+alpha.11.109+1.21             com_electronwill_night-config_core: core 3.6.5             com_electronwill_night-config_toml: toml 3.6.5             com_ibm_async_asyncutil: asyncutil 0.1.0             net_objecthunter_exp4j: exp4j 0.4.8             org_threadly_threadly: threadly 7.0         capes: Capes 1.5.4+1.21         cicada: CICADA 0.8.3+1.21-and-above         cloth-config: Cloth Config v15 15.0.128             cloth-basic-math: cloth-basic-math 0.6.1         clumps: Clumps 18.0.0.2         dynamic_fps: Dynamic FPS 3.6.3             net_lostluma_battery: battery 1.1.0         ears: Ears 1.4.6         enhancedblockentities: Enhanced Block Entities 0.10.1+1.21         entity_texture_features: Entity Texture Features 6.1.3             org_apache_httpcomponents_httpmime: httpmime 4.5.10         entityculling: EntityCulling 1.6.6         explosiveenhancement: Explosive Enhancement 1.2.3-1.21.0         fabric-api: Fabric API 0.102.0+1.21             fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.68+b5597344d1             fabric-biome-api-v1: Fabric Biome API (v1) 13.0.29+5bd9f1bcd1             fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1             fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1             fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a7d1             fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8cd1             fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1             fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1             fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1             fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.16+b5597344d1             fabric-convention-tags-v1: Fabric Convention Tags 2.0.19+7f945d5bd1             fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.5.0+c5e2b5c6d1             fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1             fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.27+6a6dfa19d1             fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.16+16c4ae25d1             fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1             fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1             fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.12+ba9dae06d1             fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd9d1             fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1             fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.4+78017270d1             fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a7d1             fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b3d1             fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.12+6c1df360d1             fabric-loot-api-v2: Fabric Loot API (v2) 3.0.14+3f89f5a5d1             fabric-loot-api-v3: Fabric Loot API (v3) 1.0.2+3f89f5a5d1             fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1             fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6bd1             fabric-networking-api-v1: Fabric Networking API (v1) 4.2.2+60c3209bd1             fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.2.0+a551f7a4d1             fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1             fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.12+65089712d1             fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.1.2+60c3209bd1             fabric-renderer-api-v1: Fabric Renderer API (v1) 3.4.0+c705a49cd1             fabric-renderer-indigo: Fabric Renderer - Indigo 1.7.0+c705a49cd1             fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.68+df3654b3d1             fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1             fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1             fabric-rendering-v0: Fabric Rendering (v0) 1.1.71+df3654b3d1             fabric-rendering-v1: Fabric Rendering (v1) 5.0.5+df16efd0d1             fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.3.0+8dc279b1d1             fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.0+56599129d1             fabric-screen-api-v1: Fabric Screen API (v1) 2.0.24+b5597344d1             fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.86+b5597344d1             fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8cd1             fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.16+3dccd343d1             fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.1.0+176f9036d1         fabric-language-kotlin: Fabric Language Kotlin 1.12.0+kotlin.2.0.10             org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.0.10             org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.0.10             org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.0.10             org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.0.10             org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.25.0             org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.8.1             org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.8.1             org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.6.0             org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm: kotlinx-io-bytestring-jvm 0.5.1             org_jetbrains_kotlinx_kotlinx-io-core-jvm: kotlinx-io-core-jvm 0.5.1             org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.7.1             org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.7.1             org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.7.1         fabricloader: Fabric Loader 0.16.5             mixinextras: MixinExtras 0.4.1         fallingleaves: Falling Leaves 1.16.2         ferritecore: FerriteCore 7.0.0         forcecloseworldloadingscreen: kennytv's epic force close loading screen mod for Fabric 2.2.2         immediatelyfast: ImmediatelyFast 1.2.20+1.21.1             net_lenni0451_reflect: Reflect 1.3.4         indium: Indium 1.0.34+mc1.21         iris: Iris 1.7.3+mc1.21             io_github_douira_glsl-transformer: glsl-transformer 2.0.1             org_anarres_jcpp: jcpp 1.4.14             org_antlr_antlr4-runtime: antlr4-runtime 4.13.1         java: OpenJDK 64-Bit Server VM 21         ksyxis: Ksyxis 1.3.2         lithium: Lithium 0.12.7         minecraft: Minecraft 1.21         modernfix: ModernFix 5.19.1+mc1.21         modmenu: Mod Menu 11.0.1         nvidium: Nvidium 0.2.9-beta         obsidianui: ObsidianUI 0.2.7+mc1.21         placeholder-api: Placeholder API 2.4.1+1.21         plasmovoice: Plasmo Voice 2.0.10             aopalliance_aopalliance: aopalliance 1.0             com_google_inject_guice: guice 5.0.1             javax_inject_javax_inject: javax.inject 1         reeses-sodium-options: Reese's Sodium Options 1.7.3+mc1.21         rrls: Remove Reloading Screen 5.0.7+mc1.21-fabric         ryoamiclights: RyoamicLights 0.2.9+mc1.21         showmeyourskin: Show Me Your Skin! 1.11.3+1.21             cardinal-components-base: Cardinal Components API (base) 6.1.0             cardinal-components-entity: Cardinal Components API (entities) 6.1.0         skinlayers3d: 3d-Skin-Layers 1.6.7         sodium: Sodium 0.5.11+mc1.21         sodium-extra: Sodium Extra 0.5.7+mc1.21             caffeineconfig: CaffeineConfig 1.3.0+1.17         spark: spark 1.10.73             fabric-permissions-api-v0: fabric-permissions-api 0.3.1         symbol-chat: Symbol Chat 1.21-1.2.7         vmp: Very Many Players 0.2.0+beta.7.163+1.21         voicechat: Simple Voice Chat 1.21.1-2.5.22         wakes: Wakes 0.3.0+1.21.1             blue_endless_jankson: jankson 1.2.2             com_github_jdiemke_delaunay-triangulator_delaunaytriangulator: DelaunayTriangulator 1.0.0             satin: Satin 2.0.0         xaerominimap: Xaero's Minimap 24.4.0         yet_another_config_lib_v3: YetAnotherConfigLib 3.5.0+1.21-fabric             com_twelvemonkeys_common_common-image: common-image 3.10.0             com_twelvemonkeys_common_common-io: common-io 3.10.0             com_twelvemonkeys_common_common-lang: common-lang 3.10.0             com_twelvemonkeys_imageio_imageio-core: imageio-core 3.10.0             com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.10.0             com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.10.0             org_quiltmc_parsers_gson: gson 0.2.1             org_quiltmc_parsers_json: json 0.2.1         zoomify: Zoomify 2.14.0+1.21             com_akuleshov7_ktoml-core-jvm: ktoml-core-jvm 0.5.1     Loaded Shaderpack: (off)     Launched Version: fabric-loader-0.16.5-1.21     Launcher name: minecraft-launcher     Backend library: LWJGL version 3.3.3-snapshot     Backend API: AMD Radeon(TM) Graphics GL version 3.2.0 Core Profile Context 22.20.44.221025, ATI Technologies Inc.     Window size: 854x480     GFLW Platform: win32     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Is Modded: Definitely; Client brand changed to 'fabric'     Universe: 400921fb54442d18     Type: Client (map_client.txt)     Graphics mode: fast     Render Distance: 9/9 chunks     Resource Packs: vanilla, fabric, betterf3, betterthirdperson, boatiview (incompatible), bobby, c2me, caffeineconfig, capes, cardinal-components-base, cardinal-components-entity, cicada, cloth-config, dynamic_fps, ears, enhancedblockentities, entity_texture_features, entityculling, explosiveenhancement, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-language-kotlin, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, fallingleaves, forcecloseworldloadingscreen, immediatelyfast, indium, iris, lithium, modernfix (incompatible), modmenu, nvidium, obsidianui, placeholder-api, plasmovoice, reeses-sodium-options, rrls, ryoamiclights, satin, showmeyourskin, skinlayers3d, sodium, sodium-extra, spark (incompatible), symbol-chat, vmp, voicechat, wakes, xaerominimap (incompatible), yet_another_config_lib_v3 (incompatible), zoomify, file/iconsv.1.8 (1).zip (incompatible), file/No Pumpkin Blur 1.20-1.20.1.zip (incompatible), file/Default-Dark-Mode-1.20-2023.6.0.zip (incompatible), file/CalvinsSinisterSculk[1.20.4][v1.0].zip (incompatible)     Current Language: ru_ru     Locale: ru_RU     System encoding: Cp1251     File encoding: UTF-8     CPU: 4x AMD Ryzen 3 4300U with Radeon Graphics 
    • I have no idea - maybe a fabric mod, but just Connector is mentioned
  • Topics

×
×
  • Create New...

Important Information

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