Jump to content

Recommended Posts

Posted (edited)

Okay so I have a custom furnace that smelts 2 items into 1 and I'm currently have a bit of an issue with it.

 

The furnace is sometimes doubling the output when I only want it to output a single item. I always end up with 15 instead of 8. I believe the first one it makes is doing it right but then after that it outputs 2 instead of one.

 

It also doesn't always work, sometimes when it is placed or after the items are taken out and the GUI closed and reopened it will no longer smelt items.

 

Then most of the time if I pull the items it smelted out they just disappear out of the players inventory after you close the GUI.

 

Then the last issue I'm having is when the block is broken the items won't drop on the ground, they just vanish into thin air.

 

All of the source code for my furnace will be listed below(if i missed anything you need please let me know), if anybody could help me out that would be greatly appreciated and you will be mentioned in the credits of my finished mod once it's able to be released.

 

BLOCK CLASS:

Spoiler

import java.util.Random;

import will11690.mechanicraft.Main;
import will11690.mechanicraft.util.Reference;
import will11690.mechanicraft.blocks.BlockBase;
import will11690.mechanicraft.blocks.machines.basicinfuser.TileEntityBasicMetallicInfuser;
import will11690.mechanicraft.init.ModBlocks;
import net.minecraft.block.BlockHorizontal;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.InventoryHelper;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumBlockRenderType;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.Mirror;
import net.minecraft.util.Rotation;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;

public class BasicMetallicInfuser extends BlockBase
{
	public static final PropertyDirection FACING = BlockHorizontal.FACING;
	public static final PropertyBool BURNING = PropertyBool.create("burning");
	
	public BasicMetallicInfuser(String name) 
	{
		super(name, Material.IRON);
		setCreativeTab(Main.mechanicraftmachinestab);
		setSoundType(SoundType.METAL);
		this.setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH).withProperty(BURNING, false));
	}
	
	@Override
	public Item getItemDropped(IBlockState state, Random rand, int fortune) 
	{
		return Item.getItemFromBlock(ModBlocks.BASIC_METALLIC_INFUSER);
	}
	
	@Override
	public ItemStack getItem(World worldIn, BlockPos pos, IBlockState state)
	{
		return new ItemStack(ModBlocks.BASIC_METALLIC_INFUSER);
	}
	
	@Override
	public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) 
	{
		if(!worldIn.isRemote)
		{
			playerIn.openGui(Main.Instance, Reference.GUI_BASIC_METALLIC_INFUSER, worldIn, pos.getX(), pos.getY(), pos.getZ());
		}
		
		return true;
	}
	
	@Override
	public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) 
	{
		if (!worldIn.isRemote) 
        {
            IBlockState north = worldIn.getBlockState(pos.north());
            IBlockState south = worldIn.getBlockState(pos.south());
            IBlockState west = worldIn.getBlockState(pos.west());
            IBlockState east = worldIn.getBlockState(pos.east());
            EnumFacing face = (EnumFacing)state.getValue(FACING);

            if (face == EnumFacing.NORTH && north.isFullBlock() && !south.isFullBlock()) face = EnumFacing.SOUTH;
            else if (face == EnumFacing.SOUTH && south.isFullBlock() && !north.isFullBlock()) face = EnumFacing.NORTH;
            else if (face == EnumFacing.WEST && west.isFullBlock() && !east.isFullBlock()) face = EnumFacing.EAST;
            else if (face == EnumFacing.EAST && east.isFullBlock() && !west.isFullBlock()) face = EnumFacing.WEST;
            worldIn.setBlockState(pos, state.withProperty(FACING, face), 2);
        }
	}
	
	public static void setState(boolean active, World worldIn, BlockPos pos) 
	{
		IBlockState state = worldIn.getBlockState(pos);
		TileEntity tileentity = worldIn.getTileEntity(pos);
		
		if(active) worldIn.setBlockState(pos, ModBlocks.BASIC_METALLIC_INFUSER.getDefaultState().withProperty(FACING, state.getValue(FACING)).withProperty(BURNING, true), 3);
		else worldIn.setBlockState(pos, ModBlocks.BASIC_METALLIC_INFUSER.getDefaultState().withProperty(FACING, state.getValue(FACING)).withProperty(BURNING, false), 3);
		
		if(tileentity != null) 
		{
			tileentity.validate();
			worldIn.setTileEntity(pos, tileentity);
		}
	}
	
	@Override
	public boolean hasTileEntity(IBlockState state) 
	{
		return true;
	}
	
	@Override
	public TileEntity createTileEntity(World world, IBlockState state) 
	{
		return new TileEntityBasicMetallicInfuser();
	}
	
	@Override
	public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, EnumHand hand) 
	{
		return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite());
	}
	
	@Override
	public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) 
	{
		worldIn.setBlockState(pos, this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()), 2);
	}
	
	@Override
	public EnumBlockRenderType getRenderType(IBlockState state) 
	{
		return EnumBlockRenderType.MODEL;
	}
	
	@Override
	public IBlockState withRotation(IBlockState state, Rotation rot)
	{
		return state.withProperty(FACING, rot.rotate((EnumFacing)state.getValue(FACING)));
	}
	
	@Override
	public IBlockState withMirror(IBlockState state, Mirror mirrorIn) 
	{
		return state.withRotation(mirrorIn.toRotation((EnumFacing)state.getValue(FACING)));
	}
	
	@Override
	protected BlockStateContainer createBlockState() 
	{
		return new BlockStateContainer(this, new IProperty[] {BURNING,FACING});
	}
	
	@Override
	public IBlockState getStateFromMeta(int meta) 
	{
		EnumFacing facing = EnumFacing.getFront(meta);
		if(facing.getAxis() == EnumFacing.Axis.Y) facing = EnumFacing.NORTH;
		return this.getDefaultState().withProperty(FACING, facing);
	}
	
	@Override
	public int getMetaFromState(IBlockState state) 
	{
		return ((EnumFacing)state.getValue(FACING)).getIndex();
	}	
}

 

 

 

RECIPE CLASS{the recipes in here are for testing purposes}:

Spoiler

package will11690.mechanicraft.blocks.machines.basicinfuser;

import java.util.Map;
import java.util.Map.Entry;

import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Maps;
import com.google.common.collect.Table;

import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import will11690.mechanicraft.init.ModBlocks;

public class BasicMetallicInfuserRecipes {
	
	private static final BasicMetallicInfuserRecipes INSTANCE = new BasicMetallicInfuserRecipes();
	private final Table<ItemStack, ItemStack, ItemStack> smeltingList = HashBasedTable.<ItemStack, ItemStack, ItemStack>create();
	private final Map<ItemStack, Float> experienceList = Maps.<ItemStack, Float>newHashMap();
	
	public static BasicMetallicInfuserRecipes getInstance() {
		
		return INSTANCE;
		
	}
	
	private BasicMetallicInfuserRecipes() {
		
		this.addInfuserRecipe(new ItemStack(ModBlocks.COPPER_BLOCK), new ItemStack(ModBlocks.BLOCK_IRON), new ItemStack(Blocks.ACACIA_FENCE), 5.0F);
		this.addInfuserRecipe(new ItemStack(Blocks.ACACIA_FENCE), new ItemStack(Blocks.ACACIA_FENCE_GATE), new ItemStack(ModBlocks.ENDONIUM_CRYSTAL_BLOCK), 5.0F);
		
	}

	
	public void addInfuserRecipe(ItemStack input1, ItemStack input2, ItemStack result, float experience) {
		
		if(getInfuserResult(input1, input2) != ItemStack.EMPTY) return;
		this.smeltingList.put(input1, input2, result);
		this.experienceList.put(result, Float.valueOf(experience));
		
	}
	
	public ItemStack getInfuserResult(ItemStack input1, ItemStack input2) {
		
		for(Entry<ItemStack, Map<ItemStack, ItemStack>> entry : this.smeltingList.columnMap().entrySet()) {
			
			if(this.compareItemStacks(input1, (ItemStack)entry.getKey())) {
				
				for(Entry<ItemStack, ItemStack> ent : entry.getValue().entrySet()) {
					
					if(this.compareItemStacks(input2, (ItemStack)ent.getKey())) {
						
						return (ItemStack)ent.getValue();
						
					}
					
				}
				
			}
			
		}
		
		return ItemStack.EMPTY;
	}
	
	private boolean compareItemStacks(ItemStack stack1, ItemStack stack2) {
		
		return stack2.getItem() == stack1.getItem() && (stack2.getMetadata() == 32767 || stack2.getMetadata() == stack1.getMetadata());
		
	}
	
	public Table<ItemStack, ItemStack, ItemStack> getDualSmeltingList() {
		
		return this.smeltingList;
		
	}
	
	public float getInfuserExperience(ItemStack stack) {
		
		for (Entry<ItemStack, Float> entry : this.experienceList.entrySet()) {
			
			if(this.compareItemStacks(stack, (ItemStack)entry.getKey())) {
				
				return ((Float)entry.getValue()).floatValue();
				
			}
			
		}
		
		return 0.0F;
	}
}

 

 

 

CONTAINER CLASS:

Spoiler

package will11690.mechanicraft.blocks.machines.basicinfuser;

import will11690.mechanicraft.blocks.machines.basicinfuser.BasicMetallicInfuserRecipes;
import will11690.mechanicraft.blocks.machines.basicinfuser.slots.SlotBasicMetallicInfuserFuel;
import will11690.mechanicraft.blocks.machines.basicinfuser.slots.SlotBasicMetallicInfuserOutput;
import will11690.mechanicraft.blocks.machines.basicinfuser.TileEntityBasicMetallicInfuser;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IContainerListener;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.IItemHandler;
import net.minecraftforge.items.SlotItemHandler;

public class ContainerBasicMetallicInfuser extends Container
{
	private final TileEntityBasicMetallicInfuser tileentity;
	private int cookTime, totalCookTime, burnTime, currentBurnTime;
	
	public ContainerBasicMetallicInfuser(InventoryPlayer player, TileEntityBasicMetallicInfuser tileentity) 
	{
		this.tileentity = tileentity;
		IItemHandler handler = tileentity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, null);
		
		this.addSlotToContainer(new SlotItemHandler(handler, 0, 30, 22));
		this.addSlotToContainer(new SlotItemHandler(handler, 1, 58, 22));
		this.addSlotToContainer(new SlotItemHandler(handler, 2, 45, 46));
		this.addSlotToContainer(new SlotItemHandler(handler, 3, 124, 22));
		
		for(int y = 0; y < 3; y++)
		{
			for(int x = 0; x < 9; x++)
			{
				this.addSlotToContainer(new Slot(player, x + y*9 + 9, 8 + x*18, 84 + y*18));
			}
		}
		
