Jump to content

[SOLVED] [1.12.2] Every 100 packets there's a memory leak, relogging doesn't sync player capabilities


FlashHUN

Recommended Posts

I'm working on a mod where I have to sync player capabilities from the server to the client and vice versa quite often, but every 100th packet sent causes a memory leak causing the client to not get the data from the server. Also when I exit a singleplayer world and enter it again (haven't tested on servers yet, it's probably the same though) the data from the server doesn't get synced with the client. What could be causing this?

Leak message:

Quote

[16:24:29] [Netty Local Client IO #1/FATAL] [FML]: Detected ongoing potential memory leak. 100 packets have leaked. Top offenders
[16:24:29] [Netty Local Client IO #1/FATAL] [FML]:      fnm : 100

PacketMana (all packets are set up this way):

import io.netty.buffer.ByteBuf;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;

public class PacketMana implements IMessage {
	EntityPlayerMP player;
    private int data;

    @Override
    public void fromBytes(ByteBuf buf) {
        IMana mana = Minecraft.getMinecraft().player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
        data = mana.setMana(buf.readInt());
    }

    @Override
    public void toBytes(ByteBuf buf) {
        IMana mana = Minecraft.getMinecraft().player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
        buf.writeInt(mana.getMana());
    }

    public PacketMana() {
        IMana mana = Minecraft.getMinecraft().player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
        data = mana.getMana();
    }
    
    public PacketMana(EntityPlayerMP player) {
    	this.player = player;
        IMana mana = player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
        data = mana.getMana();
    }

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(PacketMana message, MessageContext ctx) {
            EntityPlayerMP playerEntity = ctx.getServerHandler().player;
            playerEntity.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(message.data);
        }
    }
}

 

Events for syncing data (sync(player) is a function that sends all packets to the player):

	@SubscribeEvent
    public static void loginEvent(final PlayerLoggedInEvent event) {
    	EntityPlayerMP player = (EntityPlayerMP)event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void changeDimesionEvent(final PlayerChangedDimensionEvent event) {
    	EntityPlayerMP player = (EntityPlayerMP)event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void respawnEvent(final PlayerRespawnEvent event) {
    	EntityPlayerMP player = (EntityPlayerMP)event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    }

 

Player Clone Event:

	@SubscribeEvent
    public static void playerClone(final PlayerEvent.Clone event) {
        final IMana oldMana = getMana(event.getOriginal());
        final IMana newMana = getMana(event.getEntityPlayer());

        if (newMana != null && oldMana != null) {
            newMana.setMaxMana(oldMana.getMaxMana());
            newMana.setManaTimer(oldMana.getManaTimer());
            newMana.setMana(oldMana.getMana());
            
            newMana.setClan(oldMana.getClan());
            newMana.setLand(oldMana.getLand());
            newMana.setAffiliation(oldMana.getAffiliation());

            newMana.setGenjutsu(oldMana.getGenjutsu());
            newMana.setTaijutsu(oldMana.getTaijutsu());
            newMana.setKenjutsu(oldMana.getKenjutsu());

            newMana.setSharingan(oldMana.getSharingan());
            newMana.setSharinganSize(oldMana.getSharinganSize());
            newMana.setSharinganPattern(oldMana.getSharinganPattern());
            newMana.setSharinganActive(oldMana.getSharinganActive());
            newMana.setByakugan(oldMana.getByakugan());
            newMana.setByakuganSize(oldMana.getByakuganSize());
            newMana.setByakuganActive(oldMana.getByakuganActive());
            newMana.setKetsuryuugan(oldMana.getKetsuryuugan());
            newMana.setKetsuryuuganActive(oldMana.getKetsuryuuganActive());
            
            newMana.setCurseMark(oldMana.getCurseMark());
            newMana.setCurseMarkSize(oldMana.getCurseMarkSize());
            newMana.setCurseMarkType(oldMana.getCurseMarkType());
            newMana.setCurseMarkActive(oldMana.getCurseMarkActive());
            
            newMana.setFireRelease(oldMana.getFireRelease());
            newMana.setWindRelease(oldMana.getWindRelease());
            newMana.setWaterRelease(oldMana.getWaterRelease());
            newMana.setLightningRelease(oldMana.getLightningRelease());
            newMana.setEarthRelease(oldMana.getEarthRelease());
            newMana.setWoodRelease(oldMana.getWoodRelease());
            newMana.setYinRelease(oldMana.getYinRelease());
            newMana.setYangRelease(oldMana.getYangRelease());
            newMana.setIceRelease(oldMana.getIceRelease());

            newMana.setShikotsumyaku(oldMana.getShikotsumyaku());

        	Minecraft.getMinecraft().addScheduledTask(() -> sync((EntityPlayerMP)event.getEntityPlayer()));
        }
        System.out.println("Player Clone Event Successful");
    }

 

Edited by FlashHUN
marked as solved
Link to comment
Share on other sites

1 hour ago, diesieben07 said:

Your code shows a complete lack of understanding about sides. Read and understand the documentation.

  • Your packet needs to be sent from server to client. Not client to server.
  • Accessing the capability on the client player every time in the packet makes no sense. You need to grab the data from the server side player and send it to the client.
  • Do not send packets in PlayerEvent.Clone. 

What if I need to edit player capability data through a GUI? How would I get the server side player in a GUI and edit their server side capabilities through the GUI? Also, when I don't send packets in the PlayerEvent.Clone the capabilities don't sync between the client and server.

Link to comment
Share on other sites

6 hours ago, FlashHUN said:

What if I need to edit player capability data through a GUI? How would I get the server side player in a GUI and edit their server side capabilities through the GUI?

You don't. When the data changes on in the GUI, you send a packet from the client to the server containing the new information. The server will receive that packet and pass it to the packet handler together with the player, where you can verify if the data is correct (to prevent cheating) and set the capability data.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

11 hours ago, larsgerrits said:

You don't. When the data changes on in the GUI, you send a packet from the client to the server containing the new information. The server will receive that packet and pass it to the packet handler together with the player, where you can verify if the data is correct (to prevent cheating) and set the capability data.

Alright, I was just confused because diesieben said

19 hours ago, diesieben07 said:

Your packet needs to be sent from server to client. Not client to server

 

Anyways, I still don't know why the memory leak is happening and why the player data doesn't sync when the player relogs.

Link to comment
Share on other sites

I haven't updated anything because I don't know what to update and how. Like I said, if I don't send packets in PlayerEvent.Clone, then the stuff doesn't get synced from the server to the client when the event happens. I need to be able to access data from the client side player to be able to send it to the server from the GUI. What should I do?

Link to comment
Share on other sites

I understand what I should be doing now, I just don't know how and can't really find anything on it. Sorry for making you waste your time on me like this.

How can I get the data only from the server side player in the events?

How can I apply the data to the client player in the client proxy? Just simply send packets to them?

If I don't access the client side player in the IMessage, should I do this in the packets, or am I just a completely lost cause: (Sorry for not putting it in code blocks but it wouldn't load)

Spoiler

public class PacketMana implements IMessage {
    @SidedProxy(clientSide = References.client_proxy_class, serverSide = References.common_proxy_class)
    static CommonProxy proxy;
    static MessageContext ctx;
    static EntityPlayer player = proxy.getPlayerEntityFromContext(ctx);
    IMana mana = player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
    private int data;

 

    @Override
    public void fromBytes(ByteBuf buf) {
        data = mana.setMana(buf.readInt());
    }

 

    @Override
    public void toBytes(ByteBuf buf) {
        buf.writeInt(mana.getMana());
    }


    public PacketMana(EntityPlayerMP player) {
        this.player = player;
        data = mana.getMana();
    }

 

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

 

        private void handle(PacketMana message, MessageContext ctx) {
            EntityPlayerMP playerEntity = (EntityPlayerMP)player;
            playerEntity.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(message.data);
        }
    }
}

 

CommonProxy:

Spoiler

public class CommonProxy {

    public void registerItemRenderer(Item item, int meta, String id) {}
    
    public EntityPlayer getPlayerEntityFromContext(MessageContext ctx)
    {
        return ctx.getServerHandler().player;
    }
    
    public void handleData() {}
}

 

ClientProxy:

Spoiler

public class ClientProxy extends CommonProxy {

    public void registerItemRenderer(Item item, int meta, String id) {
        ModelLoader.setCustomModelResourceLocation(item,  meta,  new ModelResourceLocation(item.getRegistryName(), id));
    }
    
    public EntityPlayer getPlayerEntity(MessageContext ctx)
    {
        return (ctx.side.isClient() ? Minecraft.getMinecraft().player : ctx.getServerHandler().player);
    }
    
    public void handleData() {
        
    }
}

 

Link to comment
Share on other sites

Should the packet look something like this then? (I don't really know how else to do it without the @SidedProxy)

public class PacketMana implements IMessage {
	@SidedProxy(clientSide = References.client_proxy_class, serverSide = References.common_proxy_class)
	static CommonProxy proxy;
    MessageContext ctx;
    private int data;

    @Override
    public void fromBytes(ByteBuf buf) {
    	EntityPlayer player = proxy.getPlayerEntityFromContext(ctx);
        data = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(buf.readInt());
    }

    @Override
    public void toBytes(ByteBuf buf) {
    	EntityPlayer player = proxy.getPlayerEntityFromContext(ctx);
        buf.writeInt(player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana());
    }

    public PacketMana() {
    	EntityPlayer player = proxy.getPlayerEntityFromContext(ctx);
        data = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana();
    }
    
    public PacketMana(EntityPlayer player) {
        data = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana();
    }

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(PacketMana message, MessageContext ctx) {
            EntityPlayerMP playerEntity = ctx.getServerHandler().player;
            playerEntity.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(message.data);
        }
    }
}

 

I need all packets in my mod to be bi-directional.

 

Events for syncing:

    private static void sync(EntityPlayer player) {
    	player.getCapability(MANA_CAPABILITY, null);
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    }

    @SubscribeEvent
    public static void loginEvent(final PlayerLoggedInEvent event) {
    	EntityPlayer player = event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void changeDimesionEvent(final PlayerChangedDimensionEvent event) {
    	EntityPlayer player = event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void respawnEvent(final PlayerRespawnEvent event) {
    	EntityPlayer player = event.player;
    	Minecraft.getMinecraft().addScheduledTask(() -> sync(player));
    	System.out.println("Synced");
    }
    }

 

Should the handle method in my ClientProxy look like this? Or does casting EntityPlayerMP to EntityPlayer in the ClientProxy cause any problems?

    public void handleData(MessageContext ctx) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
		
		PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
	}

 

How do I pass the data from the received data from PacketHandler to the proxy?

Link to comment
Share on other sites

So, should it look something like this? (At least am I getting closer to how it should look like?)

public class PacketMana implements IMessage {
    private int data;

    public PacketMana() {}
    
    public PacketMana(EntityPlayer player) {
        data = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana();
    }
    
    @Override
    public void fromBytes(ByteBuf buf) {
    	data = buf.readInt();
    }

    @Override
    public void toBytes(ByteBuf buf) {
        buf.writeInt(data);
    }

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(PacketMana message, MessageContext ctx) {
            EntityPlayer playerEntity = ctx.getServerHandler().player;
            playerEntity.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(message.data);
        }
    }
}

