Jump to content

integer gets set globaly instead of per player.


SenpaiSubaraki
 Share

Recommended Posts

I made an integer that can be set trough a gui, by clicking a button. this integer regulates a block that spawns on death.

 

imagine: player 1 sets a dirtblock to spawn on death.(integer 1)

player 2 sets a sandblock to spawn on death (integer 2)

 

when player one dies, the block spawned will be a sandblock, because player 2 changed it most recently.

 

the integers get set to the player's persisted nbt tag. both are called in the proxies, by sending a packet from the player to the server. packet gets send on button click.

 

here's some code

 

setter and getter for code. client and commonproxy

 


//CLIENTPROXY
public int getRenderID(String username) {
	if (MinecraftServer.getServer() != null && MinecraftServer.getServer().getConfigurationManager() != null) {
		EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(username);
		if (player != null) {
			if(player.getEntityData().hasKey(player.PERSISTED_NBT_TAG) && player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).hasKey("renderID_"+username)) {
				return player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).getInteger("renderID_"+username);
			}else{
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)){
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, 6);
				return 6;
			}
		}
	}else{
		EntityPlayer player = Minecraft.getMinecraft().theWorld.getPlayerEntityByName(username);
		if (player != null) {
			if (player.getEntityData().hasKey(player.PERSISTED_NBT_TAG) && player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).hasKey("renderID_"+username)) {
				return player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).getInteger("renderID_"+username);
			} else {
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username,6);
				return 6;
			}
		}
	}
	return 0;
}

public void setRenderID(String username, int renderID) {
	if (MinecraftServer.getServer() != null && MinecraftServer.getServer().getConfigurationManager() != null) {
		EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(username);
		if (player != null) {
			if(player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, renderID);
			}else{
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)){
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, 6);
			}
		}
	}else{
		EntityPlayer player = Minecraft.getMinecraft().theWorld.getPlayerEntityByName(username);
		if (player != null) {
			if (player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, renderID);
			} else {
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username,6);
			}
		}
	}
}

//COMMONPROXY
public int getRenderID(String username) {
	if (MinecraftServer.getServer() != null && MinecraftServer.getServer().getConfigurationManager() != null) {
		EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(username);
		if (player != null) {
			if (player.getEntityData().hasKey(player.PERSISTED_NBT_TAG) && player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).hasKey("renderID_"+username)) {
				return player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).getInteger("renderID_"+username);

			} else {
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, 6);
				return 6;
			}
		}
	}
	return 0;
}

public void setRenderID(String username, int renderID) {
	int id = 0;
	if (MinecraftServer.getServer() != null && MinecraftServer.getServer().getConfigurationManager() != null) {
		EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(username);
		if (player != null) {
			if (player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, renderID);

			} else {
				if (!player.getEntityData().hasKey(player.PERSISTED_NBT_TAG)) {
					player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
				}
				player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG).setInteger("renderID_"+username, renderID);
				FMLLog.getLogger().info("fail");
			}
		}
	}
}

 

 

packetHandler

 

package gravestone;

import gravestone.grave.TEGrave;

import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;

import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.network.IPacketHandler;
import cpw.mods.fml.common.network.Player;