		for(int x = 0; x < 9; x++)
		{
			this.addSlotToContainer(new Slot(player, x, 8 + x * 18, 142));
		}
	}
	
	@Override
	public void detectAndSendChanges() 
	{
		super.detectAndSendChanges();
		
		for(int i = 0; i < this.listeners.size(); ++i) 
		{
			IContainerListener listener = (IContainerListener)this.listeners.get(i);
			
			if(this.cookTime != this.tileentity.getField(2)) listener.sendWindowProperty(this, 2, this.tileentity.getField(2));
			if(this.burnTime != this.tileentity.getField(0)) listener.sendWindowProperty(this, 0, this.tileentity.getField(0));
			if(this.currentBurnTime != this.tileentity.getField(1)) listener.sendWindowProperty(this, 1, this.tileentity.getField(1));
			if(this.totalCookTime != this.tileentity.getField(3)) listener.sendWindowProperty(this, 3, this.tileentity.getField(3));
		}
		
		this.cookTime = this.tileentity.getField(2);
		this.burnTime = this.tileentity.getField(0);
		this.currentBurnTime = this.tileentity.getField(1);
		this.totalCookTime = this.tileentity.getField(3);
	}
	
	@Override
	@SideOnly(Side.CLIENT)
	public void updateProgressBar(int id, int data) 
	{
		this.tileentity.setField(id, data);
	}
	
	@Override
	public boolean canInteractWith(EntityPlayer playerIn) 
	{
		return this.tileentity.isUsableByPlayer(playerIn);
	}
	
	@Override
	public ItemStack transferStackInSlot(EntityPlayer playerIn, int index) 
	{
		ItemStack stack = ItemStack.EMPTY;
		Slot slot = (Slot)this.inventorySlots.get(index);
		
		if(slot != null && slot.getHasStack()) 
		{
			ItemStack stack1 = slot.getStack();
			stack = stack1.copy();
			
			if(index == 3) 
			{
				if(!this.mergeItemStack(stack1, 4, 40, true)) return ItemStack.EMPTY;
				slot.onSlotChange(stack1, stack);
			}
			else if(index != 2 && index != 1 && index != 0) 
			{		
				Slot slot1 = (Slot)this.inventorySlots.get(index + 1);
				
				if(!BasicMetallicInfuserRecipes.getInstance().getInfuserResult(stack1, slot1.getStack()).isEmpty())
				{
					if(!this.mergeItemStack(stack1, 0, 2, false)) 
					{
						return ItemStack.EMPTY;
					}
					else if(TileEntityBasicMetallicInfuser.isItemFuel(stack1))
					{
						if(!this.mergeItemStack(stack1, 2, 3, false)) return ItemStack.EMPTY;
					}
					else if(TileEntityBasicMetallicInfuser.isItemFuel(stack1))
					{
						if(!this.mergeItemStack(stack1, 2, 3, false)) return ItemStack.EMPTY;
					}
					else if(TileEntityBasicMetallicInfuser.isItemFuel(stack1))
					{
						if(!this.mergeItemStack(stack1, 2, 3, false)) return ItemStack.EMPTY;
					}
					else if(index >= 4 && index < 31)
					{
						if(!this.mergeItemStack(stack1, 31, 40, false)) return ItemStack.EMPTY;
					}
					else if(index >= 31 && index < 40 && !this.mergeItemStack(stack1, 4, 31, false))
					{
						return ItemStack.EMPTY;
					}
				}
			} 
			else if(!this.mergeItemStack(stack1, 4, 40, false)) 
			{
				return ItemStack.EMPTY;
			}
			if(stack1.isEmpty())
			{
				slot.putStack(ItemStack.EMPTY);
			}
			else
			{
				slot.onSlotChanged();

			}
			if(stack1.getCount() == stack.getCount()) return ItemStack.EMPTY;
			slot.onTake(playerIn, stack1);
		}
		return stack;
	}
}

 

 

 

GUI CLASS:

Spoiler

import will11690.mechanicraft.util.Reference;
import will11690.mechanicraft.blocks.machines.basicinfuser.ContainerBasicMetallicInfuser;
import will11690.mechanicraft.blocks.machines.basicinfuser.TileEntityBasicMetallicInfuser;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.ResourceLocation;

public class GuiBasicMetallicInfuser extends GuiContainer
{
	private static final ResourceLocation TEXTURES = new ResourceLocation(Reference.MOD_ID + ":textures/gui/basic_metallic_infuser.png");
	private final InventoryPlayer player;
	private final TileEntityBasicMetallicInfuser tileentity;
	
	public GuiBasicMetallicInfuser(InventoryPlayer player, TileEntityBasicMetallicInfuser tileentity) 
	{
		super(new ContainerBasicMetallicInfuser(player, tileentity));
		this.player = player;
		this.tileentity = tileentity;
	}
	
	@Override
	protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) 
	{
		String tileName = this.tileentity.getDisplayName().getUnformattedText();
		this.fontRenderer.drawString(tileName, (this.xSize / 2 - this.fontRenderer.getStringWidth(tileName) / 2) + 0, 4, 4210752);
		this.fontRenderer.drawString(this.player.getDisplayName().getUnformattedText(), 122, this.ySize - 96 + 2, 4210752);
	}
	
	@Override
	protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
	{
		GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f);
		this.mc.getTextureManager().bindTexture(TEXTURES);
		this.drawTexturedModalRect(this.guiLeft, this.guiTop, 0, 0, this.xSize, this.ySize);
		
		if(TileEntityBasicMetallicInfuser.isBurning(tileentity))
		{
			int k = this.getBurnLeftScaled(13);
			this.drawTexturedModalRect(this.guiLeft + 47, this.guiTop + 66 + 12 - k, 176, 12 - k, 14, k + 1);
		}
		
		int l = this.getCookProgressScaled(24);
		this.drawTexturedModalRect(this.guiLeft + 84, this.guiTop + 23, 176, 14, l + 1, 16);
	}
	
	private int getBurnLeftScaled(int pixels)
	{
		int i = this.tileentity.getField(1);
		if(i == 0) i = 200;
		return this.tileentity.getField(0) * pixels / i;
	}
	
	private int getCookProgressScaled(int pixels)
	{
		int i = this.tileentity.getField(2);
		int j = this.tileentity.getField(3);
		return j != 0 && i != 0 ? i * pixels / j : 0;
	}
}

 

 

 

TILE ENTITY:

 

package will11690.mechanicraft.blocks.machines.basicinfuser;

import will11690.mechanicraft.blocks.machines.basicinfuser.BasicMetallicInfuser;
import will11690.mechanicraft.blocks.machines.basicinfuser.BasicMetallicInfuserRecipes;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.ItemStackHelper;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemHoe;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import net.minecraft.item.ItemTool;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ITickable;
import net.minecraft.util.NonNullList;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentString;
import net.minecraft.util.text.TextComponentTranslation;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.energy.CapabilityEnergy;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.ItemStackHandler;

public class TileEntityBasicMetallicInfuser extends TileEntity implements ITickable
{
	private ItemStackHandler handler = new ItemStackHandler(4);
	private String customName;
	private ItemStack smelting = ItemStack.EMPTY;
	
	private int burnTime;
	private int currentBurnTime;
	private int cookTime;
	private int totalCookTime = 200;

	@Override
	public boolean hasCapability(Capability<?> capability, EnumFacing facing) 
	{
		if(capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) return true;
		else return false;
	}
	
	@Override
	public <T> T getCapability(Capability<T> capability, EnumFacing facing) 
	{
		if(capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) return (T) this.handler;
		return super.getCapability(capability, facing);
	}
	
	public boolean hasCustomName() 
	{
		return this.customName != null && !this.customName.isEmpty();
	}
	
	public void setCustomName(String customName) 
	{
		this.customName = customName;
	}
	
	@Override
	public ITextComponent getDisplayName() 
	{
		return this.hasCustomName() ? new TextComponentString(this.customName) : new TextComponentTranslation("container.basic_metallic_infuser");
	}
	
	@Override
	public void readFromNBT(NBTTagCompound compound)
	{
		super.readFromNBT(compound);
		this.handler.deserializeNBT(compound.getCompoundTag("Inventory"));
		this.burnTime = compound.getInteger("BurnTime");
		this.cookTime = compound.getInteger("CookTime");
		this.totalCookTime = compound.getInteger("CookTimeTotal");
		this.currentBurnTime = getItemBurnTime((ItemStack)this.handler.getStackInSlot(2));
		
		if(compound.hasKey("CustomName", 8)) this.setCustomName(compound.getString("CustomName"));
	}
	
	@Override
	public NBTTagCompound writeToNBT(NBTTagCompound compound) 
	{
		super.writeToNBT(compound);
		compound.setInteger("BurnTime", (short)this.burnTime);
		compound.setInteger("CookTime", (short)this.cookTime);
		compound.setInteger("CookTimeTotal", (short)this.totalCookTime);
		compound.setTag("Inventory", this.handler.serializeNBT());
		
		if(this.hasCustomName()) compound.setString("CustomName", this.customName);
		return compound;
	}
	
	public boolean isBurning() 
	{
		return this.burnTime > 0;
	}
	
	@SideOnly(Side.CLIENT)
	public static boolean isBurning(TileEntityBasicMetallicInfuser te) 
	{
		return te.getField(0) > 0;
	}
	
	public void update() 
	{	
		if(this.isBurning())
		{
			--this.burnTime;
			BasicMetallicInfuser.setState(true, world, pos);
		}
		
		ItemStack[] inputs = new ItemStack[] {handler.getStackInSlot(0), handler.getStackInSlot(1)};
		ItemStack fuel = this.handler.getStackInSlot(2);
		
		if(this.isBurning() || !fuel.isEmpty() && !this.handler.getStackInSlot(0).isEmpty() || this.handler.getStackInSlot(1).isEmpty())
		{
			if(!this.isBurning() && this.canSmelt())
			{
				this.burnTime = getItemBurnTime(fuel);
				this.currentBurnTime = burnTime;
				
				if(this.isBurning() && !fuel.isEmpty())
				{
					Item item = fuel.getItem();
					fuel.shrink(1);
					
					if(fuel.isEmpty())
					{
						ItemStack item1 = item.getContainerItem(fuel);
						this.handler.setStackInSlot(2, item1);
					}
				}
			}
		}
		
		if(this.isBurning() && this.canSmelt() && cookTime > 0)
		{
			cookTime++;
			if(cookTime == totalCookTime)
			{
				if(handler.getStackInSlot(3).getCount() > 0)
				{
					handler.getStackInSlot(3).grow(1);
				}
				else
				{
					handler.insertItem(3, smelting, false);
				}
				
				smelting = ItemStack.EMPTY;
				cookTime = 0;
				return;
			}
		}
		else
		{
			if(this.canSmelt() && this.isBurning())
			{
				ItemStack output = BasicMetallicInfuserRecipes.getInstance().getInfuserResult(inputs[0], inputs[1]);
				if(!output.isEmpty())
				{
					smelting = output;
					cookTime++;
					inputs[0].shrink(1);
					inputs[1].shrink(1);
					handler.setStackInSlot(0, inputs[0]);
					handler.setStackInSlot(1, inputs[1]);
				}
			}
		}
	}
	
	private boolean canSmelt() 
	{
		if(((ItemStack)this.handler.getStackInSlot(0)).isEmpty() || ((ItemStack)this.handler.getStackInSlot(1)).isEmpty()) return false;
		else 
		{
			ItemStack result = BasicMetallicInfuserRecipes.getInstance().getInfuserResult((ItemStack)this.handler.getStackInSlot(0), (ItemStack)this.handler.getStackInSlot(1));	
			if(result.isEmpty()) return false;
			else
			{
				ItemStack output = (ItemStack)this.handler.getStackInSlot(3);
				if(output.isEmpty()) return true;
				if(!output.isItemEqual(result)) return false;
				int res = output.getCount() + result.getCount();
				return res <= 64 && res <= output.getMaxStackSize();
			}
		}
	}
	