Should the

EntityPlayer playerEntity = ctx.getServerHandler().player;

be something else?

 

If I do

    @SubscribeEvent
    public static void loginEvent(final PlayerLoggedInEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void changeDimesionEvent(final PlayerChangedDimensionEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void respawnEvent(final PlayerRespawnEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }

the EntityPlayer hasn't constructed yet in the PlayerLoggedInEvent since it fires a tick before that happens.

 

Should I just do

    public void handleData(MessageContext ctx) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		player.getCapability(CapabilityMana.MANA_CAPABILITY, null);
	}

in the ClientProxy?

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

Yes, except you are still using the server player in the handle method. In that method you need to actually call the method in your proxy, which needs to take the data as an argument and then apply the data to the client-side player (like you do now in handle with the server-side player).

So, then the packet should look like this?

public class PacketMana implements IMessage {
    static CommonProxy proxy;
    private int mana;

    public PacketMana() {}
    
    public PacketMana(EntityPlayer player) {
        mana = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana();
    }
    
    @Override
    public void fromBytes(ByteBuf buf) {
    	mana = buf.readInt();
    }

    @Override
    public void toBytes(ByteBuf buf) {
        buf.writeInt(mana);
    }

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(PacketMana message, MessageContext ctx) {
        	proxy.handleMana(mana);
        }
    }
}

 