public class PacketHandler implements IPacketHandler {

public int x1;
public int y1;
public int z1;

public static PacketHandler instance;
public PacketHandler()
{
	instance = this;
}
@Override
public void onPacketData(INetworkManager manager,
		Packet250CustomPayload packet, Player player) {
	this.handlePacket(packet, player);

	if(packet.channel.equals("graveData"))
	{
		this.handlePacket(packet, player);
	}
}

public void handlePacket(Packet250CustomPayload packet, Player player)
{
	EntityPlayer p = (EntityPlayer) player;
	World world = p.worldObj;
	TileEntity tile = world.getBlockTileEntity(x1, y1, z1);

	DataInputStream dis = new DataInputStream(new ByteArrayInputStream(packet.data));
	try {
		int guiId = dis.readInt();
		if(guiId == 1)
		{
			x1 = dis.readInt();
			y1 = dis.readInt();
			z1 = dis.readInt();

			if(dis.readInt() == 6)
			{
				if (tile != null)
				{
					TEGrave te = (TEGrave)tile;
					if(te != null)
					{
						for(int par1 =0; par1 < te.graveContents.length;par1++)
						{
							ItemStack stacks = te.getStackInSlot(par1);
							if(stacks != null){
								if(par1 < 36){
									p.inventory.addItemStackToInventory(stacks);
									te.setInventorySlotContents(par1, null);
								}else if(par1 >= 36){
									int i = EntityLiving.getArmorPosition(stacks) - 1;
									ItemStack itemstack1 = p.getCurrentArmor(i);
									if (itemstack1 == null){
										p.setCurrentItemOrArmor(i + 1, stacks);
									}else{
										p.dropPlayerItem(stacks);
									}
									te.setInventorySlotContents(par1, null);
								}
							}
						}
					}
				}
			}
		}
		if(guiId == 2)
		{
			x1 = dis.readInt();
			y1 = dis.readInt();
			z1 = dis.readInt();
			if(dis.readInt() == 7)
			{
				world.setBlock(x1,y1,z1,0);
			}
		}

		if(guiId == 3)
		{
			int c =dis.readInt();
			mod_Gravestone.instance.modelToRender = c;
			mod_Gravestone.proxy.setRenderID(p.username, c);
		}

		if(guiId == 4)
		{
			if (tile != null)
			{
				TEGrave te = (TEGrave)tile;
				if(te != null && world.isRemote)
				{
					world.getPlayerEntityByName(te.playername).sendChatToPlayer(dis.readUTF()+" requests you to salvage your grave.");
				}
			}
		}
	}
	catch (IOException e) 
	{
		e.printStackTrace();
	}
}
}

 

 

tell me if you need to see another class, i might have forgotten one.

 

thanks for reading this !

and thank you more for any help given ^^

Link to comment
Share on other sites

You should be saving that information to the player not to the block.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

 

package gravestone.gui;

import gravestone.mod_Gravestone;
import gravestone.grave.ModelGrave;
import gravestone.grave.ModelHead;

import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.ObjectOutput;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.packet.Packet250CustomPayload;
import net.minecraft.util.StringUtils;

import org.lwjgl.opengl.GL11;

import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.network.PacketDispatcher;