	public static int getItemBurnTime(ItemStack fuel) 
	{
		if(fuel.isEmpty()) return 0;
		else 
		{
			Item item = fuel.getItem();

			if (item instanceof ItemBlock && Block.getBlockFromItem(item) != Blocks.AIR) 
			{
				Block block = Block.getBlockFromItem(item);

				if (block == Blocks.WOODEN_SLAB) return 150;
				if (block.getDefaultState().getMaterial() == Material.WOOD) return 300;
				if (block == Blocks.COAL_BLOCK) return 16000;
			}

			if (item instanceof ItemTool && "WOOD".equals(((ItemTool)item).getToolMaterialName())) return 200;
			if (item instanceof ItemSword && "WOOD".equals(((ItemSword)item).getToolMaterialName())) return 200;
			if (item instanceof ItemHoe && "WOOD".equals(((ItemHoe)item).getMaterialName())) return 200;
			if (item == Items.STICK) return 100;
			if (item == Items.COAL) return 1600;
			if (item == Items.LAVA_BUCKET) return 20000;
			if (item == Item.getItemFromBlock(Blocks.SAPLING)) return 100;
			if (item == Items.BLAZE_ROD) return 2400;

			return GameRegistry.getFuelValue(fuel);
		}
	}
		
	public static boolean isItemFuel(ItemStack fuel)
	{
		return getItemBurnTime(fuel) > 0;
	}
	
	public boolean isUsableByPlayer(EntityPlayer player) 
	{
		return this.world.getTileEntity(this.pos) != this ? false : player.getDistanceSq((double)this.pos.getX() + 0.5D, (double)this.pos.getY() + 0.5D, (double)this.pos.getZ() + 0.5D) <= 64.0D;
	}

	public int getField(int id) 
	{
		switch(id) 
		{
		case 0:
			return this.burnTime;
		case 1:
			return this.currentBurnTime;
		case 2:
			return this.cookTime;
		case 3:
			return this.totalCookTime;
		default:
			return 0;
		}
	}

	public void setField(int id, int value) 
	{
		switch(id) 
		{
		case 0:
			this.burnTime = value;
			break;
		case 1:
			this.currentBurnTime = value;
			break;
		case 2:
			this.cookTime = value;
			break;
		case 3:
			this.totalCookTime = value;
		}
	}
}

 

Edited by Will11690
Updated tags and put code in spoilers

You can find my mod MechaniCraft at this link:

http://www.minecraftforge.net/forum/index.php/topic,13923.0.html

 

- Will11690

Posted
12 minutes ago, Will11690 said:

All of the source code for my furnace will be listed below

What is the formatting on your code? Why is it all left aligned? It is such a pain to read.

12 minutes ago, Will11690 said:

BLOCK CLASS:

You have so many unnecessary methods in here. All you need are Block#onBlockActivated (to open the GUI), Block#breakBlock (to drop all the contained items), Block# hasTIleEntity, Block#createTileEntity, Block#getStateForPlacement (to apply the FACING property correctly), Block#getStateFromMeta, Block#getMetaFromState, and Block#createBlockState

 

12 minutes ago, Will11690 said:

public void update()

This method can be shortened massively, and I mean massively. Also it really needs to be formatted for me to look at without wanting to find a nice scenic cliff.

 

12 minutes ago, Will11690 said:

CONTAINER CLASS:

 

12 minutes ago, Will11690 said:

GUI CLASS:

You posted your Container class twice.

 

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
2 hours ago, Animefan8888 said:

What is the formatting on your code? Why is it all left aligned? It is such a pain to read.

You have so many unnecessary methods in here. All you need are Block#onBlockActivated (to open the GUI), Block#breakBlock (to drop all the contained items), Block# hasTIleEntity, Block#createTileEntity, Block#getStateForPlacement (to apply the FACING property correctly), Block#getStateFromMeta, Block#getMetaFromState, and Block#createBlockState

 

This method can be shortened massively, and I mean massively. Also it really needs to be formatted for me to look at without wanting to find a nice scenic cliff.

 

 

You posted your Container class twice.

 

Sorry, my computer did that to me yesterday too with the left aligned thing, I didn't realize it did it again.

I was still half asleep, I will fix it now

You can find my mod MechaniCraft at this link:

http://www.minecraftforge.net/forum/index.php/topic,13923.0.html

 

- Will11690

Posted (edited)
3 hours ago, Will11690 said:

Sorry, my computer did that to me yesterday too with the left aligned thing, I didn't realize it did it again.

I was still half asleep, I will fix it now

Ight I fixed it the formatting and also fixed the double posting. I had to right click and copy in Eclipse instead of control c to copy for some reason lol.

Edited by Will11690

You can find my mod MechaniCraft at this link:

http://www.minecraftforge.net/forum/index.php/topic,13923.0.html

 

- Will11690

Posted
9 hours ago, Will11690 said:

if(this.isBurning() && this.canSmelt() && cookTime > 0)

This line in your update method is causing the problem cookTime is never able to be incremented. 

9 hours ago, Will11690 said:

public boolean isBurning() { return this.burnTime > 0; }

You can combine this method and consuming fuel so you only need to call it once.

9 hours ago, Will11690 said:

BasicMetallicInfuser.setState

There is no point in having this method in your Block class write the code in your TileEntity.

9 hours ago, Will11690 said:

TILE ENTITY:

You also need to override shouldRefresh and return true if the blocks are different, not the blockstates.

 

As well as my aforementioned changes.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
On 9/10/2018 at 5:37 PM, Animefan8888 said:

This line in your update method is causing the problem cookTime is never able to be incremented. 

You can combine this method and consuming fuel so you only need to call it once.

There is no point in having this method in your Block class write the code in your TileEntity.

You also need to override shouldRefresh and return true if the blocks are different, not the blockstates.

 

As well as my aforementioned changes.

Im not saying fix it for me but could you give me a couple examples? I've tried a few things with adding shouldRefresh and I can't seem to get it working. Also I have tooled around with the broken cook time section and I can get it "SEMI" working by changing this:

 

if(this.isBurning() && this.canSmelt() && cookTime > 0)
        {
            cookTime++;
            if(cookTime == totalCookTime)
            {
                if(handler.getStackInSlot(3).getCount() > 0)
                {

                    handler.getStackInSlot(3).grow(1);
                }
                else
                {
                    handler.insertItem(3, smelting, false);
                }
                
                smelting = ItemStack.EMPTY;
                cookTime = 0;
                return;
            }
        }

 

to this:

 

if(this.isBurning() && this.canSmelt() && cookTime > 0)
        {
            cookTime++;
            if(cookTime == totalCookTime)
            {
                if(handler.getStackInSlot(3).getCount() >= 0)
                {

                    handler.getStackInSlot(3).grow(1);
                }
                else
                {
                    handler.insertItem(3, smelting, false);
                }
                
                smelting = ItemStack.EMPTY;
                cookTime = 0;
                return;
            }
        }

 

but it only works if I put the output Item in the output slot. If I do that though it works 100% correct so long as the output item stays there.

 

I tried to add the breakBlock function in to drop the items but it whines about not having IInventory implemented in the tile entity and I'm not sure of another way to do it.

 

    public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
        
        TileEntityBasicMetallicInfuser tileentity = (TileEntityBasicMetallicInfuser)worldIn.getTileEntity(pos);
        InventoryHelper.dropInventoryItems(worldIn, pos, tileentity);
        super.breakBlock(worldIn, pos, state);
        
    }

You can find my mod MechaniCraft at this link:

http://www.minecraftforge.net/forum/index.php/topic,13923.0.html

 

- Will11690

Posted
4 hours ago, Will11690 said:

I tried to add the breakBlock function in to drop the items but it whines about not having IInventory implemented in the tile entity and I'm not sure of another way to do it.

Huh, I wonder if there is another way this could be done. Let's try looking at what InventoryHelper.dropInventoryItems does. Why not try to replicate it.

4 hours ago, Will11690 said:

I've tried a few things with adding shouldRefresh and I can't seem to get it working.

 

On 9/10/2018 at 2:37 PM, Animefan8888 said:

You also need to override shouldRefresh and return true if the blocks are different, not the blockstates.

 

4 hours ago, Will11690 said:

Also I have tooled around with the broken cook time section and I can get it "SEMI" working by changing this:

 

On 9/10/2018 at 2:37 PM, Animefan8888 said:

You can combine this method and consuming fuel so you only need to call it once.

if inputsAreRecipe

if isBurningOrHasFuel()

cookTime++

If cookTime >= done

output getOutputFromRecipe

removeInputs

insertItem(output)

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • 4 weeks later...
  • 2 years later...
Posted
On 10/15/2018 at 4:00 AM, Will11690 said:

I appreciate all the assistance! I finally got it working as intended.

Please share your code.... Having the exact same issues you mentioned but even with those answers I can't figure it out...

Posted
On 9/16/2018 at 11:39 PM, Animefan8888 said:

Huh, I wonder if there is another way this could be done. Let's try looking at what InventoryHelper.dropInventoryItems does. Why not try to replicate it.

 

 

 

if inputsAreRecipe

if isBurningOrHasFuel()

cookTime++

If cookTime >= done

output getOutputFromRecipe

removeInputs

insertItem(output)

 

8 minutes ago, loordgek said:

Leronus what version are you modding ?

 

1.12.2.... I know it's unsupported ;-;

Posted
package mod.mores.objects.blocks.machines;

import mod.mores.init.BlockInit;
import mod.mores.util.Reference;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemHoe;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import net.minecraft.item.ItemTool;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.play.server.SPacketUpdateTileEntity;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.ITickable;
import net.minecraft.util.NonNullList;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentString;
import net.minecraft.util.text.TextComponentTranslation;
import net.minecraft.world.World;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.event.ForgeEventFactory;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.items.CapabilityItemHandler;
import net.minecraftforge.items.ItemStackHandler;

import java.util.ArrayList;

public class TileEntityAlloyFurnace extends TileEntity implements ITickable {
    private ItemStackHandler inventory = new ItemStackHandler(NonNullList.withSize(4, ItemStack.EMPTY));
    private String customName;
    private ItemStack smelting = ItemStack.EMPTY;

    private static final String BURNTIME_KEY = "BurnTime";
    private static final String COOKTIME_KEY = "CookTime";
    private static final String COOKTIMETOTAL_KEY = "CookTimeTotal";

    private static final String INVENTORY_KEY = "inventory";
    private static final String CUSTOMNAME_KEY = "CustomName";

    public static final int INPUT_LEFT = 0;
    public static final int INPUT_RIGHT = 1;
    public static final int INPUT_FUEL = 2;
    public static final int OUTPUT = 3;

    public int burnTime = 0;
    public int currentBurnTime = 0;
    public int cookTime = 0;
    public int totalCookTime = 600;

    public TileEntityAlloyFurnace() {
        Reference.LOGGER.info("TileEntity is successfully bound to a block");
    }

    @Override
    public boolean shouldRefresh(World world, BlockPos pos, IBlockState oldState, IBlockState newState)
    {
        return (oldState.getBlock() != newState.getBlock());
    }