The problem then is that the

proxy.handleMana(mana);

method asks for the

mana

int to be static. Is that fine?

 

handleMana() in CommonProxy:

public void handleMana(int mana) {}

 

handleMana() in ClientProxy:

    public void handleMana(int mana) {
    	EntityPlayer player = Minecraft.getMinecraft().player;
    	player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(mana);
    }

 

 

1 hour ago, diesieben07 said:
1 hour ago, FlashHUN said:

the EntityPlayer hasn't constructed yet in the PlayerLoggedInEvent since it fires a tick before that happens.

This is not true. 

Odd. When I did it that way the data didn't sync unless I did it through the scheduled task way.

Link to comment
Share on other sites

Alright, this is how it looks now:

 

PacketHandler:

public class PacketHandler 
{
	
	 private static int packetId = 0;

	    public static SimpleNetworkWrapper INSTANCE = null;

	    public PacketHandler() {
	    }

	    public static int nextID() {
	        return packetId++;
	    }

	    public static void registerMessages(String channelName) {
	        INSTANCE = NetworkRegistry.INSTANCE.newSimpleChannel(channelName);
	        registerMessages();	
	    }

	    public static void registerMessages() {
	        INSTANCE.registerMessage(PacketMana.Handler.class, PacketMana.class, nextID(), Side.SERVER);
	    }
}

 

PacketMana:

public class PacketMana implements IMessage {
	static CommonProxy proxy;
    private int mana;

    public PacketMana() {}
    
    public PacketMana(EntityPlayer player) {
        mana = player.getCapability(CapabilityMana.MANA_CAPABILITY, null).getMana();
    }
    
    @Override
    public void fromBytes(ByteBuf buf) {
    	mana = buf.readInt();
    }

    @Override
    public void toBytes(ByteBuf buf) {
        buf.writeInt(mana);
    }

    public static class Handler implements IMessageHandler<PacketMana, IMessage> {
        @Override
        public IMessage onMessage(PacketMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(PacketMana message, MessageContext ctx) {
        	proxy.handleMana(message.mana);
        }
    }
}

 

ClientProxy:

public class ClientProxy extends CommonProxy {

	public void registerItemRenderer(Item item, int meta, String id) {
		ModelLoader.setCustomModelResourceLocation(item,  meta,  new ModelResourceLocation(item.getRegistryName(), id));
	}
	
	public EntityPlayer getPlayerEntityFromContext(MessageContext ctx)
	{
		return Minecraft.getMinecraft().player;
	}
	
	public void handleMana(int mana) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(mana);
	}
}

 

CommonProxy:

public class CommonProxy {

    public void registerItemRenderer(Item item, int meta, String id) {}
	
    public EntityPlayer getPlayerEntityFromContext(MessageContext ctx)
    {
        return ctx.getServerHandler().player;
    }
	
	public void handleMana(int mana) {}
}

 

CapabilityMana:

public class CapabilityMana {
	
    @CapabilityInject(IMana.class)
    public static final Capability<IMana> MANA_CAPABILITY = null;

    public static final EnumFacing DEFAULT_FACING = null;

    public static final ResourceLocation ID = new ResourceLocation(References.mod_id, "Mana");

    public static void register(){
        CapabilityManager.INSTANCE.register(IMana.class, new Capability.IStorage<IMana>() {
            @Override
            public NBTBase writeNBT(Capability<IMana> capability, IMana instance, EnumFacing side) {
                NBTTagCompound nbt = new NBTTagCompound();
                nbt.setInteger("mana", instance.getMana());
                
                System.out.println("Writing");
                return nbt;
            }

            @Override
            public void readNBT(Capability<IMana> capability, IMana instance, EnumFacing side, NBTBase nbt) {
                instance.setMana(((NBTTagCompound) nbt).getInteger("mana"));
                
                System.out.println("Reading");
            }
        }, () -> new Mana());
    }