public class GuiGraveChoice extends GuiScreen {

private float xSize_lo;
private float ySize_lo;
private int xSize = 0;
private int ySize = 0;
private short rotationCounter = 0;
EntityPlayer thePlayer;
public int render;
public String price ="";
private static ModelGrave grave = new ModelGrave();
private static ModelHead head = new ModelHead();
public NBTTagCompound nbt = new NBTTagCompound();

public GuiGraveChoice(EntityPlayer player) {
	super();
	thePlayer = player;
	try{
		nbt = player.getEntityData().getCompoundTag(player.PERSISTED_NBT_TAG);
		FMLLog.getLogger().info("Player data exists.");
	}catch(Throwable e){
		player.getEntityData().setCompoundTag(player.PERSISTED_NBT_TAG, new NBTTagCompound(player.PERSISTED_NBT_TAG));
		FMLLog.getLogger().info("Player data could not be read.");
	}
	try{
		render = mod_Gravestone.proxy.getRenderID(player.username);
		sendPacket(render, 3);
		FMLLog.getLogger().info("render id set. render id = "+ render);
	}catch(Throwable e){
		FMLLog.getLogger().info("render id corrupt. switching to default render ID");
		render = 6;
		sendPacket(render, 3);
	}

}

@Override
// adds buttons to the gui screen
public void initGui() {
	this.buttonList.clear();
	int posX = (this.width - xSize) / 2;
	int posY = (this.height - ySize) / 2;
	this.buttonList.add(new GuiButton(0, posX+150 , posY-100 , 20, 20, "X"));
	this.buttonList.add(new GuiButton(1, posX+90 , posY-70 , 80, 20, "Cross"));
	this.buttonList.add(new GuiButton(2, posX+90 , posY-40 , 80, 20, "Classic Grave"));
	this.buttonList.add(new GuiButton(3, posX+90 , posY-10 , 80, 20, "Tomb"));
	this.buttonList.add(new GuiButton(4, posX+90 , posY+20 , 80, 20, "Pillar"));
	this.buttonList.add(new GuiButton(5, posX+90 , posY+50 , 80, 20, "Bust"));
	this.buttonList.add(new GuiButton(6, posX , posY-70 , 80, 20, "Cheap Cross"));
	this.buttonList.add(new GuiButton(7, posX , posY-40 , 80, 20, "Stele"));
	this.buttonList.add(new GuiButton(10, posX-180 , posY+80 , 80, 20, "Set Grave"));
	//		this.buttonList.add(new GuiButton(11, posX-100 , posY    , 80 ,20, "clear"));
	this.buttonList.add(new GuiButton(8, posX , posY-10 , 80, 20, "Angel"));
	this.buttonList.add(new GuiButton(9, posX , posY+20 , 80, 20, "Knight"));

}

public void drawScreen(int par1, int par2, float par3) {
	this.xSize_lo = (float) par1;
	this.ySize_lo = (float) par2;
	super.drawScreen(par1, par2, par3);

	this.mc.renderEngine.bindTexture("/gui/demo_bg.png");
	GL11.glColor4f(0.0F, 0.0F, 0.0F, 5.0F);
	int posX = (this.width - xSize) / 2;
	int posY = (this.height - ySize) / 2;
	drawTexturedModalRect(posX, posY, 0, 0, xSize, ySize);
	fontRenderer.drawSplitString("Choose the Grave you want to spawn when you die.", this.width / 2-84, this.height / 2-100, 150 ,0xffffff);
	fontRenderer.drawSplitString(""+render, this.width / 2 +140, this.height / 2-95, 150 ,0xffffff);

	fontRenderer.drawSplitString(price, this.width / 2 -94, this.height / 2+86, 150 ,0x444444);
	fontRenderer.drawSplitString(price, this.width / 2 -95, this.height / 2+85, 150 ,0xffffff);
	renderGraves();
}

public boolean doesGuiPauseGame() {
	return false;
}

@Override
// whenever a button is clicked, this is called.
// sets the render Integer, the nbt to a new one or buys a grave.
public void actionPerformed(GuiButton button) {
	EntityPlayer p = Minecraft.getMinecraft().thePlayer;

	if(button.id ==11){
		nbt= new NBTTagCompound();
	}if (button.id == 10){
		getPrice();
		buyGrave();
	}else if (button.id == 0){
		mc.thePlayer.closeScreen();
	}else {
		for(int id = 1; id < 10; id++){
			if (button.id == id){
				render =id;	
				getPrice();
			}
		}
	}
}

//sends a packet
public void sendPacket(int ID,int packetNR)
{
	ByteArrayOutputStream bytes = new ByteArrayOutputStream();
	ObjectOutput out;
	DataOutputStream outputStream = new DataOutputStream(bytes);
	try {
		outputStream.writeInt(packetNR);
		outputStream.writeInt(ID);
		Packet250CustomPayload packet = new Packet250CustomPayload("graveData", bytes.toByteArray());
		PacketDispatcher.sendPacketToServer(packet);
	} catch (IOException e) {
		e.printStackTrace();
	}
}

//Sets an integer to an always reseting nbt tag. Shows a message if the grave is already owned.
//works in one instace only
public void getPrice(){

	if(nbt.hasKey("shop") && nbt.getInteger("shop") == render)
		price = "Current Grave";
	else
		price = "Grave available";

}

// sets an integer to an always reseting nbt tag
public void buyGrave()
{
	nbt.setInteger("shop", render);
	mod_Gravestone.proxy.setRenderID(thePlayer.username, render);
	if(nbt.hasKey("shop") && nbt.getInteger("shop") == render)
		price = "Current Grave";
	sendPacket(render, 3);
}

public void renderGraves(){
	GL11.glPushMatrix();
	grave.showBasic(false);
	grave.showZerk(false);
	grave.showTomb(false);
	grave.showPillar(false);
	grave.renderSkeleton(false);
	grave.renderCross(false);
	grave.renderAngel(false);
	grave.renderKnight(false);
	switch(render)
	{
	case 1:
		grave.showBasic(true);
		mc.renderEngine.bindTexture("/subaraki/gravestone.png");
		break;
	case 2:
		grave.showZerk(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravezerk.png");	
		}catch(Throwable e){}

		break;
	case 3 :
		grave.showTomb(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravestone.png");
		}catch(Throwable e){}
		break;
	case 4:
		grave.showPillar(true);
		grave.renderSkeleton(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravepillar.png");
		}catch(Throwable e){}
		break;
	case 5:
		grave.showPillar(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravepillar.png");
		}catch(Throwable e){}

		break;
	case 6:
		grave.renderCross(true);try{
			mc.renderEngine.bindTexture("/subaraki/gravewood.png");
		}catch(Throwable e){}
		break;
	case 7:
		grave.showPillar(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravepillar.png");
		}catch(Throwable e){}
		break;
	case 8:
		grave.renderAngel(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/Angel.png");
		}catch(Throwable e){}
		break;
	case 9:
		grave.renderKnight(true);
		try{
			mc.renderEngine.bindTexture("/subaraki/knight.png");
		}catch(Throwable e){}
		break;
	default :
		grave.showBasic(true);
		grave.showZerk(false);
		grave.showTomb(false);
		grave.showPillar(false);
		grave.renderCross(false);
		grave.renderAngel(false);
		grave.renderKnight(false);
		try{
			mc.renderEngine.bindTexture("/subaraki/gravestone.png");
		}catch(Throwable e){}
		break;
	}
	switch(render)
	{
	case 4:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 40, 40);
		GL11.glScaled(75, 75, -75);
		break;
	case 5:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 40, 40);
		GL11.glScaled(75, 75, -75);
		break;
	case 7:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 40, 40);
		GL11.glScaled(75, 75, -75);
		break;
	case 8:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 40, 40);
		GL11.glScaled(60, 60, -60);
		break;
	case 9:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 40, 40);
		GL11.glScaled(60, 60, -60);
		break;
	default:
		GL11.glTranslatef(width / 2 - 150, height / 2 - 80, 40);
		GL11.glScaled(75, 75, -75);
		break;
	}
	GL11.glRotatef((float) 5, 1f, 0f, 0f);
	GL11.glRotatef(rotationCounter++, 0, 1, 0);

	grave.renderModel(0.0625f);
	GL11.glPopMatrix();
	switch(render)
	{
	case 5:
		renderBust();
		break;
	default:
		break;
	}
}