    @Override
    public boolean hasCapability(Capability<?> capability, EnumFacing facing) {
        // TODO Auto-generated method stub
        if (capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
            return true;
        return super.hasCapability(capability, facing);
    }

    @Override
    public <T> T getCapability(Capability<T> capability, EnumFacing facing) {
        // TODO Auto-generated method stub
        if (capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
            return (T) this.inventory;
        return super.getCapability(capability, facing);
    }

    public boolean hasCustomName() {

        return customName != null && !customName.isEmpty();
    }

    public void setCustomName(String customname) {
        this.customName = customname;
    }

    @Override
    public ITextComponent getDisplayName() {
        return this.hasCustomName() ? new TextComponentString(this.customName)
                : new TextComponentTranslation("container.alloy_furnace");
    }

    @Override
    public void readFromNBT(NBTTagCompound compound) {

        super.readFromNBT(compound);
        this.inventory.deserializeNBT(compound.getCompoundTag(INVENTORY_KEY));
        burnTime = compound.getInteger(BURNTIME_KEY);
        cookTime = compound.getInteger(COOKTIME_KEY);
        totalCookTime = compound.getInteger(COOKTIMETOTAL_KEY);
        currentBurnTime = getItemBurnTime((ItemStack) inventory.getStackInSlot(1));

        if (compound.hasKey(CUSTOMNAME_KEY, 8))
            setCustomName(compound.getString(CUSTOMNAME_KEY));
    }

    @Override
    public NBTTagCompound writeToNBT(NBTTagCompound compound) {

        super.writeToNBT(compound);
        compound.setInteger(BURNTIME_KEY, (short) burnTime);
        compound.setInteger(COOKTIME_KEY, (short) cookTime);
        compound.setInteger(COOKTIMETOTAL_KEY, (short) totalCookTime);
        compound.setTag(INVENTORY_KEY, this.inventory.serializeNBT());

        if (hasCustomName())
            compound.setString(CUSTOMNAME_KEY, customName);
        return compound;
    }

    public boolean isBurning() {
        return burnTime > 0;
    }

    @SideOnly(Side.CLIENT)
    public static boolean isBurning(TileEntityAlloyFurnace te) {
        return te.burnTime > 0;
    }

    public static void setState(boolean active, World worldIn, BlockPos pos) {
        IBlockState state = worldIn.getBlockState(pos);
        TileEntity tileentity = worldIn.getTileEntity(pos);

        if (active)
            worldIn.setBlockState(pos, BlockInit.ALLOY_FURNACE.getDefaultState()
                    .withProperty(BlockAlloyFurnace.FACING, state.getValue(BlockAlloyFurnace.FACING)).withProperty(BlockAlloyFurnace.BURNING, true), 1 | 2);
        else
            worldIn.setBlockState(pos, BlockInit.ALLOY_FURNACE.getDefaultState()
                    .withProperty(BlockAlloyFurnace.FACING, state.getValue(BlockAlloyFurnace.FACING)).withProperty(BlockAlloyFurnace.BURNING, false), 1 | 2);

        if (tileentity != null) {
            tileentity.validate();
            worldIn.setTileEntity(pos, tileentity);
        }
    }


    @Override
    public void update() {
        boolean wasBurning = isBurning();
        boolean flag1 = false;

        if(this.isBurning())
        {
            --this.burnTime;
            setState(true, world, pos);
        }

        ItemStack[] inputs = new ItemStack[] {inventory.getStackInSlot(INPUT_LEFT), inventory.getStackInSlot(INPUT_RIGHT)};
        ItemStack fuel = this.inventory.getStackInSlot(INPUT_FUEL);

        if(this.isBurning() || !fuel.isEmpty() && !this.inventory.getStackInSlot(INPUT_LEFT).isEmpty() || !this.inventory.getStackInSlot(INPUT_RIGHT).isEmpty())
        {
            if(!this.isBurning() && this.canSmelt())
            {
                this.burnTime = getItemBurnTime(fuel);
                this.currentBurnTime = burnTime;

                if(this.isBurning() && !fuel.isEmpty())
                {
                    Item item = fuel.getItem();
                    fuel.shrink(1);

                    if(fuel.isEmpty())
                    {
                        ItemStack item1 = item.getContainerItem(fuel);
                        this.inventory.setStackInSlot(2, item1);
                    }
                }
            }
        }

        if(this.isBurning() && this.canSmelt() && cookTime > 0)
        {
            cookTime++;
            if(cookTime == totalCookTime)
            {
                if(inventory.getStackInSlot(3).getCount() > 0)
                {
                    inventory.getStackInSlot(3).grow(1);
                }
                else
                {
                    inventory.insertItem(3, smelting, false);
                }

                smelting = ItemStack.EMPTY;
                cookTime = 0;
                return;
            }
        }
        else
        {
            if(this.canSmelt() && this.isBurning())
            {
                ItemStack output = AlloyFurnaceRecipes.getInstance().getAlloyResult(inputs[0], inputs[1]);
                if(!output.isEmpty())
                {
                    smelting = output;
                    cookTime++;
                    inputs[0].shrink(1);
                    inputs[1].shrink(1);
                    inventory.setStackInSlot(0, inputs[0]);
                    inventory.setStackInSlot(1, inputs[1]);
                }
            }
        }
    }

    private boolean canSmelt() {
        if (((ItemStack) inventory.getStackInSlot(INPUT_LEFT)).isEmpty() || ((ItemStack) inventory.getStackInSlot(INPUT_RIGHT)).isEmpty())
            return false;
        else {
            ItemStack result1 = AlloyFurnaceRecipes.getInstance().getAlloyResult((ItemStack) inventory.getStackInSlot(INPUT_LEFT), (ItemStack) inventory.getStackInSlot(INPUT_RIGHT));
            if (result1.isEmpty())
                return false;
            else {
                ItemStack fuel = (ItemStack) inventory.getStackInSlot(INPUT_FUEL);
                ItemStack output = (ItemStack) inventory.getStackInSlot(OUTPUT);
                if(output.isEmpty()) return true;
                if(!output.isItemEqual(result1)) return false;
                int res1 = output.getCount() + result1.getCount();
                int res2 = fuel.getCount() + 1;
                return (res1 <= 64 && res1 <= output.getMaxStackSize())
                        || (res2 <= 64 && res2 <= fuel.getMaxStackSize());
            }
        }
    }

    public static int getItemBurnTime(ItemStack fuel) {
        if (fuel.isEmpty())
            return 0;
        else {
            Item item = fuel.getItem();

            if (item instanceof ItemBlock && Block.getBlockFromItem(item) != Blocks.AIR) {
                Block block = Block.getBlockFromItem(item);

                if (block == Blocks.WOODEN_SLAB)
                    return 100;
                if (block == Blocks.ACACIA_STAIRS || block == Blocks.OAK_STAIRS || block == Blocks.JUNGLE_STAIRS
                        || block == Blocks.BIRCH_STAIRS || block == Blocks.DARK_OAK_STAIRS
                        || block == Blocks.SPRUCE_STAIRS)
                    return 150;
                if (block.getDefaultState().getMaterial() == Material.WOOD)
                    return 200;
                if (block == Blocks.COAL_BLOCK)
                    return 14400;
            }

            if (item instanceof ItemTool && "WOOD".contentEquals(((ItemTool) item).getToolMaterialName()))
                return 180;
            if (item instanceof ItemSword && "WOOD".contentEquals(((ItemTool) item).getToolMaterialName()))
                return 180;
            if (item instanceof ItemHoe && "WOOD".contentEquals(((ItemTool) item).getToolMaterialName()))
                return 180;
            if (item == Items.STICK)
                return 50;
            if (item == Items.COAL)
                return 1600;
            if (item == Items.LAVA_BUCKET)
                return 20000;
            if (item == Item.getItemFromBlock(Blocks.SAPLING))
                return 70;
            if (item == Items.BLAZE_ROD)
                return 1600;

            return ForgeEventFactory.getItemBurnTime(fuel);
        }
    }

    public static boolean isItemFuel(ItemStack fuel) {
        return getItemBurnTime(fuel) > 0;
    }

    public boolean isUsableByPlayer(EntityPlayer player) {

        return world.getTileEntity(pos) == this && player.getDistanceSq((double) pos.getX() + 0.5D, (double) pos.getY() + 0.5D,
                (double) pos.getZ() + 0.5D) <= 64.0D;
    }

    public boolean isItemValidForSlot(int index, ItemStack stack) {
        if (index == 2 || index == 3)
            return false;
        if (index != 1)
            return true;
        else {
            return isItemFuel(stack);
        }
    }
    public final ArrayList<ItemStack> containerLists() {
        ArrayList<ItemStack> stackList = new ArrayList(inventory.getSlots());
        for (int i = 0; i < inventory.getSlots(); i++) {
            stackList.add(inventory.getStackInSlot(i));
        }
        return stackList;
    }

    public int getField(int id)
    {
        switch(id)
        {
            case 0:
                return this.burnTime;
            case 1:
                return this.currentBurnTime;
            case 2:
                return this.cookTime;
            case 3:
                return this.totalCookTime;
            default:
                return 0;
        }
    }

    public void setField(int id, int value)
    {
        switch(id)
        {
            case 0:
                this.burnTime = value;
                break;
            case 1:
                this.currentBurnTime = value;
                break;
            case 2:
                this.cookTime = value;
                break;
            case 3:
                this.totalCookTime = value;
        }
    }
    /*
    @Override
    public NBTTagCompound getUpdateTag() {
        return writeToNBT(new NBTTagCompound());
    }
     */


    /*
    @Override
    public SPacketUpdateTileEntity getUpdatePacket() {
        return null;
    }

     */

}
package mod.mores.objects.blocks.machines;

import mod.mores.init.BlockInit;
import mod.mores.init.ItemInit;
import mod.mores.modid.Mores;
import mod.mores.objects.BlockBase;
import mod.mores.particle.FlameParticle;
import mod.mores.particle.ParticleCustom;
import mod.mores.util.Reference;
import net.minecraft.block.Block;
import net.minecraft.block.BlockHorizontal;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyDirection;
import net.minecraft.block.state.BlockStateContainer;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.particle.Particle;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.SoundEvents;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemBucket;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.*;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidActionResult;
import net.minecraftforge.fluids.FluidUtil;
import net.minecraftforge.fluids.UniversalBucket;
import net.minecraftforge.fluids.capability.CapabilityFluidHandler;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.minecraftforge.items.CapabilityItemHandler;

import java.util.Random;

public class BlockAlloyFurnace extends Block {

    public static final PropertyDirection FACING = BlockHorizontal.FACING;
    public static final PropertyBool BURNING = PropertyBool.create("burning");


    public BlockAlloyFurnace(String name, Material material, CreativeTabs creativeTab) {
        super(material);
        setUnlocalizedName(name);
        setRegistryName(name);
        setCreativeTab(creativeTab);

        setSoundType(SoundType.ANVIL);
        setHardness(5.0f);
        setResistance(30.0f);
        setHarvestLevel("pickaxe", 1);
        setLightLevel(0.0f);
        // setLightOpacity(1);
        // setBlockUnbreakable();

        this.setDefaultState(
                this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH).withProperty(BURNING, false));

        BlockInit.BLOCKS.add(this);
        ItemInit.ITEMS.add(new ItemBlock(this).setRegistryName(this.getRegistryName()));
    }


    @Override
    public Item getItemDropped(IBlockState state, Random rand, int fortune) {
        return Item.getItemFromBlock(BlockInit.ALLOY_FURNACE);

    }

    @Override
    public ItemStack getItem(World worldIn, BlockPos pos, IBlockState state) {
        return new ItemStack(BlockInit.ALLOY_FURNACE);

    }

    @Override
    public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn,
                                    EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
        if(!worldIn.isRemote)
        {
            playerIn.openGui(Mores.instance, Reference.GUI_ALLOY_FURNACE, worldIn, pos.getX(), pos.getY(), pos.getZ());
        }
        return true;
    }