    @Nullable
    public static IMana getMana(final EntityLivingBase entity){
        return CapabilityUtils.getCapability(entity, MANA_CAPABILITY, DEFAULT_FACING);

    }

    public static ICapabilityProvider createProvider(final IMana mana){
        return new CapabilityProviderSerializable<>(MANA_CAPABILITY, DEFAULT_FACING, mana);
    }	

    @Mod.EventBusSubscriber(modid = References.mod_id)
    private static class EventHandler {@SubscribeEvent
    public static void attachCapabilities(final AttachCapabilitiesEvent<Entity> event) {
        if (event.getObject() instanceof EntityPlayer) {
            final Mana mana = new Mana();
            event.addCapability(ID, createProvider(mana));
        }
    }

    @SubscribeEvent
    public static void playerClone(final PlayerEvent.Clone event) {
        final IMana oldMana = getMana(event.getOriginal());
        final IMana newMana = getMana(event.getEntityPlayer());

        if (newMana != null && oldMana != null) {
            newMana.setMana(oldMana.getMana());
            System.out.println("Player Clone Event Successful");
        }
    }
    
    @SubscribeEvent
    public static void onUpdate(final PlayerTickEvent event) {
    	final IMana mana = getMana(event.player);
    	if(event.player instanceof EntityPlayerMP){
    		mana.fillMana(1);
    		PacketHandler.INSTANCE.sendTo(new PacketMana(event.player), (EntityPlayerMP)event.player);
    	}
    }
    
    @SubscribeEvent
    public static void loginEvent(final PlayerLoggedInEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void changeDimesionEvent(final PlayerChangedDimensionEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }
    
    @SubscribeEvent
    public static void respawnEvent(final PlayerRespawnEvent event) {
    	EntityPlayer player = event.player;
    	PacketHandler.INSTANCE.sendTo(new PacketMana(player), (EntityPlayerMP)player);
    	System.out.println("Synced");
    }
    }
}

 

Is there anything else I should be doing? Since the memory leak still happens.

Link to comment
Share on other sites

54 minutes ago, diesieben07 said:
1 hour ago, FlashHUN said:

INSTANCE.registerMessage(PacketMana.Handler.class, PacketMana.class, nextID(), Side.SERVER);

No. This packet is sent to the client.

So, should I change the Side.SERVER to Side.CLIENT?

55 minutes ago, diesieben07 said:
1 hour ago, FlashHUN said:

static CommonProxy proxy;

This will always be null.

How can I make that not be null? Use @SidedProxy?

55 minutes ago, diesieben07 said:
1 hour ago, FlashHUN said:

public EntityPlayer getPlayerEntityFromContext(MessageContext ctx) { return Minecraft.getMinecraft().player; }

This is not correct on the client. You have to check if you are on the integrated server or not.

That is done with world.isRemote, right?

Link to comment
Share on other sites

19 minutes ago, diesieben07 said:

Yes.

 

You could do that. Or just remove this field and use the one you likely already have in your main mod class.

 

Usually yes, but in this case you do not have a World available, just the MessageContext. The MessageContext has a field side though, which you can check.

Thank you so much for all the help! I really appreciate it. Now I finally don't have memory leaks. I have two hopefully last questions though:

 

  • Can I make the ClientProxy method handle multiple capabilities?

For example instead of

    public void handleMana(int mana) {
    	EntityPlayer player = Minecraft.getMinecraft().player;
    	player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(mana);
    }

could I make it take a String too, and depending on what that is make it handle other capabilities? Something like this:

    public void handleMana(int data, String type) {
    	EntityPlayer player = Minecraft.getMinecraft().player;
    	if (type.equals("Mana") {
    		player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(data);
    	}
    	else if (type.equals("MaxMana") {
    		player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMaxMana(data);
    	}
    }

and then in PacketMana do:

Main.proxy.handleMana(message.mana, "Mana");

and in PacketMaxMana do:

Main.proxy.handleMana(message.mana, "MaxMana");

 

 

  • If I have to send one of these packets to the server, do I have to change anything? Like I said before, most of these packets need to be bi-directional since most of them could be edited through a GUI. Do I have to just copy the
handleMana()

in the ClientProxy to the CommonProxy so the data changes on both sides, or do I have to change something in the PacketHandler aswell, or even create a new packet that handles specifically receiving packets on the server?

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

Yes, you could use a string as an identifier. But that is just... terrible.

Why is it terrible? I can see through it quite clearly that way. What would be a better way of doing it?

 

1 hour ago, diesieben07 said:

Also, if the values belong to the same capability, why not just send them in one packet?

I would have A LOT of different values. How could I make it so the packet differentiates which one I want changed?

 

1 hour ago, diesieben07 said:

The client-to-server packets mean "the player just entered this value on the GUI, do with that what you want". And then the server decides what to do with that information. Do not blindly trust the client. Assume the client is always lying. 

How could I do that? I would not like if players cheated, but how can I make the server decide what to do with said information?

Link to comment
Share on other sites

1 minute ago, diesieben07 said:

Do not let the client just send over the new value. Instead (for example) send over "player pressed button x". Then perform the action solely on the server.

If there are other restrictions, such as "must only be done every x seconds" enforce those on the server, not just the client.

So, for example, I have a GUI where a player can spend their acquired points in skills. If the player wants to do that, then when they click the button in the GUI to do so, a packet is sent where the data is that the button was pressed. Then how can I get that data from the packet, and in what type of method should I enforce the restrictions on the server?

Link to comment
Share on other sites

1 minute ago, diesieben07 said:

What data? You said it was just a button, so the fact that the packet arrives at all on the server is enough to signify that the button was pressed. If you have a text field that lets you choose how much to spend, that is what you would send in the packet. In the same way you send the mana value now.

Then on the server, in your packet handler, you can check that the player actually has enough points and if so, perform the "spend points" operation.

Then the data in the packet would equal something like GUISkillMenu.pointstospend in the constructor? How can I detect if a packet arrives on a server? Sorry for all of these stupid questions, but these anti cheating things are new to me.

Link to comment
Share on other sites

Just now, diesieben07 said:

Please, actually try and understand what these things are. You are just stabbing in the dark.

I'm trying to understand, but all of this was a bit too much information to handle at once after a tiring day for my brain.

Link to comment
Share on other sites

So, the packet that the client sends to the server should look something like this, right?

public class ClientMana implements IMessage {
    private int data;

    public ClientMana(int data) {
    	this.data = data;
    }
    
    @Override
    public void fromBytes(ByteBuf buf) {
    	data = buf.readInt();
    }

    @Override
    public void toBytes(ByteBuf buf) {
        buf.writeInt(data);
    }

    public static class Handler implements IMessageHandler<ClientMana, IMessage> {
        @Override
        public IMessage onMessage(ClientMana message, MessageContext ctx) {
            FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
            return null;
        }

        private void handle(ClientMana message, MessageContext ctx) {
        	Main.proxy.handleServerMana(message.data, 1, ctx);
        }
    }
}

 

And the data would then get handled in the CommonProxy where this happens:

public class CommonProxy {

	public void registerItemRenderer(Item item, int meta, String id) {}
	
    public EntityPlayer getPlayerEntityFromContext(MessageContext ctx)
    {
        return ctx.getServerHandler().player;
    }

	public void handleMana(int mana, int packetType) {}

	public void handleManaB(boolean mana, int packetType) {}
	
	public void handleManaD(double mana, int packetType) {}
	
	public void handleServerMana(int mana, int packetType, MessageContext ctx) {
		EntityPlayer player = ctx.getServerHandler().player;
		switch (packetType) {
			case 1: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(mana); break;
			case 2: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMaxMana(mana); break;
		}
	}
}

 

And the ClientProxy looks like this:

public class ClientProxy extends CommonProxy {

	public void registerItemRenderer(Item item, int meta, String id) {
		ModelLoader.setCustomModelResourceLocation(item,  meta,  new ModelResourceLocation(item.getRegistryName(), id));
	}
	
	public EntityPlayer getPlayerEntityFromContext(MessageContext ctx)
	{
		return ctx.side.isClient() ? Minecraft.getMinecraft().player : ctx.getServerHandler().player;
	}
	
	public void handleMana(int mana, int packetType) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		switch (packetType) {
			case 1: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMana(mana); break;
			case 2: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setMaxMana(mana); break;
			case 3: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setByakugan(mana); break;
			case 5: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setByakuganSize(mana); break;
			case 6: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setKetsuryuugan(mana); break;
			case 8: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setSharingan(mana); break;
			case 10: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setSharinganPattern(mana); break;
			case 11: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setSharinganSize(mana); break;
			case 12: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setCurseMark(mana); break;
			case 13: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setCurseMarkSize(mana); break;
			case 14: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setCurseMarkType(mana); break;
			case 15: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setShikotsumyaku(mana); break;
			case 16: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setEarthRelease(mana); break;
			case 17: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setFireRelease(mana); break;
			case 18: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setIceRelease(mana); break;
			case 19: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setLightningRelease(mana); break;
			case 20: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setWaterRelease(mana); break;
			case 21: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setWindRelease(mana); break;
			case 22: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setWoodRelease(mana); break;
			case 23: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setYangRelease(mana); break;
			case 24: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setYinRelease(mana); break;
			case 25: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setAffiliation(mana); break;
			case 26: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setClan(mana); break;
			case 27: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setLand(mana); break;
			case 28: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setGenjutsu(mana); break;
		}
	}

	public void handleManaB(boolean mana, int packetType) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		switch (packetType) {
			case 4: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setByakuganActive(mana); break;
			case 7: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setKetsuryuuganActive(mana); break;
			case 9: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setSharinganActive(mana); break;
			case 13: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setCurseMarkActive(mana); break;
		}
		
	}
	
	public void handleManaD(double mana, int packetType) {
		EntityPlayer player = Minecraft.getMinecraft().player;
		switch (packetType) {
			case 29: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setKenjutsu(mana); break;
			case 30: player.getCapability(CapabilityMana.MANA_CAPABILITY, null).setTaijutsu(mana); break;
		}
	}
}

 

Edited by FlashHUN
Link to comment
Share on other sites

1 hour ago, diesieben07 said:

This packet is the exact thing you must not do prevent cheating. A malicious client can just send over "hey, please 1,000,000 mana!" and the server will go "okay!" and apply it.

Then how else should I do it? This is a packet that would be sent when the player first starts out and picks their base stats (they can pick 2 things through a GUI and those 2 things determine what stats you get at the start), so there aren't really any restrictions. For example, depending on the clan they choose at the start they might get more mana than you'd normally start out with.

Link to comment
Share on other sites

Just now, diesieben07 said:

Send over exactly what they select in the GUI. Do they select the amount of mana? No, they select their clan. So, send over the clan and then let the server decide how much mana that clan implies.

Otherwise the client decides, which means effectively every clan gets as much mana as they want. Which is not what you want.

Ah, thank you for clearing that up.

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