public void renderBust()
{
	GL11.glPushMatrix();
	if(thePlayer != null)
	{
		grave.showBasic(false);
		grave.showZerk(false);
		grave.showTomb(false);
		grave.showPillar(true);
		grave.renderSkeleton(false);
		grave.renderCross(false);
		try{
			GL11.glBindTexture(GL11.GL_TEXTURE_2D, mc.renderEngine.getTextureForDownloadableImage("http://skins.minecraft.net/MinecraftSkins/" + StringUtils.stripControlCodes(thePlayer.username) + ".png", "/mob/char.png"));
		}catch(Throwable e){}

		GL11.glTranslatef(width / 2-150, height / 2-40, 40);
		GL11.glScaled(50, 50, -50);
		GL11.glRotatef((float) 5, 1f, 0f, 0f);
		GL11.glRotatef(rotationCounter, 0, 1, 0);

		head.renderHead(0.0625f);
		GL11.glPopMatrix();
	}
}
}

 

 

the code comes from a stand alone gui, opened with a keyhandler.

But i'll check over the stuff that I save in the block too. only should be the playername, some strings and the integer.

 

p.s. > the integer also gets called out of the proxies, aswell as saved , in an IPlayerTracker

Link to comment
Share on other sites

*self bump*

i would like to find a solution as soon as possible  :-[

 

solved it. i was setting another integer in the main mod file. it would get its value from the proxies, but there's only one mod file, with one integer, so it would get set to the last player who set it's block value. deleted the integer and called in the method getRenderId directly.

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Please help me     [05févr.2023 12:45:16.527] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Xorix_12, --version, 1.16.5-forge-36.2.35, --gameDir, C:\Users\dcraf\AppData\Roaming\.minecraft, --assetsDir, C:\Users\dcraf\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, fa45ebd2aba74a18945b3b5cf846e45e, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.35, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550] [05févr.2023 12:45:16.531] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 1.8.0_51 by Oracle Corporation [05févr.2023 12:45:16.551] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED [05févr.2023 12:45:16.697] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad [05févr.2023 12:45:16.698] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\dcraf\AppData\Roaming\.minecraft\mods\OptiFine.jar [05févr.2023 12:45:16.700] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available [05févr.2023 12:45:16.788] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [05févr.2023 12:45:16.829] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/dcraf/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [05févr.2023 12:45:16.840] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize [05févr.2023 12:45:18.465] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 13:0 token recognition error at: '`' [05févr.2023 12:45:18.552] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:0 token recognition error at: '~' [05févr.2023 12:45:18.570] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.transformers [05févr.2023 12:45:18.592] [main/INFO] [optifine.OptiFineTransformer/]: Targets: 311 [05févr.2023 12:45:19.628] [main/INFO] [optifine.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.] [05févr.2023 12:45:19.785] [main/ERROR] [mixin/]: Mixin config mixins.moddedmainmenu.json does not specify "minVersion" property [05févr.2023 12:45:19.889] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [vazkii.botania.common.MixinConnector] [05févr.2023 12:45:19.891] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [vazkii.patchouli.common.MixinConnector] [05févr.2023 12:45:19.895] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlclient' with arguments [--version, 1.16.5-forge-36.2.35, --gameDir, C:\Users\dcraf\AppData\Roaming\.minecraft, --assetsDir, C:\Users\dcraf\AppData\Roaming\.minecraft\assets, --uuid, fa45ebd2aba74a18945b3b5cf846e45e, --username, Xorix_12, --assetIndex, 1.16, --accessToken, ????????, --userType, msa, --versionType, release] [05févr.2023 12:45:19.909] [main/WARN] [mixin/]: Reference map 'forgecef-refmap.json' for forgecef.mixins.json could not be read. If this is a development environment you can ignore this message [05févr.2023 12:45:20.210] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching LivingEntity#attackEntityFrom [05févr.2023 12:45:20.296] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#blockUsingShield [05févr.2023 12:45:20.308] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#applyPotionDamageCalculations [05févr.2023 12:45:20.477] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching FishingBobberEntity#catchingFish [05févr.2023 12:45:21.250] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching net/minecraft/item/EnchantedBookItem [05févr.2023 12:45:21.407] [main/ERROR] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Error occurred applying transform of coremod META-INF/asm/multipart.js function render java.lang.NullPointerException: null     at org.objectweb.asm.tree.InsnList.insert(InsnList.java:343) ~[asm-tree-9.1.jar:9.1]     at jdk.nashorn.internal.scripts.Script$Recompilation$118$5956A$\^eval\_.initializeCoreMod$transformer-3(<eval>:135) ~[?:?]     at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:638) ~[nashorn.jar:?]     at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229) ~[nashorn.jar:?]     at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387) ~[nashorn.jar:?]     at jdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:110) ~[nashorn.jar:?]     at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:18) ~[coremods-4.0.6.jar:4.0.6+14+master.c21a551]     at net.minecraftforge.coremod.NashornFactory$$Lambda$445/407380973.apply(Unknown Source) ~[?:?]     at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:18) ~[coremods-4.0.6.jar:?]     at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:10) ~[coremods-4.0.6.jar:?]     at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:38) [coremods-4.0.6.jar:?]     at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:142) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchPluginHandler.lambda$null$8(LaunchPluginHandler.java:97) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchPluginHandler$$Lambda$472/1677960357.buildTransformedClassNodeFor(Unknown Source) [modlauncher-8.1.3.jar:?]     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:222) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:207) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2005) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1017) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1007) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:895) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:867) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:779) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:539) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) [mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4]     at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) [modlauncher-8.1.3.jar:8.1.3+8.1.3+main-8.1.x.c94d18ec]     at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.1.3.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]     at java.lang.Class.forName0(Native Method) ~[?:1.8.0_51]     at java.lang.Class.forName(Class.java:348) [?:1.8.0_51]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [forge-1.16.5-36.2.35.jar:36.2]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$507/1014698874.call(Unknown Source) [forge-1.16.5-36.2.35.jar:36.2]     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] [05févr.2023 12:45:21.792] [main/WARN] [mixin/]: Error loading class: me/cominixo/betterf3/modules/TargetModule (java.lang.ClassNotFoundException: null) [05févr.2023 12:45:21.792] [main/WARN] [mixin/]: @Mixin target me.cominixo.betterf3.modules.TargetModule was not found securitycraft.mixins.json:f3.BetterF3TargetModuleMixin [05févr.2023 12:45:21.871] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EnchantmentHelper#getEnchantmentModifierDamage [05févr.2023 12:45:21.878] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EnchantmentHelper#getModifierForCreature [05févr.2023 12:45:21.886] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EnchantmentHelper#applyThornEnchantments [05févr.2023 12:45:21.892] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EnchantmentHelper#applyArthropodEnchantments [05févr.2023 12:45:21.900] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching buildEnchantmentList for the Enchantability affix. [05févr.2023 12:45:21.907] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching EnchantmentHelper#getEnchantmentDatas [05févr.2023 12:45:21.918] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching ItemStack#onItemUse [05févr.2023 12:45:22.000] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching TemptGoal#isTempting [05févr.2023 12:45:22.445] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching LivingEntity#attackEntityFrom [05févr.2023 12:45:22.455] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#blockUsingShield [05févr.2023 12:45:22.456] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#applyPotionDamageCalculations [05févr.2023 12:45:22.609] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching ModelBakery#<init> [05févr.2023 12:45:23.495] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching BlockModelShapes#getModelLocation [05févr.2023 12:45:23.593] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching LivingEntity#attackEntityFrom [05févr.2023 12:45:23.601] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#blockUsingShield [05févr.2023 12:45:23.602] [main/INFO] [net.minecraftforge.coremod.CoreMod.apotheosis/COREMODLOG]: Patching LivingEntity#applyPotionDamageCalculations [05févr.2023 12:45:23.674] [main/ERROR] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Error occurred applying transform of coremod META-INF/asm/multipart.js function render java.lang.NullPointerException: null     at org.objectweb.asm.tree.InsnList.insert(InsnList.java:343) ~[asm-tree-9.1.jar:9.1]     at jdk.nashorn.internal.scripts.Script$Recompilation$118$5956A$\^eval\_.initializeCoreMod$transformer-3(<eval>:135) ~[?:?]     at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:638) ~[nashorn.jar:?]     at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229) ~[nashorn.jar:?]     at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387) ~[nashorn.jar:?]     at jdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:110) ~[nashorn.jar:?]     at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:18) ~[coremods-4.0.6.jar:4.0.6+14+master.c21a551]     at net.minecraftforge.coremod.NashornFactory$$Lambda$445/407380973.apply(Unknown Source) ~[?:?]     at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:18) ~[coremods-4.0.6.jar:?]     at net.minecraftforge.coremod.transformer.CoreModMethodTransformer.runCoremod(CoreModMethodTransformer.java:10) ~[coremods-4.0.6.jar:?]     at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:38) [coremods-4.0.6.jar:?]     at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:111) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [modlauncher-8.1.3.jar:?]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_51]     at net.optifine.reflect.Reflector.<clinit>(Reflector.java:307) [?:?]     at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:101) [?:?]     at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54) [?:?]     at net.minecraft.crash.CrashReport.func_230188_h_(CrashReport.java:425) [?:?]     at net.minecraft.client.main.Main.main(Main.java:122) [?:?]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [forge-1.16.5-36.2.35.jar:36.2]     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$507/1014698874.call(Unknown Source) [forge-1.16.5-36.2.35.jar:36.2]     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] [05févr.2023 12:45:23.796] [main/WARN] [mixin/]: @ModifyConstant conflict. Skipping assets/botania/botania.mixins.json:MixinWorldRenderer->@ModifyConstant::makeSunBigger(F)F with priority 1000, already redirected by mythicbotany.mixins.json:MixinWorldRenderer->@ModifyConstant::makeSunBigger(F)F with priority 1000 [05févr.2023 12:45:23.799] [main/WARN] [mixin/]: @ModifyConstant conflict. Skipping assets/botania/botania.mixins.json:MixinWorldRenderer->@ModifyConstant::makeMoonBigger(F)F with priority 1000, already redirected by mythicbotany.mixins.json:MixinWorldRenderer->@ModifyConstant::makeMoonBigger(F)F with priority 1000 [05févr.2023 12:45:23.845] [main/INFO] [net.minecraftforge.coremod.CoreMod.placebo/COREMODLOG]: Patching ItemStack#onItemUse [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: java.lang.reflect.InvocationTargetException [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [05févr.2023 12:45:24.183] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at java.lang.reflect.Method.invoke(Method.java:497) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$507/1014698874.call(Unknown Source) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]:     ... 4 more [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]: Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/client/Minecraft has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at java.lang.ClassLoader.defineClass1(Native Method) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:138) [05févr.2023 12:45:24.184] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [05févr.2023 12:45:24.185] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [05févr.2023 12:45:24.185] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.optifine.reflect.Reflector.<clinit>(Reflector.java:529) [05févr.2023 12:45:24.186] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:101) [05févr.2023 12:45:24.187] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54) [05févr.2023 12:45:24.187] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraft.crash.CrashReport.func_230188_h_(CrashReport.java:425) [05févr.2023 12:45:24.188] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     at net.minecraft.client.main.Main.main(Main.java:122) [05févr.2023 12:45:24.188] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:643]:     ... 11 more          
    • Hello, I am currently trying to publish my mod. It works fine apart from that, but when publishing following error comes up: Execution failed for task ':publishMavenJavaPublicationToMavenRepository'. > Failed to publish publication 'mavenJava' to repository 'maven' > Invalid publication 'mavenJava': artifactId (AbsolutelyUnbreakable - 1.18.2) is not a valid Maven identifier ([A-Za-z0-9_\-.]+). I don't know what causes this as it definitely used to work completely fine.   I appreciate any help
    • The imgur link shows a memory dump of the crash but it's hard to get a profile of the exact moment of the crash since it happen pretty randomly
    • Im trying to tun a modded forge serve on a google cloud VM, (not the fist time I do this) so when I run the server locally, evererything works ok, but qhen I start the server online on the VM mods are loaded, shown, but they wont work, like i can get nods items from creative but cant place them beacuse they dissapear. The erro that is Shown on logs is like this Missing Datapack Mod:"Mod name"                                      so like that with a few of them
  • Topics

×
×
  • Create New...

Important Information

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