    @Override
    public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) {
        // TODO Auto-generated method stub

        if (!worldIn.isRemote) {

            IBlockState north = worldIn.getBlockState(pos.north());
            IBlockState south = worldIn.getBlockState(pos.south());
            IBlockState west = worldIn.getBlockState(pos.west());
            IBlockState east = worldIn.getBlockState(pos.east());
            EnumFacing face = (EnumFacing) state.getValue(FACING);

            if (face == EnumFacing.NORTH)
                face = EnumFacing.SOUTH;
            if (face == EnumFacing.SOUTH)
                face = EnumFacing.NORTH;
            if (face == EnumFacing.WEST)
                face = EnumFacing.EAST;
            if (face == EnumFacing.EAST)
                face = EnumFacing.WEST;
            worldIn.setBlockState(pos, state.withProperty(FACING, face), 2);
        }
    }


    @Override
    public int getLightValue(IBlockState state, IBlockAccess world, BlockPos pos) {
        // TODO Auto-generated method stub
        return state.getValue(BURNING).booleanValue() ? 15 : 0;
    }

    @Override
    public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY,
                                            float hitZ, int meta, EntityLivingBase placer, EnumHand hand) {
        // TODO Auto-generated method stub
        return this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite());
    }

    @Override
    public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer,
                                ItemStack stack) {
        // TODO Auto-generated method stub
        worldIn.setBlockState(pos,
                this.getDefaultState().withProperty(FACING, placer.getHorizontalFacing().getOpposite()), 2);
    }

    @Override
    public IBlockState withRotation(IBlockState state, Rotation rot) {
        // TODO Auto-generated method stub
        return state.withProperty(FACING, rot.rotate((EnumFacing) state.getValue(FACING)));
    }

    @Override
    public IBlockState withMirror(IBlockState state, Mirror mirrorIn) {
        // TODO Auto-generated method stub
        return state.withRotation(mirrorIn.toRotation((EnumFacing) state.getValue(FACING)));
    }

    @Override
    protected BlockStateContainer createBlockState() {
        // TODO Auto-generated method stub
        return new BlockStateContainer(this, new IProperty[] { BURNING, FACING });
    }

    @Override
    public IBlockState getStateFromMeta(int meta) {
        // TODO Auto-generated method stub
        EnumFacing facing = EnumFacing.getFront(meta);
        if (facing.getAxis() == EnumFacing.Axis.Y)
            facing = EnumFacing.NORTH;
        return this.getDefaultState().withProperty(FACING, facing);
    }

    @Override
    public int getMetaFromState(IBlockState state) {
        // TODO Auto-generated method stub
        return ((EnumFacing) state.getValue(FACING)).getIndex();
    }

    @Override
    public boolean hasTileEntity(IBlockState state) {
        // TODO Auto-generated method stub
        return true;
    }

    @Override
    public TileEntityAlloyFurnace createTileEntity(World world, IBlockState state) {
        // TODO Auto-generated method stub
        return new TileEntityAlloyFurnace();
    }

    @Override
    public void breakBlock(World worldIn, BlockPos pos, IBlockState state) {
        // TODO Auto-generated method stub
        TileEntity te = worldIn.getTileEntity(pos);
        if (te instanceof TileEntityAlloyFurnace) {
            for (ItemStack stack : ((TileEntityAlloyFurnace) te).containerLists()) {
                spawnAsEntity(worldIn, pos, stack);
            }
        }
        super.breakBlock(worldIn, pos, state);
    }

    @SideOnly(Side.CLIENT)
    @SuppressWarnings("incomplete-switch")
    public void randomDisplayTick(IBlockState stateIn, World worldIn, BlockPos pos, Random rand)
    {
        if (stateIn.getValue(BURNING))
        {
            EnumFacing enumfacing = (EnumFacing)stateIn.getValue(FACING);
            double d0 = (double)pos.getX() + 0.5D;
            double d1 = (double)pos.getY() + rand.nextDouble() * 6.0D / 16.0D;
            double d2 = (double)pos.getZ() + 0.5D;
            double d3 = 0.52D;
            double d4 = rand.nextDouble() * 0.6D - 0.3D;

            if (rand.nextDouble() < 0.1D)
            {
                worldIn.playSound((double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
            }

            switch (enumfacing) {
                case WEST:
                    worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 - 0.52D, d1, d2 + d4, 0.0D, 0.0D, 0.0D);
                    Particle newEffectWest = new ParticleCustom(new ParticleCustom.TextureDefinition("flame_fx"), worldIn, d0 - 0.52D, d1, d2 + d4, 0.0D, 0.0D, 0.0D);
                    Minecraft.getMinecraft().effectRenderer.addEffect(newEffectWest);
                    break;
                case EAST:
                    worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 + 0.52D, d1, d2 + d4, 0.0D, 0.0D, 0.0D);
                    Particle newEffectEast = new ParticleCustom(new ParticleCustom.TextureDefinition("flame_fx"), worldIn, d0 + 0.52D, d1, d2 + d4, 0.0D, 0.0D, 0.0D);
                    Minecraft.getMinecraft().effectRenderer.addEffect(newEffectEast);
                    break;
                case NORTH:
                    worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 + d4, d1, d2 - 0.52D, 0.0D, 0.0D, 0.0D);
                    Particle newEffectNorth = new ParticleCustom(new ParticleCustom.TextureDefinition("flame_fx"), worldIn, d0 + d4, d1, d2 - 0.52D, 0.0D, 0.0D, 0.0D);
                    Minecraft.getMinecraft().effectRenderer.addEffect(newEffectNorth);
                    break;
                case SOUTH:
                    worldIn.spawnParticle(EnumParticleTypes.SMOKE_NORMAL, d0 + d4, d1, d2 + 0.52D, 0.0D, 0.0D, 0.0D);
                    Particle newEffectSouth = new ParticleCustom(new ParticleCustom.TextureDefinition("flame_fx"), worldIn, d0 + d4, d1, d2 + 0.52D, 0.0D, 0.0D, 0.0D);
                    Minecraft.getMinecraft().effectRenderer.addEffect(newEffectSouth);
            }
        }
    }
}

 

This is what my code looks like, in case anyone does decide to help :))