    • [01:30:06] [main/INFO]: ModLauncher running: args [--username, AkadieL, --version, forge-47.2.0, --gameDir, C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized, --assetsDir, C:\Users\Administrator\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, b68ea54ae6484a0e8acb115f88c9aea5, --accessToken, ????????, --clientId, 28d704-b58c91-549ecf-a85a34-9fb39c, --xuid, 2533275030291833, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 47.2.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [01:30:06] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Eclipse Adoptium; OS Windows 10 arch amd64 version 10.0 [01:30:07] [main/INFO]: Loading ImmediateWindowProvider fmlearlywindow [01:30:07] [main/INFO]: Trying GL version 4.6 [01:30:07] [main/INFO]: Requested GL version 4.6 got version 4.6 [01:30:07] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Administrator/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [01:30:07] [pool-2-thread-1/INFO]: GL info: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 4.6.0 NVIDIA 560.94, NVIDIA Corporation [01:30:08] [main/INFO]: Found mod file AdvancementPlaques-1.20.1-forge-1.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AI-Improvements-1.20-0.5.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AirHop-v8.0.2-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file alexscaves-1.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file alexsmobs-1.22.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AmbientSounds_FORGE_v6.0.2_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AnvilNeverTooExpensive-1.20.1-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file appleskin-forge-mc1.20.1-2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Aquaculture-1.20.1-2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file aquaculture_delight_1.0.0_forge_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file aquamirae-6.API15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file astemirlib-1.20.1-1.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file AxesAreWeapons-1.7.3-forge-1.20.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file balm-forge-1.20.1-7.3.6-all.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file bellsandwhistles-0.4.3-1.20.x.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterAdvancements-1.20.1-0.3.2.161.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file betterarcheology-1.1.9-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterCompatibilityChecker-forge-4.0.8+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterPingDisplay-1.20.1-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file BetterTridents-v8.0.1-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file biomespawnpoint-1.20.1-2.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file blockui-1.20.1-1.0.156-RELEASE.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file blue_skies-1.20.1-1.3.31.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Bookshelf-Forge-1.20.1-20.2.13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file caelus-forge-3.2.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file canary-mc1.20.1-0.3.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file catalogue-forge-1.20.1-1.8.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Chimes-v2.0.1-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Choup's Drakvyrn Mod for 1.20.1 (v2.4.0).jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Chunk-Pregenerator-1.20-4.4.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file chunkloaders-1.2.8a-forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file citadel-2.5.3-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file clickadv-1.20.1-3.8.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cloth-config-11.1.118-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Clumps-forge-1.20.1-12.0.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file collective-1.20.1-7.64.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file comforts-forge-6.3.5+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Controlling-forge-1.20.1-12.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cookingforblockheads-forge-1.20.1-16.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CorgiLib-forge-1.20.1-4.0.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file corn_delight-1.0.4-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file coroutil-forge-1.20.1-1.3.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cosmeticarmorreworked-1.20.1-v1a.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CrabbersDelight-1.20.1-1.1.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CraftTweaker-forge-1.20.1-14.0.40.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file create-1.20.1-0.5.1.f.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file createaddition-1.20.1-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file CreativeCore_FORGE_v2.11.30_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file creeperoverhaul-3.0.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ctov-forge-3.4.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cuisinedelight-1.1.14.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file cupboard-1.20.1-2.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file curios-forge-5.9.1+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file customcameraview-forge-1.20.1-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DamageVignette-2.0.2-forge+mc1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file deathbackup-1.20.1-3.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file deeperdarker-forge-1.20.1-1.2.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file dimensionviewer-1.20-1.4.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Disenchanting-forge-1.20.1-2.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DoggyTalentsNext-1.20.1-1.18.18.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file domum_ornamentum-1.20.1-1.0.186-RELEASE-universal.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file doubledoors-1.20.1-5.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file dummmmmmy-1.20-1.8.17b.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DungeonsArise-1.20.x-2.1.58-release.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file DungeonsAriseSevenSeas-1.20.x-1.0.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EasierSleeping-1.20.1-2.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy-villagers-forge-1.20.1-1.1.23.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy_mob_farm_1.20.1-7.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easy_npc-forge-1.20.1-5.6.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file easynetheritev1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EasyShulkerBoxes-v8.0.1-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file elytraslot-forge-6.4.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file embeddium-0.3.31+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file embeddiumplus-1.20.1-v1.2.13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EnchantingInfuser-v8.0.3-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EnchantmentDescriptions-Forge-1.20.1-17.0.16.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file endersdelight-1.20.1-1.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Enhanced_Celestials-forge-1.20.1-5.0.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file entityculling-forge-1.6.6-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file EquipmentCompare-1.20.1-forge-1.3.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ExplorersCompass-1.20.1-1.3.3-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Fallingleaves-1.20.1-2.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FallingTree-1.20.1-4.3.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fancymenu_forge_3.2.3_MC_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Fantastic Remastered Structures 1.20+1.20.6-0.5 For+fab.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FarmersDelight-1.20.1-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file farmingforblockheads-forge-1.20.1-14.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file farsight-1.20.1-3.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FastFurnace-1.20.1-8.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FastLeafDecay-32.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fastpaintings-1.20-1.2.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ferritecore-6.0.1-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fish_of_thieves-mc1.20.1-v3.0.7-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file fixexperiencebug-1.20-46.2.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file framework-forge-1.20.1-0.7.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FriendlyFire-Forge-1.20.1-18.0.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file FriendlyGriefing-1.20-1.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file friendsandfoes-forge-mc1.20.1-2.0.10.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file geckolib-forge-1.20.1-4.4.7.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file GeckoLibOculusCompat-Forge-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file goblintraders-forge-1.20.1-1.9.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file guccivuitton-1.20.1-0.2.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file handcrafted-forge-1.20.1-3.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file highlight-forge-1.20-2.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Highlighter-1.20.1-forge-1.1.9.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file hitindication-1.20.1-1.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Iceberg-1.20.1-forge-1.1.21.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file IllagerInvasion-v8.0.5-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Incendium_1.20.x_v5.3.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventoryessentials-forge-1.20.1-8.2.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventoryhud.forge.1.20.1-3.4.26.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file inventorysorter-1.20.1-23.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ItemPhysicLite_FORGE_v1.6.4_mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Jade-1.20.1-forge-11.7.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file jei-1.20.1-forge-15.3.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file JustEnoughResources-1.20.1-1.4.0.247.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file konkrete_forge_1.8.0_MC_1.20-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lradd-1.20.1-0.2.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lucky-block-forge-1.20.1-13.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file lukis-grand-capitals-1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file MaxEnchantX-1.20.X-1.3-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-bridges-3.0.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-doors-1.1.1forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mcw-lights-1.1.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file melody_forge_1.0.3_MC_1.20.1-1.20.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file modnametooltip-1.20.1-1.20.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file moonlight-1.20-2.12.2-forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file MouseTweaks-forge-mc1.20-2.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file mysterious_mountain_lib-1.4.7-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file nethersdelight-1.20.1-4.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file obscure_api-15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file oceansdelight-1.0.2-1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file oculus-mc1.20.1-1.6.15a.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file okzoomer-forge-1.20-3.0.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Placebo-1.20.1-8.6.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file puzzledungeon-forge-1.20.1-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file PuzzlesLib-v8.1.20-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file PuzzlesLib-v8.1.24-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Quark-4.0-436.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file RegionsUnexploredForge-0.5.3.1+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file resourcefulconfig-forge-1.20.1-2.1.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file resourcefullib-forge-1.20.1-2.1.25.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file sliceanddice-forge-3.2.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file supermartijn642configlib-1.1.8-forge-mc1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file supermartijn642corelib-1.1.17-forge-mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tact-1.0.9+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tacz-1.20.1-1.0.3-all.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file TerraBlender-forge-1.20.1-3.0.1.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Terralith_1.20_v2.5.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file The_Undergarden-1.20.1-0.8.14.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file tlc_forge-1.0.3-R-1.20.X.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file torchmaster-20.1.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file ToughAsNails-1.20.1-9.0.0.96.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file travelersbackpack-forge-1.20.1-9.1.15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file TravelersTitles-1.20-Forge-4.0.2.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file undergarden_delight_1.0.0_forge_1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file UniversalEnchants-v8.0.0-1.20.1-Forge.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file waystones-forge-1.20-14.1.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file WitherSkeletonTweaks-1.20.1-9.1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file worldedit-mod-7.2.15.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file wso16-forge-1.1.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Xaeros_Minimap_24.2.0_Forge_1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file xaeros_waystones_compability-1.0.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file XaerosWorldMap_1.37.8_Forge_1.20.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsApi-1.20-Forge-4.0.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterDesertTemples-1.20-Forge-3.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterDungeons-1.20-Forge-4.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterJungleTemples-1.20-Forge-2.0.5.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterMineshafts-1.20-Forge-4.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterNetherFortresses-1.20-Forge-2.0.6.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterOceanMonuments-1.20-Forge-3.0.4.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterStrongholds-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBetterWitchHuts-1.20-Forge-3.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsBridges-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file YungsExtras-1.20-Forge-4.0.3.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/INFO]: Found mod file Zeta-1.0-13.jar of type MOD with provider {mods folder locator at C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods} [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.20.1-47.2.0\fmlcore-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.2.0\javafmllanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.2.0\lowcodelanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/WARN]: Mod file C:\Users\Administrator\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.20.1-47.2.0\mclanguage-1.20.1-47.2.0.jar is missing mods.toml file [01:30:08] [main/INFO]: Found mod file fmlcore-1.20.1-47.2.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file javafmllanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file lowcodelanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file mclanguage-1.20.1-47.2.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file client-1.20.1-20230612.114412-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/INFO]: Found mod file forge-1.20.1-47.2.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@78c1a023 [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [01:30:08] [main/WARN]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized\mods\resourcefullib-forge-1.20.1-2.1.25.jar [01:30:08] [main/INFO]: Found 23 dependencies adding them to mods collection [01:30:08] [main/INFO]: Found mod file jctools-core-4.0.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MixinExtras-0.3.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mixinextras-forge-0.3.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file kuma-api-forge-20.1.8+1.20.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file puzzlesapi-forge-8.1.4.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MinecraftForgeAPI-1.20.1-1.0.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file luaj-core-3.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mixinsquared-forge-0.1.2-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file yabn-1.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file Registrate-MC1.20-1.3.11.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file spectrelib-forge-0.13.15+1.20.1.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file animated-gif-lib-for-java-animated-gif-lib-1.7.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file mclib-20.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file l2library-2.4.14-slim.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file puzzlesaccessapi-forge-8.0.7.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file l2serial-1.2.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file flywheel-forge-1.20.1-0.6.10-7.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file bytecodecs-1.0.2.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file luaj-jse-3.0.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file commons-math3-3.6.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file MixinSquared-0.1.2-beta.6.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file jcpp-1.4.14.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:08] [main/INFO]: Found mod file japng-0.5.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@150ede8b [01:30:09] [main/ERROR]: Missing or unsupported mandatory dependencies:     Mod ID: 'structure_gel', Requested by: 'blue_skies', Expected range: '[2.13.0,]', Actual version: '[MISSING]'     Mod ID: 'kotlinforforge', Requested by: 'sliceanddice', Expected range: '[4.3.0,)', Actual version: '[MISSING]'     Mod ID: 'searchables', Requested by: 'controlling', Expected range: '[1.0,)', Actual version: '[MISSING]' [01:30:11] [main/INFO]: Compatibility level set to JAVA_17 [01:30:11] [main/ERROR]: Mixin config geckoanimfix.forge.mixins.json does not specify "minVersion" property [01:30:11] [main/ERROR]: Mixin config okzoomer.mixins.json does not specify "minVersion" property [01:30:11] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-47.2.0, --gameDir, C:\Users\Administrator\curseforge\minecraft\Instances\Alex's Caves Optimized, --assetsDir, C:\Users\Administrator\curseforge\minecraft\Install\assets, --uuid, b68ea54ae6484a0e8acb115f88c9aea5, --username, AkadieL, --assetIndex, 5, --accessToken, ????????, --clientId, 28d704-b58c91-549ecf-a85a34-9fb39c, --xuid, 2533275030291833, --userType, msa, --versionType, release, --width, 1024, --height, 768] [01:30:11] [main/INFO]: Loaded configuration file for Embeddium: 44 options available, 0 override(s) found [01:30:11] [main/INFO]: Searching for graphics cards... [01:30:11] [main/INFO]: Found graphics card: GraphicsAdapterInfo[vendor=NVIDIA, name=NVIDIA GeForce RTX 3060, version=DriverVersion=32.0.15.6094] [01:30:11] [main/WARN]: Embeddium has applied one or more workarounds to prevent crashes or other issues on your system: [NVIDIA_THREADED_OPTIMIZATIONS] [01:30:11] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver. [01:30:11] [main/WARN]: Reference map 'handcrafted-forge-1.20.1-forge-refmap.json' for handcrafted.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'yungsextras.refmap.json' for yungsextras.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'yungsextras.refmap.json' for yungsextras_forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'cuisinedelight.refmap.json' for cuisinedelight.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'AxesAreWeapons-forge-refmap.json' for axesareweapons.forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map '${refmap_target}refmap.json' for corgilib.forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'fastpaintings-forge-refmap.json' for fastpaintings-forge.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'guccivuitton.refmap.json' for guccivuitton.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/INFO]: Loaded configuration file for Canary: 116 options available, 0 override(s) found [01:30:11] [main/INFO]: Loading 2 mods:     - forge 47.2.0     - minecraft 1.20.1 [01:30:11] [main/WARN]: Reference map 'Aquamirae.refmap.json' for aquamirae.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'cookingforblockheads.refmap.json' for cookingforblockheads.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'LesRaisinsAddon_1201.refmap.json' for lradd.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:11] [main/WARN]: Reference map 'coroutil.refmap.json' for coroutil.mixins.json could not be read. If this is a development environment you can ignore this message [01:30:12] [main/WARN]: Error loading class: dev/latvian/mods/kubejs/recipe/RecipesEventJS (java.lang.ClassNotFoundException: dev.latvian.mods.kubejs.recipe.RecipesEventJS) [01:30:12] [main/WARN]: @Mixin target dev.latvian.mods.kubejs.recipe.RecipesEventJS was not found sliceanddice.mixins.json:RecipeEventJSMixin [01:30:12] [main/WARN]: Error loading class: dev/emi/emi/screen/EmiScreenManager (java.lang.ClassNotFoundException: dev.emi.emi.screen.EmiScreenManager) [01:30:12] [main/WARN]: Error loading class: me/shedaniel/rei/impl/client/gui/ScreenOverlayImpl (java.lang.ClassNotFoundException: me.shedaniel.rei.impl.client.gui.ScreenOverlayImpl) [01:30:12] [main/WARN]: Error loading class: noobanidus/mods/lootr/config/ConfigManager (java.lang.ClassNotFoundException: noobanidus.mods.lootr.config.ConfigManager) [01:30:12] [main/ERROR]: Could not find embeddium mod, there is likely a dependency error. Skipping mixin application. [01:30:12] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.6). [01:30:13] [pool-4-thread-1/WARN]: This is the stupidest thing I've ever made in Minecraft modding history...           Even if I check the log list, I don't know what the problem is. especially. [01:30:09] [Main/ERROR]: No mandatory dependency or not supported: Mode ID: 'structure_gel', requester: 'blue_skys', expected range: '[2.13.0,], actual version: '[missing]' Mode ID: 'kotlinforge', Requestor: 'slice and die', Expected range: '[4.3.0,]', Actual version: '[missing]' Mode ID: 'Searchable', Requestor: 'In Control', Expected Range: '[1.0,]', Actual Version: '[Omitted]'   I've been looking for things I need in this area, but Minecraft is still annoying.
    • i'm trying to modify the attack damage in minecraft modded weapons i can only modify the attack damage in non-modded weapons it's in 1.8.9
    • As the title says, I'm trying to install Forge on Linux. Whenever I load up the installer, and let it run, I end up getting an error that says: "Processor failed, invalid outputs:" Then, it shows the .jar file I used for the installer, and some codes that don't make any sense to my pea-sized brain. All I can tell however, is that they're different and they aren't supposed to be. (Mostly because it tells me.) I don't know how to fix this, and I've encountered this for every file I've tried so far.
  • Topics

×
×
  • Create New...

Important Information

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