The issues I have as of now is that removing the output items freezes all entities and removing an input or fuel will have the Furnace remaining in its burning state :( Have tried everything I could think of, searched every known 1.12.2 post known to man but to no avail *cries in 1.12.2*

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Extra virgin olive oil, not like regular oil, isn't always constantly processed thoroughly, so it keeps extra nutrients, antioxidants and nutrients that are important for our frame. Does olive oil reduce cholesterol  and guide heart health? Its normal consumption can reduce the risk of cardiovascular ailment because of the excess content of monounsaturated fats.
    • I've been playing on this single player modded world for about a month probably it's been working perfectly fine until this morning when i was playing, it crashed and said "invalid player id"  since this every subsequent attempt to rejoin the world results in that. all the other worlds i've made are still playable and i can create new worlds as well and they play fine. this is the latest [08:55:51] [main/INFO]: ModLauncher running: args [--username, Callousedbeans, --version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736952947979.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [08:55:51] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [08:55:53] [main/INFO]: Loading ImmediateWindowProvider fmlearlywindow [08:55:53] [main/INFO]: Trying GL version 4.6 [08:55:53] [main/INFO]: Requested GL version 4.6 got version 4.6 [08:55:54] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/14313/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [08:55:54] [pool-2-thread-1/INFO]: GL info: Intel(R) UHD Graphics GL version 4.6.0 - Build 27.20.100.8476, Intel [08:55:54] [main/INFO]: Found mod file AdditionalStructures-1.20.x-(v.4.2.2).jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file amendments-1.20-1.2.14.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file BiomesOPlenty-1.20.1-18.0.0.592.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobbledex-1.20.1-forge-1.1.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblemon O' Plenty 1.20.1 B.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-counter-1.5-forge-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblemon-forge-1.5.2+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-spawn-notification-1.5-forge-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-unchained-1.5-forge-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemonoutbreaks-1.1.4-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemonrider-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblepedia-Forge-0.6.8.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file comforts-forge-6.4.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cristellib-1.1.6-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file decorative_blocks-forge-1.20.1-4.1.3.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file journeymap-1.20.1-5.10.3-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file kotlinforforge-4.11.0-all.jar of type LIBRARY with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [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\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file mcw-furniture-3.3.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file modernfix-forge-5.20.0+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file moonlight-1.20-2.13.49-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file MouseTweaks-forge-mc1.20.1-2.25.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file mvs-4.1.4-1.20-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file packetfixer-forge-1.4.3-1.19-to-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Patchouli-1.20.1-84-FORGE.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file polytone-1.20-2.3.3.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file repurposed_structures-7.1.15+1.20.1-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file sophisticatedbackpacks-1.20.1-3.22.2.1172.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file sophisticatedcore-1.20.1-1.1.3.835.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file supplementaries-1.20-3.1.11.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file TerraBlender-forge-1.20.1-3.0.1.7.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Towns-and-Towers-1.12-Fabric+Forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.0\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.0\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.0\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.0\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/INFO]: Found mod file fmlcore-1.20.1-47.3.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file javafmllanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file lowcodelanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file mclanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file client-1.20.1-20230612.114412-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file forge-1.20.1-47.3.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [08:55:55] [main/INFO]: Found 10 dependencies adding them to mods collection [08:55:55] [main/INFO]: Found mod file MixinSquared-0.1.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file mixinextras-forge-0.4.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kfflib-4.11.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kffmod-4.11.0.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file exp4j-0.4.8.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file MixinExtras-0.4.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file jankson-1.2.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file mixinsquared-forge-0.1.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kfflang-4.11.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [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@95bb2a2 [08:56:01] [main/INFO]: Compatibility level set to JAVA_17 [08:56:01] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --username, Callousedbeans, --assetIndex, 5, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736952947979.json] [08:56:02] [main/INFO]: Loaded configuration file for ModernFix 5.20.0+mc1.20.1: 86 options available, 0 override(s) found [08:56:02] [main/INFO]: Applying Nashorn fix [08:56:02] [main/INFO]: Applied Forge config corruption patch [08:56:02] [main/WARN]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:02] [main/WARN]: Reference map 'packetfixer-forge-forge-refmap.json' for packetfixer-forge.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:02] [main/WARN]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:03] [main/WARN]: Error loading class: vectorwing/farmersdelight/client/renderer/HangingCanvasSignRenderer (java.lang.ClassNotFoundException: vectorwing.farmersdelight.client.renderer.HangingCanvasSignRenderer) [08:56:03] [main/WARN]: Error loading class: vectorwing/farmersdelight/client/renderer/CanvasSignRenderer (java.lang.ClassNotFoundException: vectorwing.farmersdelight.client.renderer.CanvasSignRenderer) [08:56:03] [main/ERROR]: Error occurred applying transform of coremod coremods/field_to_method.js function biome java.lang.IllegalStateException: Field f_47437_ is not private and an instance field at net.minecraftforge.coremod.api.ASMAPI.redirectFieldToMethod(ASMAPI.java:270) ~[coremods-5.1.6.jar:?] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$21$292A$\^eval\_.initializeCoreMod#transformer(<eval>:11) ~[?:?] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:648) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:111) ~[nashorn-core-15.3.jar:?] at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:22) ~[coremods-5.1.6.jar:5.1.6] at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:22) ~[coremods-5.1.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:14) ~[coremods-5.1.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:42) ~[coremods-5.1.6.jar:?] at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:117) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?] at cpw.mods.cl.ModuleClassLoader.getMaybeTransformedClassBytes(ModuleClassLoader.java:250) ~[securejarhandler-2.1.10.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:58) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$10(LaunchPluginHandler.java:100) ~[modlauncher-10.0.9.jar:?] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:222) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:207) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2005) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1017) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1007) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:895) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:867) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:775) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:539) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]... (109 KB left) this is the crash report [15Jan2025 09:18:53.804] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Callousedbeans, --version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736954330212.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [15Jan2025 09:18:53.811] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [15Jan2025 09:18:53.844] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [15Jan2025 09:18:53.862] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [15Jan2025 09:18:53.882] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [15Jan2025 09:18:53.900] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [15Jan2025 09:18:53.909] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config\fml.toml [15Jan2025 09:18:55.185] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [15Jan2025 09:18:55.191] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [15Jan2025 09:18:55.276] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [15Jan2025 09:18:55.346] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [15Jan2025 09:18:55.407] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [15Jan2025 09:18:55.407] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [15Jan2025 09:18:55.408] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [15Jan2025 09:18:55.409] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [15Jan2025 09:18:55.409] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [15Jan2025 09:18:55.411] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [15Jan2025 09:18:55.412] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading [15Jan2025 09:18:55.412] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 10.0.9+10.0.9+main.dcd20f30 [15Jan2025 09:18:55.413] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [15Jan2025 09:18:55.414] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 6.0.5+6.0.5+master.eb8e549b [15Jan2025 09:18:55.415] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [15Jan2025 09:18:55.417] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.1.6 [15Jan2025 09:18:55.419] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 7.0.1+7.0.1+master.d2b38bf6 [15Jan2025 09:18:55.419] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 5 [15Jan2025 09:18:55.420] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [15Jan2025 09:18:55.421] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [15Jan2025 09:18:55.431] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [15Jan2025 09:18:55.432] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [15Jan2025 09:18:55.457] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@37858383 [15Jan2025 09:18:55.496] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/14313/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [15Jan2025 09:18:55.506] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [15Jan2025 09:18:55.507] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.508] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.509] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.510] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.510] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.513] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [15Jan2025 09:18:55.514] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [15Jan2025 09:18:55.514] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [15Jan2025 09:18:55.515] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config\fml.toml [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [15Jan2025 09:18:55.521] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile [15Jan2025 09:18:55.526] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler [15Jan2025 09:18:55.527] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgeclient as launch service [15Jan2025 09:18:55.534] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: Intel(R) UHD Graphics GL version 4.6.0 - Build 27.20.100.8476, Intel [15Jan2025 09:18:55.559] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=47.3.0, mcVersion=1.20.1, mcpVersion=20230612.114412, forgeGroup=net.minecraftforge] [15Jan2025 09:18:55.566] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [15Jan2025 09:18:55.567] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg' [15Jan2025 09:18:55.569] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {} [15Jan2025 09:18:55.569] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [15Jan2025 09:18:55.570] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [15Jan2025 09:18:55.572] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [15Jan2025 09:18:55.572] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [15Jan2025 09:18:55.572] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan [15Jan2025 09:18:55.602] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: [] [15Jan2025 09:18:55.611] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [15Jan2025 09:18:55.611] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Dependency Locators : (JarInJar:null) [15Jan2025 09:18:55.629] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\AdditionalStructures-1.20.x-(v.4.2.2).jar [15Jan2025 09:18:55.715] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file AdditionalStructures-1.20.x-(v.4.2.2).jar with {additionalstructures} mods - versions {4.2.2} [15Jan2025 09:18:55.721] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\amendments-1.20-1.2.14.jar [15Jan2025 09:18:55.724] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file amendments-1.20-1.2.14.jar with {amendments} mods - versions {1.20-1.2.14} [15Jan2025 09:18:55.732] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\BiomesOPlenty-1.20.1-18.0.0.592.jar [15Jan2025 09:18:55.745] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file BiomesOPlenty-1.20.1-18.0.0.592.jar with {biomesoplenty} mods - versions {18.0.0.592} [15Jan2025 09:18:55.751] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobbledex-1.20.1-forge-1.1.0.jar [15Jan2025 09:18:55.755] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobbledex-1.20.1-forge-1.1.0.jar with {cobbledex} mods - versions {1.1.0} [15Jan2025 09:18:55.760] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblemon O' Plenty 1.20.1 B.2.0.jar [15Jan2025 09:18:55.762] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblemon O' Plenty 1.20.1 B.2.0.jar with {tmtcop} mods - versions {2.0.0} [15Jan2025 09:18:55.767] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-counter-1.5-forge-1.2.0.jar [15Jan2025 09:18:55.769] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-counter-1.5-forge-1.2.0.jar with {cobbled_counter} mods - versions {1.5-forge-1.2.0} [15Jan2025 09:18:55.821] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblemon-forge-1.5.2+1.20.1.jar [15Jan2025 09:18:55.823] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblemon-forge-1.5.2+1.20.1.jar with {cobblemon} mods - versions {1.5.2+1.20.1} [15Jan2025 09:18:55.829] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-spawn-notification-1.5-forge-1.2.0.jar [15Jan2025 09:18:55.831] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-spawn-notification-1.5-forge-1.2.0.jar with {spawn_notification} mods - versions {1.5-forge-1.2.0} [15Jan2025 09:18:55.839] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-unchained-1.5-forge-1.0.1.jar [15Jan2025 09:18:55.841] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-unchained-1.5-forge-1.0.1.jar with {unchained} mods - versions {1.5-forge-1.0.1} [15Jan2025 09:18:55.846] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemonoutbreaks-1.1.4-1.20.1.jar [15Jan2025 09:18:55.848] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemonoutbreaks-1.1.4-1.20.1.jar with {cobblemonoutbreaks} mods - versions {1.1.4-1.20.1} [15Jan2025 09:18:55.852] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemonrider-1.2.4.jar [15Jan2025 09:18:55.854] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemonrider-1.2.4.jar with {cobblemonrider} mods - versions {1.2.4} [15Jan2025 09:18:55.860] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblepedia-Forge-0.6.8.jar [15Jan2025 09:18:55.863] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblepedia-Forge-0.6.8.jar with {cobblepedia} mods - versions {0.6.8} [15Jan2025 09:18:55.869] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\comforts-forge-6.4.0+1.20.1.jar [15Jan2025 09:18:55.870] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file comforts-forge-6.4.0+1.20.1.jar with {comforts} mods - versions {6.4.0+1.20.1} [15Jan2025 09:18:55.875] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cristellib-1.1.6-forge.jar [15Jan2025 09:18:55.880] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cristellib-1.1.6-forge.jar with {cristellib} mods - versions {1.1.6} [15Jan2025 09:18:55.886] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\decorative_blocks-forge-1.20.1-4.1.3.jar [15Jan2025 09:18:55.889] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file decorative_blocks-forge-1.20.1-4.1.3.jar with {decorative_blocks} mods - versions {4.1.3} [15Jan2025 09:18:55.899] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\journeymap-1.20.1-5.10.3-forge.jar [15Jan2025 09:18:55.900] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file journeymap-1.20.1-5.10.3-forge.jar with {journeymap} mods - versions {5.10.3} [15Jan2025 09:18:55.981] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\mcw-doors-1.1.1forge-mc1.20.1.jar [15Jan2025 09:18:55.982] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file mcw-doors-1.1.1forge-mc1.20.1.jar with {mcwdoors} mods - versions {1.1.1} [15Jan2025 09:18:55.992] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\mcw-furniture-3.3.0-mc1.20.1forge.jar [15Jan2025 09:18:55.994] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file mcw-furniture-3.3.0-mc1.20.1forge.jar with {mcwfurnitures} mods - versions {3.3.0}... (493 KB left)
    • Add crash-reports with sites like https://mclo.gs/   Use Java 17 instead of Java 21
    • I've been playing on this single player modded world for about a month probably it's been working perfectly fine until this morning when i was playing, it crashed and said "invalid player id"  since this every subsequent attempt to rejoin the world results in that. all the other worlds i've made are still playable and i can create new worlds as well and they play fine. this is the latest [08:55:51] [main/INFO]: ModLauncher running: args [--username, Callousedbeans, --version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736952947979.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [08:55:51] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [08:55:53] [main/INFO]: Loading ImmediateWindowProvider fmlearlywindow [08:55:53] [main/INFO]: Trying GL version 4.6 [08:55:53] [main/INFO]: Requested GL version 4.6 got version 4.6 [08:55:54] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/14313/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [08:55:54] [pool-2-thread-1/INFO]: GL info: Intel(R) UHD Graphics GL version 4.6.0 - Build 27.20.100.8476, Intel [08:55:54] [main/INFO]: Found mod file AdditionalStructures-1.20.x-(v.4.2.2).jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file amendments-1.20-1.2.14.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file BiomesOPlenty-1.20.1-18.0.0.592.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobbledex-1.20.1-forge-1.1.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblemon O' Plenty 1.20.1 B.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-counter-1.5-forge-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblemon-forge-1.5.2+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-spawn-notification-1.5-forge-1.2.0.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemon-unchained-1.5-forge-1.0.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemonoutbreaks-1.1.4-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cobblemonrider-1.2.4.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Cobblepedia-Forge-0.6.8.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file comforts-forge-6.4.0+1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file cristellib-1.1.6-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file decorative_blocks-forge-1.20.1-4.1.3.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file journeymap-1.20.1-5.10.3-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file kotlinforforge-4.11.0-all.jar of type LIBRARY with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [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\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file mcw-furniture-3.3.0-mc1.20.1forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file modernfix-forge-5.20.0+mc1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file moonlight-1.20-2.13.49-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file MouseTweaks-forge-mc1.20.1-2.25.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file mvs-4.1.4-1.20-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file packetfixer-forge-1.4.3-1.19-to-1.20.1.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Patchouli-1.20.1-84-FORGE.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file polytone-1.20-2.3.3.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file repurposed_structures-7.1.15+1.20.1-forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file sophisticatedbackpacks-1.20.1-3.22.2.1172.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file sophisticatedcore-1.20.1-1.1.3.835.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file supplementaries-1.20-3.1.11.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file TerraBlender-forge-1.20.1-3.0.1.7.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:54] [main/INFO]: Found mod file Towns-and-Towers-1.12-Fabric+Forge.jar of type MOD with provider {mods folder locator at C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods} [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.0\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.0\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.0\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/WARN]: Mod file C:\Users\14313\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.0\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [08:55:55] [main/INFO]: Found mod file fmlcore-1.20.1-47.3.0.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file javafmllanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file lowcodelanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file mclanguage-1.20.1-47.3.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file client-1.20.1-20230612.114412-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/INFO]: Found mod file forge-1.20.1-47.3.0-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@64138b0c [08:55:55] [main/WARN]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [08:55:55] [main/INFO]: Found 10 dependencies adding them to mods collection [08:55:55] [main/INFO]: Found mod file MixinSquared-0.1.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file mixinextras-forge-0.4.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kfflib-4.11.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kffmod-4.11.0.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file exp4j-0.4.8.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file MixinExtras-0.4.0.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file jankson-1.2.3.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file mixinsquared-forge-0.1.1.jar of type GAMELIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [main/INFO]: Found mod file kfflang-4.11.0.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator@95bb2a2 [08:55:55] [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@95bb2a2 [08:56:01] [main/INFO]: Compatibility level set to JAVA_17 [08:56:01] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --username, Callousedbeans, --assetIndex, 5, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736952947979.json] [08:56:02] [main/INFO]: Loaded configuration file for ModernFix 5.20.0+mc1.20.1: 86 options available, 0 override(s) found [08:56:02] [main/INFO]: Applying Nashorn fix [08:56:02] [main/INFO]: Applied Forge config corruption patch [08:56:02] [main/WARN]: Reference map 'mvs-forge-refmap.json' for mvs-forge.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:02] [main/WARN]: Reference map 'packetfixer-forge-forge-refmap.json' for packetfixer-forge.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:02] [main/WARN]: Reference map 'cristellib-forge-refmap.json' for cristellib.mixins.json could not be read. If this is a development environment you can ignore this message [08:56:03] [main/WARN]: Error loading class: vectorwing/farmersdelight/client/renderer/HangingCanvasSignRenderer (java.lang.ClassNotFoundException: vectorwing.farmersdelight.client.renderer.HangingCanvasSignRenderer) [08:56:03] [main/WARN]: Error loading class: vectorwing/farmersdelight/client/renderer/CanvasSignRenderer (java.lang.ClassNotFoundException: vectorwing.farmersdelight.client.renderer.CanvasSignRenderer) [08:56:03] [main/ERROR]: Error occurred applying transform of coremod coremods/field_to_method.js function biome java.lang.IllegalStateException: Field f_47437_ is not private and an instance field at net.minecraftforge.coremod.api.ASMAPI.redirectFieldToMethod(ASMAPI.java:270) ~[coremods-5.1.6.jar:?] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$21$292A$\^eval\_.initializeCoreMod#transformer(<eval>:11) ~[?:?] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:648) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) ~[nashorn-core-15.3.jar:?] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.call(ScriptObjectMirror.java:111) ~[nashorn-core-15.3.jar:?] at net.minecraftforge.coremod.NashornFactory.lambda$getFunction$0(NashornFactory.java:22) ~[coremods-5.1.6.jar:5.1.6] at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:22) ~[coremods-5.1.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModClassTransformer.runCoremod(CoreModClassTransformer.java:14) ~[coremods-5.1.6.jar:?] at net.minecraftforge.coremod.transformer.CoreModBaseTransformer.transform(CoreModBaseTransformer.java:42) ~[coremods-5.1.6.jar:?] at cpw.mods.modlauncher.TransformerHolder.transform(TransformerHolder.java:41) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.performVote(ClassTransformer.java:179) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:117) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar:?] at cpw.mods.cl.ModuleClassLoader.getMaybeTransformedClassBytes(ModuleClassLoader.java:250) ~[securejarhandler-2.1.10.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.buildTransformedClassNodeFor(TransformingClassLoader.java:58) ~[modlauncher-10.0.9.jar:?] at cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$10(LaunchPluginHandler.java:100) ~[modlauncher-10.0.9.jar:?] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:222) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.getClassNode(MixinLaunchPluginLegacy.java:207) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.ClassInfo.forName(ClassInfo.java:2005) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.getTargetClass(MixinInfo.java:1017) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.readTargetClasses(MixinInfo.java:1007) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinInfo.parseTargets(MixinInfo.java:895) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepareMixins(MixinConfig.java:867) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinConfig.prepare(MixinConfig.java:775) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.prepareConfigs(MixinProcessor.java:539) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:462) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]... (109 KB left) this is the crash report [15Jan2025 09:18:53.804] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Callousedbeans, --version, forge-47.3.0, --gameDir, C:\Users\14313\curseforge\minecraft\Instances\Cobblemon, --assetsDir, C:\Users\14313\curseforge\minecraft\Install\assets, --assetIndex, 5, --uuid, 8006a7731afc4cdcb0a5c5f57edf6e02, --accessToken, ????????, --clientId, MzM4ZGY1MTYtZTAzOC00OTQ3LWEwMjktMjRlZDMwM2I4NGZi, --xuid, 2535451237089590, --userType, msa, --versionType, release, --width, 854, --height, 480, --quickPlayPath, C:\Users\14313\curseforge\minecraft\Install\quickPlay\java\1736954330212.json, --launchTarget, forgeclient, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [15Jan2025 09:18:53.811] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.8 by Microsoft; OS Windows 10 arch amd64 version 10.0 [15Jan2025 09:18:53.844] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [15Jan2025 09:18:53.862] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [15Jan2025 09:18:53.882] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [15Jan2025 09:18:53.900] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [15Jan2025 09:18:53.909] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config [15Jan2025 09:18:53.910] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config\fml.toml [15Jan2025 09:18:55.185] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [15Jan2025 09:18:55.191] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow [15Jan2025 09:18:55.276] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6 [15Jan2025 09:18:55.346] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6 [15Jan2025 09:18:55.407] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [15Jan2025 09:18:55.407] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [15Jan2025 09:18:55.408] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [15Jan2025 09:18:55.409] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [15Jan2025 09:18:55.409] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [15Jan2025 09:18:55.411] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [15Jan2025 09:18:55.412] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading [15Jan2025 09:18:55.412] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 10.0.9+10.0.9+main.dcd20f30 [15Jan2025 09:18:55.413] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [15Jan2025 09:18:55.414] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 6.0.5+6.0.5+master.eb8e549b [15Jan2025 09:18:55.415] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [15Jan2025 09:18:55.417] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.1.6 [15Jan2025 09:18:55.419] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 7.0.1+7.0.1+master.d2b38bf6 [15Jan2025 09:18:55.419] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 5 [15Jan2025 09:18:55.420] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [15Jan2025 09:18:55.421] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [15Jan2025 09:18:55.431] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [15Jan2025 09:18:55.432] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [15Jan2025 09:18:55.457] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@37858383 [15Jan2025 09:18:55.496] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/14313/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23100!/ Service=ModLauncher Env=CLIENT [15Jan2025 09:18:55.506] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [15Jan2025 09:18:55.507] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.508] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.509] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.510] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.510] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [15Jan2025 09:18:55.513] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [15Jan2025 09:18:55.514] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [15Jan2025 09:18:55.514] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [15Jan2025 09:18:55.515] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\config\fml.toml [15Jan2025 09:18:55.516] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [15Jan2025 09:18:55.521] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile [15Jan2025 09:18:55.526] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler [15Jan2025 09:18:55.527] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgeclient as launch service [15Jan2025 09:18:55.534] [pool-2-thread-1/INFO] [EARLYDISPLAY/]: GL info: Intel(R) UHD Graphics GL version 4.6.0 - Build 27.20.100.8476, Intel [15Jan2025 09:18:55.559] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=47.3.0, mcVersion=1.20.1, mcpVersion=20230612.114412, forgeGroup=net.minecraftforge] [15Jan2025 09:18:55.566] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [15Jan2025 09:18:55.567] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg' [15Jan2025 09:18:55.569] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {} [15Jan2025 09:18:55.569] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [15Jan2025 09:18:55.570] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [15Jan2025 09:18:55.572] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [15Jan2025 09:18:55.572] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [15Jan2025 09:18:55.572] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan [15Jan2025 09:18:55.602] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: [] [15Jan2025 09:18:55.611] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [15Jan2025 09:18:55.611] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Dependency Locators : (JarInJar:null) [15Jan2025 09:18:55.629] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\AdditionalStructures-1.20.x-(v.4.2.2).jar [15Jan2025 09:18:55.715] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file AdditionalStructures-1.20.x-(v.4.2.2).jar with {additionalstructures} mods - versions {4.2.2} [15Jan2025 09:18:55.721] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\amendments-1.20-1.2.14.jar [15Jan2025 09:18:55.724] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file amendments-1.20-1.2.14.jar with {amendments} mods - versions {1.20-1.2.14} [15Jan2025 09:18:55.732] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\BiomesOPlenty-1.20.1-18.0.0.592.jar [15Jan2025 09:18:55.745] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file BiomesOPlenty-1.20.1-18.0.0.592.jar with {biomesoplenty} mods - versions {18.0.0.592} [15Jan2025 09:18:55.751] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobbledex-1.20.1-forge-1.1.0.jar [15Jan2025 09:18:55.755] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobbledex-1.20.1-forge-1.1.0.jar with {cobbledex} mods - versions {1.1.0} [15Jan2025 09:18:55.760] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblemon O' Plenty 1.20.1 B.2.0.jar [15Jan2025 09:18:55.762] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblemon O' Plenty 1.20.1 B.2.0.jar with {tmtcop} mods - versions {2.0.0} [15Jan2025 09:18:55.767] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-counter-1.5-forge-1.2.0.jar [15Jan2025 09:18:55.769] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-counter-1.5-forge-1.2.0.jar with {cobbled_counter} mods - versions {1.5-forge-1.2.0} [15Jan2025 09:18:55.821] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblemon-forge-1.5.2+1.20.1.jar [15Jan2025 09:18:55.823] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblemon-forge-1.5.2+1.20.1.jar with {cobblemon} mods - versions {1.5.2+1.20.1} [15Jan2025 09:18:55.829] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-spawn-notification-1.5-forge-1.2.0.jar [15Jan2025 09:18:55.831] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-spawn-notification-1.5-forge-1.2.0.jar with {spawn_notification} mods - versions {1.5-forge-1.2.0} [15Jan2025 09:18:55.839] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemon-unchained-1.5-forge-1.0.1.jar [15Jan2025 09:18:55.841] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemon-unchained-1.5-forge-1.0.1.jar with {unchained} mods - versions {1.5-forge-1.0.1} [15Jan2025 09:18:55.846] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemonoutbreaks-1.1.4-1.20.1.jar [15Jan2025 09:18:55.848] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemonoutbreaks-1.1.4-1.20.1.jar with {cobblemonoutbreaks} mods - versions {1.1.4-1.20.1} [15Jan2025 09:18:55.852] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cobblemonrider-1.2.4.jar [15Jan2025 09:18:55.854] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cobblemonrider-1.2.4.jar with {cobblemonrider} mods - versions {1.2.4} [15Jan2025 09:18:55.860] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\Cobblepedia-Forge-0.6.8.jar [15Jan2025 09:18:55.863] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Cobblepedia-Forge-0.6.8.jar with {cobblepedia} mods - versions {0.6.8} [15Jan2025 09:18:55.869] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\comforts-forge-6.4.0+1.20.1.jar [15Jan2025 09:18:55.870] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file comforts-forge-6.4.0+1.20.1.jar with {comforts} mods - versions {6.4.0+1.20.1} [15Jan2025 09:18:55.875] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\cristellib-1.1.6-forge.jar [15Jan2025 09:18:55.880] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file cristellib-1.1.6-forge.jar with {cristellib} mods - versions {1.1.6} [15Jan2025 09:18:55.886] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\decorative_blocks-forge-1.20.1-4.1.3.jar [15Jan2025 09:18:55.889] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file decorative_blocks-forge-1.20.1-4.1.3.jar with {decorative_blocks} mods - versions {4.1.3} [15Jan2025 09:18:55.899] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\journeymap-1.20.1-5.10.3-forge.jar [15Jan2025 09:18:55.900] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file journeymap-1.20.1-5.10.3-forge.jar with {journeymap} mods - versions {5.10.3} [15Jan2025 09:18:55.981] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\mcw-doors-1.1.1forge-mc1.20.1.jar [15Jan2025 09:18:55.982] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file mcw-doors-1.1.1forge-mc1.20.1.jar with {mcwdoors} mods - versions {1.1.1} [15Jan2025 09:18:55.992] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\14313\curseforge\minecraft\Instances\Cobblemon\mods\mcw-furniture-3.3.0-mc1.20.1forge.jar [15Jan2025 09:18:55.994] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file mcw-furniture-3.3.0-mc1.20.1forge.jar with {mcwfurnitures} mods - versions {3.3.0}... (493 KB left)
    • [16Jan2025 00:33:16.640] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.3.22, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [16Jan2025 00:33:16.649] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 21.0.5 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0 [16Jan2025 00:33:18.382] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver [16Jan2025 00:33:18.395] [main/INFO] [com.teampotato.redirector.Redirector/]: Redirector CoreMod initialized successfully! [16Jan2025 00:33:18.403] [main/INFO] [mixin-transmog/]: Mixin Transmogrifier is definitely up to no good... [16Jan2025 00:33:18.440] [main/INFO] [mixin-transmog/]: crimes against java were committed [16Jan2025 00:33:18.481] [main/INFO] [mixin-transmog/]: Original mixin transformation service successfully crobbed by mixin-transmogrifier! [16Jan2025 00:33:18.551] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/Admin/Desktop/1.20.1/mods/Connector-1.0.0-beta.46+1.20.1.jar%23209%23213!/ Service=ModLauncher Env=SERVER [16Jan2025 00:33:19.431] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Admin\Desktop\1.20.1\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.22\fmlcore-1.20.1-47.3.22.jar is missing mods.toml file [16Jan2025 00:33:19.435] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Admin\Desktop\1.20.1\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.22\javafmllanguage-1.20.1-47.3.22.jar is missing mods.toml file [16Jan2025 00:33:19.438] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Admin\Desktop\1.20.1\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.22\lowcodelanguage-1.20.1-47.3.22.jar is missing mods.toml file [16Jan2025 00:33:19.441] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\Admin\Desktop\1.20.1\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.22\mclanguage-1.20.1-47.3.22.jar is missing mods.toml file [16Jan2025 00:33:20.031] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File:  and Mod File: . Using Mod File:  [16Jan2025 00:33:20.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 30 dependencies adding them to mods collection [16Jan2025 00:33:20.849] [main/INFO] [org.sinytra.connector.locator.DependencyResolver/]: Dependency resolution found 0 candidates to load [16Jan2025 00:33:22.698] [main/INFO] [org.sinytra.connector.service.hacks.ModuleLayerMigrator/]: Successfully made module authlib transformable [16Jan2025 00:33:24.980] [main/INFO] [mixin/]: Compatibility level set to JAVA_17 [16Jan2025 00:33:25.433] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] [16Jan2025 00:33:25.536] [main/WARN] [mixin/]: Reference map 'v_slab_compat-common-refmap.json' for v_slab_compat-common.mixins.json could not be read. If this is a development environment you can ignore this message [16Jan2025 00:33:25.691] [main/INFO] [ModernFix/]: Loaded configuration file for ModernFix 5.20.0+mc1.20.1: 86 options available, 0 override(s) found [16Jan2025 00:33:25.695] [main/INFO] [ModernFix/]: Applying Nashorn fix [16Jan2025 00:33:25.749] [main/INFO] [ModernFix/]: Applied Forge config corruption patch [16Jan2025 00:33:25.913] [main/WARN] [mixin/]: Reference map '' for mixins.blueprintfix.json could not be read. If this is a development environment you can ignore this message [16Jan2025 00:33:26.131] [main/WARN] [mixin/]: Reference map 'mes-forge-refmap.json' for mes-forge.mixins.json could not be read. If this is a development environment you can ignore this message [16Jan2025 00:33:26.185] [main/WARN] [mixin/]: Reference map 'coroutil.refmap.json' for coroutil.mixins.json could not be read. If this is a development environment you can ignore this message [16Jan2025 00:33:26.224] [main/INFO] [Puzzles Lib/]: Loading 129 mods:     - amendments 1.20-1.2.12     - another_furniture 1.20.1-3.0.1     - architectury 9.2.14     - ash_api 3.0.2+1.20.1     - athena 3.1.1     - autochefsdelight 1.0.5+forge     - azurelib 2.0.41     - balm 7.3.9         \-- kuma_api 20.1.8     - barteringstation 8.0.0     - betteradvancements 0.3.2.161     - betterdungeons 1.20-Forge-4.0.4     - betterendisland 1.20-Forge-2.0.6     - betterfortresses 1.20-Forge-2.0.6     - betterjungletemples 1.20-Forge-2.0.5     - bettermineshafts 1.20-Forge-4.0.4     - betteroceanmonuments 1.20-Forge-3.0.4     - betterstrongholds 1.20-Forge-4.0.3     - biomesoplenty 19.0.0.93     - blue_skies 1.3.31     - blueprint 7.1.0     - blueprintfix 1.0.0         \-- mixinsquared 0.2.0-beta.6     - bookshelf 20.2.13     - bygonenether 1.3.2     - caelus 3.2.0+1.20.1     - carryon 2.1.2.7     - charmofundying 6.5.0+1.20.1         \-- spectrelib 0.13.15+1.20.1     - chefsdelight 1.0.3-forge-1.20.1     - citadel 2.6.0     - clientcrafting 1.20.1-1.8     - cloth_config 11.1.136     - clumps 12.0.0.4     - collective 7.87     - comforts 6.4.0+1.20.1     - connectorextras 1.9.2+1.20.1         |-- amecsapi 1.5.3+mc1.20-pre1         |-- connectorextras_architectury_bridge 1.9.2+1.20.1         |-- connectorextras_continuity_compat 1.9.2+1.20.1         |-- connectorextras_emi_bridge 1.9.2+1.20.1         |-- connectorextras_energy_bridge 1.9.2+1.20.1         |-- connectorextras_geckolib_fabric_compat 1.9.2+1.20.1         |-- connectorextras_jei_bridge 1.9.2+1.20.1         |-- connectorextras_kubejs_bridge 1.9.2+1.20.1         |-- connectorextras_modmenu_bridge 1.9.2+1.20.1             \-- modmenu 7.2.2         |-- connectorextras_rei_bridge 1.9.2+1.20.1         |-- connectorextras_terrablender_bridge 1.9.2+1.20.1         |-- forgeconfigapiport 8.0.0         \-- reach_entity_attributes 2.4.0     - connectormod 1.0.0-beta.46+1.20.1     - coroutil 1.20.1-1.3.7     - corpse 1.20.1-1.0.17     - crabbersdelight 1.1.4     - crawlondemand 1.20.x-1.0.0     - curios 5.11.0+1.20.1     - decorative_blocks 4.1.3     - diagonalfences 8.1.3         \-- diagonalblocks 8.0.2     - dragon_mounts_patches 1.0.0         \-- mixinextras 0.4.1     - dragonmounts 1.2.3-beta     - dungeons_arise 2.1.58-1.20.x     - dynamic_fps 3.7.7     - easyanvils 8.0.2     - easymagic 8.0.1     - elevatorid 1.20.1-lex-1.9     - endersdelight 1.0.3     - everycomp 1.20-2.7.7     - explorations 1.20.1-1.6.1     - extra_compat 1.5.22     - farmers_structures 1.0.0     - farmersdelight 1.20.1-1.2.6     - featurerecycler 1.0.1     - forge 47.3.22     - formations 1.0.3     - formationsnether 1.0.3     - formationsoverworld 1.0.4     - framework 0.7.8     - friendsandfoes 3.0.6     - galosphere 1.20.1-1.4.1     - geckoanimfix 1.0.0     - geckolib 4.7     - geophilic 2.1.0-mc1.20u1.20.2     - geophilic_reforged 1.2.0     - glitchcore 0.0.1.1     - goblintraders 1.9.3     - hearth_and_home 1.20.1-2.0.3     - hearths 1.0.0-mc1.20u1.20.1     - illagerinvasion 8.0.6     - immediatelyfast 1.3.3+1.20.4     - jei 15.20.0.104     - jeresources 1.4.0.247     - justenoughbreeding 1.5.0     - justenoughprofessions 3.0.1     - mes 1.3.1-1.20-forge     - minecraft 1.20.1     - modernfix 5.20.0+mc1.20.1     - moonlight 1.20-2.13.45     - mowziesmobs 1.6.4     - mr_blossom_blade 1.2     - nebs 1.8.0     - netherportalfix 13.0.1     - nethersdelight 1.20.1-4.0     - paintings 11.0.0.2     - palegarden 1.0.7     - pet_cemetery 2.0.0     - puzzleslib 8.1.25         \-- puzzlesaccessapi 8.0.7     - repurposed_structures 7.1.15+1.20.1-forge     - revampedwolf 1.20.1-5.0.0     - shieldexp 1.1.7a     - smarterfarmers 1.20-2.1.0     - sodiumoptionsmodcompat 1.0.0     - structorytowers 1.0.5     - structure_gel 2.16.2     - takesapillage 1.0.3     - temporalapi 1.6.7     - terrablender 3.0.1.7     - v_slab_compat 1.20-2.4     - villagersplus 3.1     - voidtotem 3.0.1     - waystones 14.1.6     - xaerominimap 24.7.1     - xaeroplus 2.25     - xaeroworldmap 1.39.2     - yungsapi 1.20-Forge-4.0.5     - yungsbridges 1.20-Forge-4.0.3     - zeta 1.0-24 [16Jan2025 00:33:26.258] [main/WARN] [mixin/]: Reference map '' for adapter.init.mixins.json could not be read. If this is a development environment you can ignore this message [16Jan2025 00:33:29.341] [main/INFO] [MixinExtras|Service/]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1). [16Jan2025 00:33:31.153] [main/INFO] [net.minecraft.server.Bootstrap/]: ModernFix reached bootstrap stage (18.33 s after launch) [16Jan2025 00:33:31.418] [main/WARN] [mixin/]: @Final field delegatesByName:Ljava/util/Map; in modernfix-forge.mixins.json:perf.forge_registry_alloc.ForgeRegistryMixin from mod modernfix should be final [16Jan2025 00:33:31.421] [main/WARN] [mixin/]: @Final field delegatesByValue:Ljava/util/Map; in modernfix-forge.mixins.json:perf.forge_registry_alloc.ForgeRegistryMixin from mod modernfix should be final [16Jan2025 00:33:33.921] [main/INFO] [net.minecraft.server.Bootstrap/]: Vanilla bootstrap took 2759 milliseconds [16Jan2025 00:33:38.669] [main/WARN] [mixin/]: Static binding violation: PRIVATE @Overwrite method m_47505_ in modernfix-common.mixins.json:perf.remove_biome_temperature_cache.BiomeMixin from mod modernfix cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.
  • Topics

×
×
  • Create New...

Important Information

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