Jump to content

Recommended Posts

Posted

Ya ya, im sure you get ton of these threads, but for some reason this isn't working. Im using forge 1.6.2, and I want an item to take 1 damage out of 64 when used to craft something. I made some code for it but I can only use it 3 times before it won't let me craft anymore but the item still has durability. Thanks for your help.

Base Mod class (the knife item is the one that should be able to be used more than once)

 

package mydeblob.mineedibles;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;

@Mod(modid="mineedibles", name="MineEdibles", version="1.0.0")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class MineEdibles {


        // The instance of your mod that Forge uses.
        @Instance("Sandwich")
        public static MineEdibles instance;
        private static Item breadslice;
        private static Item chickensandwich;
        private static Item steaksandwich;
        private static Item hamsandwich;
        private static Item supersandwich;
        private static Item chickenbit;
        private static Item steakbit;
        private static Item porkbit;
        public static Item tomatoseeds;
        public static Item tomatofruit;
        public static Block tomatocrop;
        public static Item rawbacon;
        private static Item cookedbacon;
        private static Item rawchickenbit;
        private static Item rawsteakbit;
        private static Item rawporkbit;
        public static Item knife;
        
        //Item Ids for the config file
        int breadsliceID;
        int chickensandwichID;
        int steaksandwichID;
        int hamsandwichID;
        int supersandwichID;
        int chickenbitID;
        int steakbitID;
        int porkbitID;
        int tomatoseedsID;
        int tomatocropID;
        int tomatofruitID;
        int rawbaconID;
        int cookedbaconID;
        int rawchickenbitID;
        int rawsteakbitID;
        int rawporkbitID;
        int knifeID;

        
        // Says where the client and server 'proxy' code is loaded.
        @SidedProxy(clientSide="mydeblob.mineedibles.client.ClientProxy", serverSide="mydeblob.mineedibles.CommonProxy")
        public static CommonProxy proxy;
        
        @EventHandler
        public void preInit(FMLPreInitializationEvent event) {
        	//Basic Configuration file
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	breadsliceID = config.get("Item IDs", "Bread Slice", 5000).getInt();
        	chickensandwichID = config.get("Item IDs", "Chicken Sandwich", 5001).getInt();
        	steaksandwichID = config.get("Item IDs", "Steak Sandwich", 5002).getInt();
        	hamsandwichID = config.get("Item IDs", "Ham Sandwich", 5003).getInt();
        	supersandwichID = config.get("Item IDs", "Super Sandwich", 5004).getInt();
        	chickenbitID = config.get("Item IDs", "Slice of Chicken", 5005).getInt();
        	steakbitID = config.get("Item IDs", "Slice of Steak", 5006).getInt();
        	porkbitID = config.get("Item IDs", "Slice of Pork", 5007).getInt();
        	tomatoseedsID = config.get("Item IDs", "Tomato Seeds", 5008).getInt();
        	tomatofruitID = config.get("Item IDs", "Tomato Fruit", 5009).getInt();
        	rawbaconID = config.get("Item IDs", "Raw Bacon", 50010).getInt();
        	cookedbaconID = config.get("Item IDs", "Cooked Bacon", 5011).getInt();
        	rawchickenbitID = config.get("Item IDs", "Raw Slice of Chicken", 5012).getInt();
        	rawsteakbitID = config.get("Item IDs", "Raw Slice of Beef", 5013).getInt();
        	rawporkbitID = config.get("Item IDs", "Raw Slice of Ham", 5014).getInt();
        	knifeID = config.get("Item IDs", "Knife", 5015).getInt();
        	config.save();
        }
        
        @EventHandler
        public void load(FMLInitializationEvent event) {
                proxy.registerRenderers();
                //Items
               breadslice = new Item(breadsliceID).setUnlocalizedName("breadslice").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:slicebread");
               chickensandwich = new ItemFood(chickensandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("chickensandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickensandwich");
               steaksandwich = new ItemFood(steaksandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("steaksandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steaksandwich");
               hamsandwich = new ItemFood(hamsandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("hamsandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:hamsandwich");
               supersandwich = new ItemFood(supersandwichID, 18, 1.4f, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 6, 1, 0.8f).setPotionEffect(Potion.moveSpeed.id, 6, 1, 0.8f).setUnlocalizedName("supersandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:supersandwich");
               chickenbit = new ItemFood(chickenbitID, 2, 0.4f, false).setUnlocalizedName("chickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickenbit");
               steakbit = new ItemFood(steakbitID, 2, 0.4f, false).setUnlocalizedName("steakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steakbit");
               porkbit = new ItemFood(porkbitID, 2, 0.4f, false).setUnlocalizedName("porkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:porkbit");
               tomatocrop = new TomatoCrop(tomatocropID).setUnlocalizedName("tomatocrop").func_111022_d("mineedibles:tomatocrop");
               tomatoseeds = new ItemSeeds(tomatoseedsID, tomatocrop.blockID, Block.tilledField.blockID).setUnlocalizedName("tomatoseeds").func_111206_d("mineedibles:tomatoseeds");
               tomatofruit = new ItemFood(tomatofruitID, 6, 0.8f, false).setUnlocalizedName("tomatofruit").func_111206_d("mineedibles:tomatofruit");
               rawbacon = new ItemFood(rawbaconID, 3, 0.3f, false).setUnlocalizedName("baconraw").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawbacon");
               cookedbacon = new ItemFood(cookedbaconID, 7, 0.6f, false).setUnlocalizedName("baconcooked").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:cookedbacon");
               rawchickenbit = new ItemFood(rawchickenbitID, 1, 0.2f, false).setUnlocalizedName("rawchickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawchickenbit");
               rawsteakbit = new ItemFood(rawsteakbitID, 1, 0.2f, false).setUnlocalizedName("rawsteakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawsteakbit");
               rawporkbit = new ItemFood(rawporkbitID, 1, 0.2f, false).setUnlocalizedName("rawporkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawporkbit");
               knife = new Item(knifeID).setUnlocalizedName("knife").setMaxDamage(64).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabTools).func_111206_d("mineedibles:knifeBlack");
               MinecraftForge.addGrassSeed(new ItemStack (tomatoseeds), 10);
               gameRegisters();
               languageRegisters();
               craftingRecipes();
               	//Smelting
               GameRegistry.addSmelting(MineEdibles.rawbacon.itemID, new ItemStack(MineEdibles.cookedbacon, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawchickenbit.itemID, new ItemStack(MineEdibles.chickenbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawsteakbit.itemID, new ItemStack(MineEdibles.steakbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawporkbit.itemID, new ItemStack(MineEdibles.porkbit, 1), 0.1f);




        }

        //Item and Block registeration
        private static void gameRegisters(){
        	GameRegistry.registerItem(breadslice, "Bread Slice");
        	GameRegistry.registerItem(chickensandwich, "Chicken Sandwich");
        	GameRegistry.registerItem(steaksandwich, "Steak Sandwich");
        	GameRegistry.registerItem(hamsandwich, "Ham Sandwich");
        	GameRegistry.registerItem(supersandwich, "Super Sandwich");
        	GameRegistry.registerItem(chickenbit, "Slice of Chicken");
        	GameRegistry.registerItem(steakbit, "Slice of Steak");
        	GameRegistry.registerItem(porkbit, "Slice of Ham");
        	GameRegistry.registerItem(tomatoseeds, "Tomato Seeds");
        	GameRegistry.registerItem(tomatofruit, "Tomato");
        	GameRegistry.registerBlock(tomatocrop, "Tomato Crop");
        	GameRegistry.registerItem(rawbacon, "Raw Bacon");
        	GameRegistry.registerItem(cookedbacon, "Cooked Bacon");
        	GameRegistry.registerItem(rawchickenbit, "Raw Slice of Chicken");
        	GameRegistry.registerItem(rawsteakbit, "Raw Slice of Steak");
        	GameRegistry.registerItem(rawporkbit, "Raw Slice of Ham");
        	GameRegistry.registerItem(knife, "Knife");
        	GameRegistry.registerCraftingHandler(new KnifeCraftingHandler());
        }
        //Item and Block in game name, languageregistry
        private static void languageRegisters(){
        	LanguageRegistry.addName(breadslice, "Bread Slice");
        	LanguageRegistry.addName(chickensandwich, "Chicken Sandwich");
        	LanguageRegistry.addName(steaksandwich, "Steak Sandwich");
        	LanguageRegistry.addName(hamsandwich, "Ham Sandwich");
        	LanguageRegistry.addName(supersandwich, "Super Sandwich");
        	LanguageRegistry.addName(chickenbit, "Slice of Chicken");
        	LanguageRegistry.addName(steakbit, "Slice of Steak");
        	LanguageRegistry.addName(porkbit, "Slice of Ham");
        	LanguageRegistry.addName(tomatoseeds, "Tomato Seeds");
        	LanguageRegistry.addName(tomatofruit, "Tomato");
        	LanguageRegistry.addName(rawbacon, "Raw Bacon");
        	LanguageRegistry.addName(rawchickenbit, "Raw Slice of Chicken");
        	LanguageRegistry.addName(rawsteakbit, "Raw Slice of Steak");
        	LanguageRegistry.addName(rawporkbit, "Raw Slice of Ham");
        	LanguageRegistry.addName(knife, "Knife");
        }
        //Crafting Recipes
        public void craftingRecipes(){
        	//Cooked meat slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.breadslice, 6), new ItemStack(ItemFood.bread));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, (new ItemStack(knife, 1, 0 ))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.steakbit, 3), new Object[]{ItemFood.beefCooked, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.porkbit, 3), new Object[]{ItemFood.porkCooked, (new ItemStack(knife, 1, 0))});
        	//Raw Meat Slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new Object[]{ItemFood.chickenRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new Object[]{ItemFood.beefRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new Object[]{ItemFood.porkRaw, (new ItemStack(knife, 1, 0))});
        	//Sandwiches
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new ItemStack(ItemFood.chickenRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new ItemStack(ItemFood.beefRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new ItemStack(ItemFood.porkRaw));
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.chickensandwich, 1), new Object[]{" B ", " C ", " B ", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked });
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.steaksandwich, 1), new Object[]{" B ", " S ", " B ", 'B', MineEdibles.breadslice, 'S', ItemFood.beefCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.hamsandwich, 1), new Object[]{" B ", " P ", " B ", 'B', MineEdibles.breadslice, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SCP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SPC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        
        	
        }
        @EventHandler
        public void postInit(FMLPostInitializationEvent event) {
                
        }
}

 

CraftingHandlerClass for the Item Knife

 

package mydeblob.mineedibles;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.ICraftingHandler;

public class KnifeCraftingHandler implements ICraftingHandler {

@Override
public void onCrafting(EntityPlayer player, ItemStack item,
		IInventory craftMatrix) {
	for (int i = 0; i < craftMatrix.getSizeInventory(); i++) {

		if (craftMatrix.getStackInSlot(i) != null) {
			ItemStack j = craftMatrix.getStackInSlot(i);

			if (j.getItem() != null && j.getItem() == MineEdibles.knife) {
				ItemStack k = new ItemStack(MineEdibles.knife, 2, (j.getItemDamage() + 1));

				if (k.getItemDamage() >= k.getMaxDamage()) {
					k.stackSize--;
				}
				craftMatrix.setInventorySlotContents(i, k);
			}
		}
	}

}

@Override
public void onSmelting(EntityPlayer player, ItemStack item) {
	// TODO Auto-generated method stub

}

}

 

Posted

No need for a crafting handler. In your ItemKnife.java:

 

@Override
public ItemStack getContainerItemStack(ItemStack itemStack)
{
	int alter = itemStack.getItemDamage() - 1;
	if(alter >= itemStack.getMaxDamage())
	{
		return null;
	}
	itemStack.setItemDamage(alter);
	return itemStack;
}

 

Will return the same stack that was used with the damage minus 1. If the changed damage is greater/equal compared to the maximum allowed damage, will 'break' the item by returning null.

Posted

Ok, I must be doing something wrong... I copied your code, and removed the craftinghandler class and now when I use the knife to craft something it allows me to use it once and then it disappears. Here is the new code

ItemKnife Class

 

package mydeblob.mineedibles;

import java.util.List;

import net.minecraft.block.Block;
import net.minecraft.block.BlockCocoa;
import net.minecraft.block.BlockColored;
import net.minecraft.block.BlockCrops;
import net.minecraft.block.BlockDirectional;
import net.minecraft.block.BlockLog;
import net.minecraft.block.BlockMushroom;
import net.minecraft.block.BlockSapling;
import net.minecraft.block.BlockStem;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.common.FakePlayerFactory;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.Event.Result;
import net.minecraftforge.event.entity.player.BonemealEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class ItemKnife extends Item
{

public ItemKnife(int par1) {
	super(par1);
	setMaxDamage(64);
	setMaxStackSize(1);
	setCreativeTab(CreativeTabs.tabTools);
}
@Override
public ItemStack getContainerItemStack(ItemStack itemStack)
{
	int alter = itemStack.getItemDamage() - 1;
	if(alter >= itemStack.getMaxDamage())
	{
		return null;
	}
	itemStack.setItemDamage(alter);
	return itemStack;
}
    
}

 

MainClass

 

package mydeblob.mineedibles;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;

@Mod(modid="mineedibles", name="MineEdibles", version="1.0.0")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class MineEdibles {


        // The instance of your mod that Forge uses.
        @Instance("Sandwich")
        public static MineEdibles instance;
        private static Item breadslice;
        private static Item chickensandwich;
        private static Item steaksandwich;
        private static Item hamsandwich;
        private static Item supersandwich;
        private static Item chickenbit;
        private static Item steakbit;
        private static Item porkbit;
        public static Item tomatoseeds;
        public static Item tomatofruit;
        public static Block tomatocrop;
        public static Item rawbacon;
        private static Item cookedbacon;
        private static Item rawchickenbit;
        private static Item rawsteakbit;
        private static Item rawporkbit;
        public static Item knife;
        
        //Item Ids for the config file
        int breadsliceID;
        int chickensandwichID;
        int steaksandwichID;
        int hamsandwichID;
        int supersandwichID;
        int chickenbitID;
        int steakbitID;
        int porkbitID;
        int tomatoseedsID;
        int tomatocropID;
        int tomatofruitID;
        int rawbaconID;
        int cookedbaconID;
        int rawchickenbitID;
        int rawsteakbitID;
        int rawporkbitID;
        int knifeID;

        
        // Says where the client and server 'proxy' code is loaded.
        @SidedProxy(clientSide="mydeblob.mineedibles.client.ClientProxy", serverSide="mydeblob.mineedibles.CommonProxy")
        public static CommonProxy proxy;
        
        @EventHandler
        public void preInit(FMLPreInitializationEvent event) {
        	//Basic Configuration file
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	breadsliceID = config.get("Item IDs", "Bread Slice", 5000).getInt();
        	chickensandwichID = config.get("Item IDs", "Chicken Sandwich", 5001).getInt();
        	steaksandwichID = config.get("Item IDs", "Steak Sandwich", 5002).getInt();
        	hamsandwichID = config.get("Item IDs", "Ham Sandwich", 5003).getInt();
        	supersandwichID = config.get("Item IDs", "Super Sandwich", 5004).getInt();
        	chickenbitID = config.get("Item IDs", "Slice of Chicken", 5005).getInt();
        	steakbitID = config.get("Item IDs", "Slice of Steak", 5006).getInt();
        	porkbitID = config.get("Item IDs", "Slice of Pork", 5007).getInt();
        	tomatoseedsID = config.get("Item IDs", "Tomato Seeds", 5008).getInt();
        	tomatofruitID = config.get("Item IDs", "Tomato Fruit", 5009).getInt();
        	rawbaconID = config.get("Item IDs", "Raw Bacon", 50010).getInt();
        	cookedbaconID = config.get("Item IDs", "Cooked Bacon", 5011).getInt();
        	rawchickenbitID = config.get("Item IDs", "Raw Slice of Chicken", 5012).getInt();
        	rawsteakbitID = config.get("Item IDs", "Raw Slice of Beef", 5013).getInt();
        	rawporkbitID = config.get("Item IDs", "Raw Slice of Ham", 5014).getInt();
        	knifeID = config.get("Item IDs", "Knife", 5015).getInt();
        	config.save();
        }
        
        @EventHandler
        public void load(FMLInitializationEvent event) {
                proxy.registerRenderers();
                //Items
               breadslice = new Item(breadsliceID).setUnlocalizedName("breadslice").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:slicebread");
               chickensandwich = new ItemFood(chickensandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("chickensandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickensandwich");
               steaksandwich = new ItemFood(steaksandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("steaksandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steaksandwich");
               hamsandwich = new ItemFood(hamsandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("hamsandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:hamsandwich");
               supersandwich = new ItemFood(supersandwichID, 18, 1.4f, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 6, 1, 0.8f).setPotionEffect(Potion.moveSpeed.id, 6, 1, 0.8f).setUnlocalizedName("supersandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:supersandwich");
               chickenbit = new ItemFood(chickenbitID, 2, 0.4f, false).setUnlocalizedName("chickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickenbit");
               steakbit = new ItemFood(steakbitID, 2, 0.4f, false).setUnlocalizedName("steakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steakbit");
               porkbit = new ItemFood(porkbitID, 2, 0.4f, false).setUnlocalizedName("porkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:porkbit");
               tomatocrop = new TomatoCrop(tomatocropID).setUnlocalizedName("tomatocrop").func_111022_d("mineedibles:tomatocrop");
               tomatoseeds = new ItemSeeds(tomatoseedsID, tomatocrop.blockID, Block.tilledField.blockID).setUnlocalizedName("tomatoseeds").func_111206_d("mineedibles:tomatoseeds");
               tomatofruit = new ItemFood(tomatofruitID, 6, 0.8f, false).setUnlocalizedName("tomatofruit").func_111206_d("mineedibles:tomatofruit");
               rawbacon = new ItemFood(rawbaconID, 3, 0.3f, false).setUnlocalizedName("baconraw").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawbacon");
               cookedbacon = new ItemFood(cookedbaconID, 7, 0.6f, false).setUnlocalizedName("baconcooked").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:cookedbacon");
               rawchickenbit = new ItemFood(rawchickenbitID, 1, 0.2f, false).setUnlocalizedName("rawchickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawchickenbit");
               rawsteakbit = new ItemFood(rawsteakbitID, 1, 0.2f, false).setUnlocalizedName("rawsteakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawsteakbit");
               rawporkbit = new ItemFood(rawporkbitID, 1, 0.2f, false).setUnlocalizedName("rawporkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawporkbit");
               knife = new ItemKnife(knifeID).setUnlocalizedName("knife").func_111206_d("mineedibles:knifeBlack");
               MinecraftForge.addGrassSeed(new ItemStack (tomatoseeds), 10);
               gameRegisters();
               languageRegisters();
               craftingRecipes();
               	//Smelting
               GameRegistry.addSmelting(MineEdibles.rawbacon.itemID, new ItemStack(MineEdibles.cookedbacon, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawchickenbit.itemID, new ItemStack(MineEdibles.chickenbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawsteakbit.itemID, new ItemStack(MineEdibles.steakbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawporkbit.itemID, new ItemStack(MineEdibles.porkbit, 1), 0.1f);




        }

        //Item and Block registeration
        private static void gameRegisters(){
        	GameRegistry.registerItem(breadslice, "Bread Slice");
        	GameRegistry.registerItem(chickensandwich, "Chicken Sandwich");
        	GameRegistry.registerItem(steaksandwich, "Steak Sandwich");
        	GameRegistry.registerItem(hamsandwich, "Ham Sandwich");
        	GameRegistry.registerItem(supersandwich, "Super Sandwich");
        	GameRegistry.registerItem(chickenbit, "Slice of Chicken");
        	GameRegistry.registerItem(steakbit, "Slice of Steak");
        	GameRegistry.registerItem(porkbit, "Slice of Ham");
        	GameRegistry.registerItem(tomatoseeds, "Tomato Seeds");
        	GameRegistry.registerItem(tomatofruit, "Tomato");
        	GameRegistry.registerBlock(tomatocrop, "Tomato Crop");
        	GameRegistry.registerItem(rawbacon, "Raw Bacon");
        	GameRegistry.registerItem(cookedbacon, "Cooked Bacon");
        	GameRegistry.registerItem(rawchickenbit, "Raw Slice of Chicken");
        	GameRegistry.registerItem(rawsteakbit, "Raw Slice of Steak");
        	GameRegistry.registerItem(rawporkbit, "Raw Slice of Ham");
        	GameRegistry.registerItem(knife, "Knife");

        }
        //Item and Block in game name, languageregistry
        private static void languageRegisters(){
        	LanguageRegistry.addName(breadslice, "Bread Slice");
        	LanguageRegistry.addName(chickensandwich, "Chicken Sandwich");
        	LanguageRegistry.addName(steaksandwich, "Steak Sandwich");
        	LanguageRegistry.addName(hamsandwich, "Ham Sandwich");
        	LanguageRegistry.addName(supersandwich, "Super Sandwich");
        	LanguageRegistry.addName(chickenbit, "Slice of Chicken");
        	LanguageRegistry.addName(steakbit, "Slice of Steak");
        	LanguageRegistry.addName(porkbit, "Slice of Ham");
        	LanguageRegistry.addName(tomatoseeds, "Tomato Seeds");
        	LanguageRegistry.addName(tomatofruit, "Tomato");
        	LanguageRegistry.addName(rawbacon, "Raw Bacon");
        	LanguageRegistry.addName(rawchickenbit, "Raw Slice of Chicken");
        	LanguageRegistry.addName(rawsteakbit, "Raw Slice of Steak");
        	LanguageRegistry.addName(rawporkbit, "Raw Slice of Ham");
        	LanguageRegistry.addName(knife, "Knife");
        }
        //Crafting Recipes
        public void craftingRecipes(){
        	//Cooked meat slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.breadslice, 6), new ItemStack(ItemFood.bread));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, knife});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.steakbit, 3), new Object[]{ItemFood.beefCooked, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.porkbit, 3), new Object[]{ItemFood.porkCooked, (new ItemStack(knife, 1, 0))});
        	//Raw Meat Slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new Object[]{ItemFood.chickenRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new Object[]{ItemFood.beefRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new Object[]{ItemFood.porkRaw, (new ItemStack(knife, 1, 0))});
        	//Sandwiches
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new ItemStack(ItemFood.chickenRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new ItemStack(ItemFood.beefRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new ItemStack(ItemFood.porkRaw));
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.chickensandwich, 1), new Object[]{" B ", " C ", " B ", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked });
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.steaksandwich, 1), new Object[]{" B ", " S ", " B ", 'B', MineEdibles.breadslice, 'S', ItemFood.beefCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.hamsandwich, 1), new Object[]{" B ", " P ", " B ", 'B', MineEdibles.breadslice, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SCP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SPC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        
        	
        }
        @EventHandler
        public void postInit(FMLPostInitializationEvent event) {
                
        }
}

 

I appreciate your help

Posted

Ok, Its only letting me use it once and then it is braking. Maybe something with the crafting recipes?

Heres the new code:

ItemKnife class

 

package mydeblob.mineedibles;

import net.minecraft.item.ItemStack;

public class ItemKnife extends ItemME{

public ItemKnife(int par1, String par2) {
	super(par1, par2);

}
@Override
public boolean hasContainerItem()
{
     return true;
}
@Override
public ItemStack getContainerItemStack(ItemStack itemStack)
{
	int alter = itemStack.getItemDamage() + 1;
	if(alter >= itemStack.getMaxDamage())
	{
		return null;
	}
	itemStack.setItemDamage(alter);
	return itemStack;
}

}

 

Main class

 

package mydeblob.mineedibles;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid="mineedibles", name="MineEdibles", version="1.0.0")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class MineEdibles {


// The instance of your mod that Forge uses.
@Instance("Sandwich")
public static MineEdibles instance;
private static Item breadslice;
private static Item chickensandwich;
private static Item steaksandwich;
private static Item hamsandwich;
private static Item supersandwich;
private static Item chickenbit;
private static Item steakbit;
private static Item porkbit;
public static Item tomatoseeds;
public static Item tomatofruit;
public static Block tomatocrop;
public static Item rawbacon;
private static Item cookedbacon;
private static Item rawchickenbit;
private static Item rawsteakbit;
private static Item rawporkbit;
public static Item knife;
public static Item cream;

//Item Ids for the config file
int breadsliceID;
int chickensandwichID;
int steaksandwichID;
int hamsandwichID;
int supersandwichID;
int chickenbitID;
int steakbitID;
int porkbitID;
int tomatoseedsID;
int tomatocropID;
int tomatofruitID;
int rawbaconID;
int cookedbaconID;
int rawchickenbitID;
int rawsteakbitID;
int rawporkbitID;
int knifeID;
int creamID;


// Says where the client and server 'proxy' code is loaded.
@SidedProxy(clientSide="mydeblob.mineedibles.client.ClientProxy", serverSide="mydeblob.mineedibles.CommonProxy")
public static CommonProxy proxy;

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	//Basic Configuration file
	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
	config.load();
	breadsliceID = config.get("Item IDs", "Bread Slice", 5000).getInt();
	chickensandwichID = config.get("Item IDs", "Chicken Sandwich", 5001).getInt();
	steaksandwichID = config.get("Item IDs", "Steak Sandwich", 5002).getInt();
	hamsandwichID = config.get("Item IDs", "Ham Sandwich", 5003).getInt();
	supersandwichID = config.get("Item IDs", "Super Sandwich", 5004).getInt();
	chickenbitID = config.get("Item IDs", "Slice of Chicken", 5005).getInt();
	steakbitID = config.get("Item IDs", "Slice of Steak", 5006).getInt();
	porkbitID = config.get("Item IDs", "Slice of Pork", 5007).getInt();
	tomatoseedsID = config.get("Item IDs", "Tomato Seeds", 5008).getInt();
	tomatocropID = config.get("Block IDs", "Tomato Crop", 500).getInt();
	tomatofruitID = config.get("Item IDs", "Tomato Fruit", 5009).getInt();
	rawbaconID = config.get("Item IDs", "Raw Bacon", 5010).getInt();
	cookedbaconID = config.get("Item IDs", "Cooked Bacon", 5011).getInt();
	rawchickenbitID = config.get("Item IDs", "Raw Slice of Chicken", 5012).getInt();
	rawsteakbitID = config.get("Item IDs", "Raw Slice of Beef", 5013).getInt();
	rawporkbitID = config.get("Item IDs", "Raw Slice of Ham", 5014).getInt();
	knifeID = config.get("Item IDs", "Knife", 5015).getInt();
	knifeID = config.get("Item IDs", "Bucket of Cream", 5016).getInt();
	config.save();
}

@EventHandler
public void load(FMLInitializationEvent event) {
	proxy.register();
	//Items
	breadslice = new ItemME(breadsliceID, "breadslice").setUnlocalizedName("breadslice").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood);
	chickensandwich = new ItemFoodME(chickensandwichID, 9, 0.8f, false, "chickensandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("chickensandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood);
	steaksandwich = new ItemFoodME(steaksandwichID, 9, 0.8f, false, "steaksandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("steaksandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood);
	hamsandwich = new ItemFoodME(hamsandwichID, 9, 0.8f, false, "hamsandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("hamsandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood);
	supersandwich = new ItemFoodME(supersandwichID, 18, 1.4f, false, "supersandwich").setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 6, 1, 0.8f).setPotionEffect(Potion.moveSpeed.id, 6, 1, 0.8f).setUnlocalizedName("supersandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood);
	chickenbit = new ItemFoodME(chickenbitID, 2, 0.4f, false, "chickenbit").setUnlocalizedName("chickenbit").setCreativeTab(CreativeTabs.tabFood);
	steakbit = new ItemFoodME(steakbitID, 2, 0.4f, false, "steakbit").setUnlocalizedName("steakbit").setCreativeTab(CreativeTabs.tabFood);
	porkbit = new ItemFoodME(porkbitID, 2, 0.4f, false, "porkbit").setUnlocalizedName("porkbit").setCreativeTab(CreativeTabs.tabFood);
	tomatocrop = new BlockCropME(tomatocropID, "tomatocrop", this.tomatoseedsID, this.tomatocropID).setUnlocalizedName("tomatocrop");
	tomatoseeds = new ItemSeedsME(tomatoseedsID, tomatocrop.blockID, 60).setUnlocalizedName("tomatoseeds").func_111206_d("mineedibles:tomatoseeds");
	tomatofruit = new ItemFoodME(tomatofruitID, 6, 0.8f, false, "tomatofruit").setUnlocalizedName("tomatofruit");
	rawbacon = new ItemFoodME(rawbaconID, 3, 0.3f, false, "rawbacon").setUnlocalizedName("baconraw").setCreativeTab(CreativeTabs.tabFood);
	cookedbacon = new ItemFoodME(cookedbaconID, 7, 0.6f, false, "cookedbacon").setUnlocalizedName("baconcooked").setCreativeTab(CreativeTabs.tabFood);
	rawchickenbit = new ItemFoodME(rawchickenbitID, 1, 0.2f, false, "rawchickenbit").setUnlocalizedName("rawchickenbit").setCreativeTab(CreativeTabs.tabFood);
	rawsteakbit = new ItemFoodME(rawsteakbitID, 1, 0.2f, false, "rawsteakbit").setUnlocalizedName("rawsteakbit").setCreativeTab(CreativeTabs.tabFood);
	rawporkbit = new ItemFoodME(rawporkbitID, 1, 0.2f, false, "rawporkbit").setUnlocalizedName("rawporkbit").setCreativeTab(CreativeTabs.tabFood);
	knife = new ItemME(knifeID, "knifeBlack").setUnlocalizedName("knifeBlack").setMaxDamage(64).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabTools);
	cream = new ItemCream(creamID, "cream").setUnlocalizedName("cream");
	MinecraftForge.addGrassSeed(new ItemStack (tomatoseeds), 10);
	gameRegisters();
	languageRegisters();
	craftingRecipes();
	//Smelting
	GameRegistry.addSmelting(MineEdibles.rawbacon.itemID, new ItemStack(MineEdibles.cookedbacon, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawchickenbit.itemID, new ItemStack(MineEdibles.chickenbit, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawsteakbit.itemID, new ItemStack(MineEdibles.steakbit, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawporkbit.itemID, new ItemStack(MineEdibles.porkbit, 1), 0.1f);




}

//Item and Block registeration
private static void gameRegisters(){
	GameRegistry.registerItem(breadslice, "Bread Slice");
	GameRegistry.registerItem(chickensandwich, "Chicken Sandwich");
	GameRegistry.registerItem(steaksandwich, "Steak Sandwich");
	GameRegistry.registerItem(hamsandwich, "Ham Sandwich");
	GameRegistry.registerItem(supersandwich, "Super Sandwich");
	GameRegistry.registerItem(chickenbit, "Slice of Chicken");
	GameRegistry.registerItem(steakbit, "Slice of Steak");
	GameRegistry.registerItem(porkbit, "Slice of Ham");
	GameRegistry.registerItem(tomatoseeds, "Tomato Seeds");
	GameRegistry.registerItem(tomatofruit, "Tomato");
	GameRegistry.registerBlock(tomatocrop, "Tomato Crop");
	GameRegistry.registerItem(rawbacon, "Raw Bacon");
	GameRegistry.registerItem(cookedbacon, "Cooked Bacon");
	GameRegistry.registerItem(rawchickenbit, "Raw Slice of Chicken");
	GameRegistry.registerItem(rawsteakbit, "Raw Slice of Steak");
	GameRegistry.registerItem(rawporkbit, "Raw Slice of Ham");
	GameRegistry.registerItem(knife, "Knife");

}
//Item and Block in game name, languageregistry
private static void languageRegisters(){
	LanguageRegistry.addName(breadslice, "Bread Slice");
	LanguageRegistry.addName(chickensandwich, "Chicken Sandwich");
	LanguageRegistry.addName(steaksandwich, "Steak Sandwich");
	LanguageRegistry.addName(hamsandwich, "Ham Sandwich");
	LanguageRegistry.addName(supersandwich, "Super Sandwich");
	LanguageRegistry.addName(chickenbit, "Slice of Chicken");
	LanguageRegistry.addName(steakbit, "Slice of Steak");
	LanguageRegistry.addName(porkbit, "Slice of Ham");
	LanguageRegistry.addName(tomatoseeds, "Tomato Seeds");
	LanguageRegistry.addName(tomatofruit, "Tomato");
	LanguageRegistry.addName(rawbacon, "Raw Bacon");
	LanguageRegistry.addName(cookedbacon, "Cooked Bacon");
	LanguageRegistry.addName(rawchickenbit, "Raw Slice of Chicken");
	LanguageRegistry.addName(rawsteakbit, "Raw Slice of Steak");
	LanguageRegistry.addName(rawporkbit, "Raw Slice of Ham");
	LanguageRegistry.addName(knife, "Knife");
}
//Crafting Recipes
public void craftingRecipes(){
	//Cooked meat slices
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.breadslice, 6), new ItemStack(ItemFood.bread));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.steakbit, 3), new Object[]{ItemFood.beefCooked, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.porkbit, 3), new Object[]{ItemFood.porkCooked, (new ItemStack(knife, 1, 0))});
	//Raw Meat Slices
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new Object[]{ItemFood.chickenRaw, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new Object[]{ItemFood.beefRaw, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new Object[]{ItemFood.porkRaw, (new ItemStack(knife, 1, 0))});
	//Sandwiches
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new ItemStack(ItemFood.chickenRaw));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new ItemStack(ItemFood.beefRaw));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new ItemStack(ItemFood.porkRaw));
	GameRegistry.addRecipe(new ItemStack(MineEdibles.chickensandwich, 1), new Object[]{" B ", " C ", " B ", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked });
	GameRegistry.addRecipe(new ItemStack(MineEdibles.steaksandwich, 1), new Object[]{" B ", " S ", " B ", 'B', MineEdibles.breadslice, 'S', ItemFood.beefCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.hamsandwich, 1), new Object[]{" B ", " P ", " B ", 'B', MineEdibles.breadslice, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SCP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SPC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	//cream
	GameRegistry.addShapelessRecipe(new ItemStack(MineEdibles.cream, 1), new Object []{ItemFood.bucketMilk, ItemFood.sugar});

}
@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}

 

Posted

Your knife has to have a maxDamage lol. In the constructor or the initialization, add:

 

setMaxDamage(maxDmgInteger);

 

Also, unless you make a new IRecipe instance, you'll have to do this to add your recipes:

 

for(int i = 0; i < knife.getMaxDamage(); i++)
{
     GameRegistry.addRecipe(new ItemStack(myCarvedItem), new Object[]
     {
          "top", "mid", "bot", 't', new ItemStack(knife, 1, i)
     });
}

Obviously that wouldn't be your recipe but any character that represents your knife will need to use i as the damage. This will actually add as many recipes as your item has max damage.

 

Remove:

if(alter > stack.getMaxDamage())
{
	return null;
}

Posted

Still doesn't work :/ I have no idea what I'm doing wrong. Spent about a hour looking through my code looking for any error that would cause it to not work. It still only lets me use it once.

ItemKnife Class

 

package mydeblob.mineedibles;

import net.minecraft.item.ItemStack;

public class ItemKnife extends ItemME{

public ItemKnife(int par1, String par2) {
	super(par1, par2);
	this.setMaxDamage(64);


}
@Override
public boolean hasContainerItem()
{
     return true;
}
@Override
public ItemStack getContainerItemStack(ItemStack itemStack)
{
	int alter = itemStack.getItemDamage() + 1;
	itemStack.setItemDamage(alter);
	return itemStack;
}


}

 

Main Class

 

package mydeblob.mineedibles;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid="mineedibles", name="MineEdibles", version="1.0.0")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class MineEdibles {


// The instance of your mod that Forge uses.
@Instance("Sandwich")
public static MineEdibles instance;
public static Item breadslice;
public static Item chickensandwich;
public static Item steaksandwich;
public static Item hamsandwich;
public static Item supersandwich;
public static Item chickenbit;
public static Item steakbit;
public static Item porkbit;
public static Item tomatoseeds;
public static Item tomatofruit;
public static Block tomatocrop;
public static Item rawbacon;
public static Item cookedbacon;
public static Item rawchickenbit;
public static Item rawsteakbit;
public static Item rawporkbit;
public static Item knife;
public static Item cream;
public static Item lettuceseeds;
public static Item lettuce;
public static Block lettucecrop;
public static Item fertilizer;
public static Item manure;


//Item Ids for the config file
int breadsliceID;
int chickensandwichID;
int steaksandwichID;
int hamsandwichID;
int supersandwichID;
int chickenbitID;
int steakbitID;
int porkbitID;
int tomatoseedsID;
int tomatocropID;
int tomatofruitID;
int rawbaconID;
int cookedbaconID;
int rawchickenbitID;
int rawsteakbitID;
int rawporkbitID;
int knifeID;
int creamID;
int lettuceseedsID;
int lettuceID;
int lettucecropID;
int fertilizerID;
int manureID;

public static CreativeTabs tabMineEdibles = new CreativeTabs("tabMineEdibles")
{
	public ItemStack getIconItemStack()
	{
		return new ItemStack(hamsandwich, 1);
	}
};


// Says where the client and server 'proxy' code is loaded.
@SidedProxy(clientSide="mydeblob.mineedibles.client.ClientProxy", serverSide="mydeblob.mineedibles.CommonProxy")
public static CommonProxy proxy;

@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	//Basic Configuration file
	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
	config.load();
	breadsliceID = config.get("Item IDs", "Bread Slice", 5000).getInt();
	chickensandwichID = config.get("Item IDs", "Chicken Sandwich", 5001).getInt();
	steaksandwichID = config.get("Item IDs", "Steak Sandwich", 5002).getInt();
	hamsandwichID = config.get("Item IDs", "Ham Sandwich", 5003).getInt();
	supersandwichID = config.get("Item IDs", "Super Sandwich", 5004).getInt();
	chickenbitID = config.get("Item IDs", "Slice of Chicken", 5005).getInt();
	steakbitID = config.get("Item IDs", "Slice of Steak", 5006).getInt();
	porkbitID = config.get("Item IDs", "Slice of Pork", 5007).getInt();
	tomatoseedsID = config.get("Item IDs", "Tomato Seeds", 5008).getInt();
	tomatocropID = config.get("Block IDs", "Tomato Crop", 500).getInt();
	tomatofruitID = config.get("Item IDs", "Tomato Fruit", 5009).getInt();
	rawbaconID = config.get("Item IDs", "Raw Bacon", 5010).getInt();
	cookedbaconID = config.get("Item IDs", "Cooked Bacon", 5011).getInt();
	rawchickenbitID = config.get("Item IDs", "Raw Slice of Chicken", 5012).getInt();
	rawsteakbitID = config.get("Item IDs", "Raw Slice of Beef", 5013).getInt();
	rawporkbitID = config.get("Item IDs", "Raw Slice of Ham", 5014).getInt();
	knifeID = config.get("Item IDs", "Knife", 5015).getInt();
	creamID = config.get("Item IDs", "Bucket of Cream", 5016).getInt();
	lettuceseedsID = config.get("Item IDs", "Lettuce Seeds", 5017).getInt();
	lettuceID = config.get("Item IDs", "Lettuce", 5018).getInt();
	lettucecropID = config.get("Block IDs", "Lettuce Crop", 501).getInt();
	fertilizerID = config.get("Item IDs", "Fertilizer", 5019).getInt();
	manureID = config.get("Item IDs", "Manure", 5020).getInt();
	config.save();
}

@EventHandler
public void load(FMLInitializationEvent event) {
	proxy.register();
	//Items
	breadslice = new ItemME(breadsliceID, "breadslice").setUnlocalizedName("breadslice").setMaxStackSize(64).setCreativeTab(tabMineEdibles);
	chickensandwich = new ItemFoodME(chickensandwichID, 9, 0.8f, false, "chickensandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("chickensandwich").setMaxStackSize(64).setCreativeTab(tabMineEdibles);
	steaksandwich = new ItemFoodME(steaksandwichID, 9, 0.8f, false, "steaksandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("steaksandwich").setMaxStackSize(64).setCreativeTab(tabMineEdibles);
	hamsandwich = new ItemFoodME(hamsandwichID, 9, 0.8f, false, "hamsandwich").setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("hamsandwich").setMaxStackSize(64).setCreativeTab(tabMineEdibles);
	supersandwich = new ItemFoodME(supersandwichID, 18, 1.4f, false, "supersandwich").setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 6, 1, 0.8f).setPotionEffect(Potion.moveSpeed.id, 6, 1, 0.8f).setUnlocalizedName("supersandwich").setMaxStackSize(64).setCreativeTab(tabMineEdibles);
	chickenbit = new ItemFoodME(chickenbitID, 2, 0.4f, false, "chickenbit").setUnlocalizedName("chickenbit").setCreativeTab(tabMineEdibles);
	steakbit = new ItemFoodME(steakbitID, 2, 0.4f, false, "steakbit").setUnlocalizedName("steakbit").setCreativeTab(tabMineEdibles);
	porkbit = new ItemFoodME(porkbitID, 2, 0.4f, false, "porkbit").setUnlocalizedName("porkbit").setCreativeTab(tabMineEdibles);
	tomatocrop = new BlockCropME(tomatocropID, "tomatocrop", this.tomatoseedsID, this.tomatocropID, .setUnlocalizedName("tomatocrop");
	tomatoseeds = new ItemSeedsME(tomatoseedsID, tomatocrop.blockID, 60, "tomatoseeds").setUnlocalizedName("tomatoseeds").setCreativeTab(tabMineEdibles);
	tomatofruit = new ItemFoodME(tomatofruitID, 6, 0.8f, false, "tomatofruit").setUnlocalizedName("tomatofruit").setCreativeTab(tabMineEdibles);
	rawbacon = new ItemFoodME(rawbaconID, 3, 0.3f, false, "rawbacon").setUnlocalizedName("baconraw").setCreativeTab(tabMineEdibles);
	cookedbacon = new ItemFoodME(cookedbaconID, 7, 0.6f, false, "cookedbacon").setUnlocalizedName("baconcooked").setCreativeTab(tabMineEdibles);
	rawchickenbit = new ItemFoodME(rawchickenbitID, 1, 0.2f, false, "rawchickenbit").setUnlocalizedName("rawchickenbit").setCreativeTab(tabMineEdibles);
	rawsteakbit = new ItemFoodME(rawsteakbitID, 1, 0.2f, false, "rawsteakbit").setUnlocalizedName("rawsteakbit").setCreativeTab(tabMineEdibles);
	rawporkbit = new ItemFoodME(rawporkbitID, 1, 0.2f, false, "rawporkbit").setUnlocalizedName("rawporkbit").setCreativeTab(tabMineEdibles);
	knife = new ItemME(knifeID, "knifeBlack").setUnlocalizedName("knifeBlack").setMaxStackSize(1).setCreativeTab(tabMineEdibles);
	cream = new ItemCream(creamID, "cream").setUnlocalizedName("cream").setCreativeTab(tabMineEdibles);
	lettucecrop = new BlockCropME(lettucecropID, "lettucecrop", this.lettuceseedsID, this.lettucecropID, 5).setUnlocalizedName("lettucecrop");
	lettuceseeds = new ItemSeedsME(lettuceseedsID, lettucecrop.blockID, 60, "lettuceseeds").setUnlocalizedName("lettuceseeds").setCreativeTab(tabMineEdibles);
	lettuce = new ItemFoodME(lettuceID, 6, 0.8f, false, "lettuce").setUnlocalizedName("lettuce").setCreativeTab(tabMineEdibles);
	fertilizer = new ItemFertilizer(fertilizerID, "fertilizer").setUnlocalizedName("fertilizer").setCreativeTab(tabMineEdibles);
	manure = new ItemME(manureID, "manure").setUnlocalizedName("manure").setCreativeTab(tabMineEdibles);
	MinecraftForge.addGrassSeed(new ItemStack (tomatoseeds), 10);
	gameRegisters();
	languageRegisters();
	craftingRecipes();
	//Smelting
	GameRegistry.addSmelting(MineEdibles.rawbacon.itemID, new ItemStack(MineEdibles.cookedbacon, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawchickenbit.itemID, new ItemStack(MineEdibles.chickenbit, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawsteakbit.itemID, new ItemStack(MineEdibles.steakbit, 1), 0.1f);
	GameRegistry.addSmelting(MineEdibles.rawporkbit.itemID, new ItemStack(MineEdibles.porkbit, 1), 0.1f);




}

//Item and Block registeration
private static void gameRegisters(){
	GameRegistry.registerItem(breadslice, "Bread Slice");
	GameRegistry.registerItem(chickensandwich, "Chicken Sandwich");
	GameRegistry.registerItem(steaksandwich, "Steak Sandwich");
	GameRegistry.registerItem(hamsandwich, "Ham Sandwich");
	GameRegistry.registerItem(supersandwich, "Super Sandwich");
	GameRegistry.registerItem(chickenbit, "Slice of Chicken");
	GameRegistry.registerItem(steakbit, "Slice of Steak");
	GameRegistry.registerItem(porkbit, "Slice of Ham");
	GameRegistry.registerItem(tomatoseeds, "Tomato Seeds");
	GameRegistry.registerItem(tomatofruit, "Tomato");
	GameRegistry.registerBlock(tomatocrop, "Tomato Crop");
	GameRegistry.registerItem(rawbacon, "Raw Bacon");
	GameRegistry.registerItem(cookedbacon, "Cooked Bacon");
	GameRegistry.registerItem(rawchickenbit, "Raw Slice of Chicken");
	GameRegistry.registerItem(rawsteakbit, "Raw Slice of Steak");
	GameRegistry.registerItem(rawporkbit, "Raw Slice of Ham");
	GameRegistry.registerItem(knife, "Knife");
	GameRegistry.registerItem(lettuceseeds, "Lettuce Seeds");
	GameRegistry.registerItem(lettuce, "Lettuce Fruit");
	GameRegistry.registerBlock(lettucecrop, "Lettuce Crop");
	GameRegistry.registerItem(fertilizer, "Fertilizer");
	GameRegistry.registerItem(manure, "Manure");

}
//Item and Block in game name, language registry
private static void languageRegisters(){
	LanguageRegistry.addName(breadslice, "Bread Slice");
	LanguageRegistry.addName(chickensandwich, "Chicken Sandwich");
	LanguageRegistry.addName(steaksandwich, "Steak Sandwich");
	LanguageRegistry.addName(hamsandwich, "Ham Sandwich");
	LanguageRegistry.addName(supersandwich, "Super Sandwich");
	LanguageRegistry.addName(chickenbit, "Slice of Chicken");
	LanguageRegistry.addName(steakbit, "Slice of Steak");
	LanguageRegistry.addName(porkbit, "Slice of Ham");
	LanguageRegistry.addName(tomatoseeds, "Tomato Seeds");
	LanguageRegistry.addName(tomatofruit, "Tomato");
	LanguageRegistry.addName(rawbacon, "Raw Bacon");
	LanguageRegistry.addName(cookedbacon, "Cooked Bacon");
	LanguageRegistry.addName(rawchickenbit, "Raw Slice of Chicken");
	LanguageRegistry.addName(rawsteakbit, "Raw Slice of Steak");
	LanguageRegistry.addName(rawporkbit, "Raw Slice of Ham");
	LanguageRegistry.addName(knife, "Knife");
	LanguageRegistry.addName(lettuceseeds, "Lettuce Seeds");
	LanguageRegistry.addName(lettuce, "Lettuce");
	LanguageRegistry.addName(fertilizer, "Fertilizer");
	LanguageRegistry.addName(manure, "Manure");
	LanguageRegistry.instance().addStringLocalization("itemGroup.tabMineEdibles", "en_US", "MineEdibles");
}
//Crafting Recipes
public void craftingRecipes(){
	//Cooked meat slices
	for(int i = 0; i < knife.getMaxDamage(); i++)

	{
		GameRegistry.addShapelessRecipe(new ItemStack(MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, (new ItemStack(knife, 1, i))});
	}
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.breadslice, 6), new ItemStack(ItemFood.bread));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.steakbit, 3), new Object[]{ItemFood.beefCooked, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.porkbit, 3), new Object[]{ItemFood.porkCooked, (new ItemStack(knife, 1, 0))});
	//Raw Meat Slices
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new Object[]{ItemFood.chickenRaw, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new Object[]{ItemFood.beefRaw, (new ItemStack(knife, 1, 0))});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new Object[]{ItemFood.porkRaw, (new ItemStack(knife, 1, 0))});
	//Sandwiches
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new ItemStack(ItemFood.chickenRaw));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new ItemStack(ItemFood.beefRaw));
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new ItemStack(ItemFood.porkRaw));
	GameRegistry.addRecipe(new ItemStack(MineEdibles.chickensandwich, 1), new Object[]{" B ", " C ", " B ", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked });
	GameRegistry.addRecipe(new ItemStack(MineEdibles.steaksandwich, 1), new Object[]{" B ", " S ", " B ", 'B', MineEdibles.breadslice, 'S', ItemFood.beefCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.hamsandwich, 1), new Object[]{" B ", " P ", " B ", 'B', MineEdibles.breadslice, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SCP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SPC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
	//creamy goodness
	GameRegistry.addShapelessRecipe(new ItemStack(MineEdibles.cream, 1), new Object []{ItemFood.bucketMilk, ItemFood.sugar});
	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.fertilizer), new Object []{ItemFood.fishRaw, MineEdibles.manure});

}
@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}

 

Posted

Guff is right but his code has mistakes!

 

First everything else 1 which is in the Item class is right.

You should change the - into a + (inside of the getContainerItemStack function) or you get problems^^

But eveything else is wrong what he made!

 

So first you register your item like that:

 

public static Item test = new yourItem(ItemID).setContainerItem(test);

 

now the Recipe!

You do not need to make a for loop. That make only lag. (I know it i made with this way about 2Million Recipes)

Its alot easier!

GameRegistry.addRecipe(new ItemStack(Item.diamond), new Object[]{"X", 'X', new ItemStack(test, 1, OreDictionary.WildCardValue)});

 

The WildCardValue or something like that (look inside of forge ordictionary class for the right name).

Is like 1.4.7 new ItemStack(item, 1,-1) this means he uses any damage he gets.

I hope it helps you,

 

Now to Guff.

You can use ForLoops. But at 100.000 Recipes the craftingtable starts to lag everytime you place or drag an item in/out of the craftingtabel.

 

So why don't you change your recipe because the way i explained makes only 1 recipe instead of how many your ItemDamage is.

Good Luck

Posted

I did this with an item that has 2048 max damage just to help him, and it doesn't make the crafting table lag. The only time it lags is if you shift-click the output.

Posted

Ya ya, im sure you get ton of these threads, but for some reason this isn't working. Im using forge 1.6.2, and I want an item to take 1 damage out of 64 when used to craft something. I made some code for it but I can only use it 3 times before it won't let me craft anymore but the item still has durability. Thanks for your help.

Base Mod class (the knife item is the one that should be able to be used more than once)

 

package mydeblob.mineedibles;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.ForgeHooks;
import net.minecraftforge.common.MinecraftForge;

@Mod(modid="mineedibles", name="MineEdibles", version="1.0.0")
@NetworkMod(clientSideRequired=true, serverSideRequired=false)
public class MineEdibles {


        // The instance of your mod that Forge uses.
        @Instance("Sandwich")
        public static MineEdibles instance;
        private static Item breadslice;
        private static Item chickensandwich;
        private static Item steaksandwich;
        private static Item hamsandwich;
        private static Item supersandwich;
        private static Item chickenbit;
        private static Item steakbit;
        private static Item porkbit;
        public static Item tomatoseeds;
        public static Item tomatofruit;
        public static Block tomatocrop;
        public static Item rawbacon;
        private static Item cookedbacon;
        private static Item rawchickenbit;
        private static Item rawsteakbit;
        private static Item rawporkbit;
        public static Item knife;
        
        //Item Ids for the config file
        int breadsliceID;
        int chickensandwichID;
        int steaksandwichID;
        int hamsandwichID;
        int supersandwichID;
        int chickenbitID;
        int steakbitID;
        int porkbitID;
        int tomatoseedsID;
        int tomatocropID;
        int tomatofruitID;
        int rawbaconID;
        int cookedbaconID;
        int rawchickenbitID;
        int rawsteakbitID;
        int rawporkbitID;
        int knifeID;

        
        // Says where the client and server 'proxy' code is loaded.
        @SidedProxy(clientSide="mydeblob.mineedibles.client.ClientProxy", serverSide="mydeblob.mineedibles.CommonProxy")
        public static CommonProxy proxy;
        
        @EventHandler
        public void preInit(FMLPreInitializationEvent event) {
        	//Basic Configuration file
        	Configuration config = new Configuration(event.getSuggestedConfigurationFile());
        	config.load();
        	breadsliceID = config.get("Item IDs", "Bread Slice", 5000).getInt();
        	chickensandwichID = config.get("Item IDs", "Chicken Sandwich", 5001).getInt();
        	steaksandwichID = config.get("Item IDs", "Steak Sandwich", 5002).getInt();
        	hamsandwichID = config.get("Item IDs", "Ham Sandwich", 5003).getInt();
        	supersandwichID = config.get("Item IDs", "Super Sandwich", 5004).getInt();
        	chickenbitID = config.get("Item IDs", "Slice of Chicken", 5005).getInt();
        	steakbitID = config.get("Item IDs", "Slice of Steak", 5006).getInt();
        	porkbitID = config.get("Item IDs", "Slice of Pork", 5007).getInt();
        	tomatoseedsID = config.get("Item IDs", "Tomato Seeds", 5008).getInt();
        	tomatofruitID = config.get("Item IDs", "Tomato Fruit", 5009).getInt();
        	rawbaconID = config.get("Item IDs", "Raw Bacon", 50010).getInt();
        	cookedbaconID = config.get("Item IDs", "Cooked Bacon", 5011).getInt();
        	rawchickenbitID = config.get("Item IDs", "Raw Slice of Chicken", 5012).getInt();
        	rawsteakbitID = config.get("Item IDs", "Raw Slice of Beef", 5013).getInt();
        	rawporkbitID = config.get("Item IDs", "Raw Slice of Ham", 5014).getInt();
        	knifeID = config.get("Item IDs", "Knife", 5015).getInt();
        	config.save();
        }
        
        @EventHandler
        public void load(FMLInitializationEvent event) {
                proxy.registerRenderers();
                //Items
               breadslice = new Item(breadsliceID).setUnlocalizedName("breadslice").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:slicebread");
               chickensandwich = new ItemFood(chickensandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("chickensandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickensandwich");
               steaksandwich = new ItemFood(steaksandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("steaksandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steaksandwich");
               hamsandwich = new ItemFood(hamsandwichID, 9, 0.8f, false).setPotionEffect(Potion.moveSpeed.id, 4, 0, 0.8f).setUnlocalizedName("hamsandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:hamsandwich");
               supersandwich = new ItemFood(supersandwichID, 18, 1.4f, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 6, 1, 0.8f).setPotionEffect(Potion.moveSpeed.id, 6, 1, 0.8f).setUnlocalizedName("supersandwich").setMaxStackSize(64).setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:supersandwich");
               chickenbit = new ItemFood(chickenbitID, 2, 0.4f, false).setUnlocalizedName("chickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:chickenbit");
               steakbit = new ItemFood(steakbitID, 2, 0.4f, false).setUnlocalizedName("steakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:steakbit");
               porkbit = new ItemFood(porkbitID, 2, 0.4f, false).setUnlocalizedName("porkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:porkbit");
               tomatocrop = new TomatoCrop(tomatocropID).setUnlocalizedName("tomatocrop").func_111022_d("mineedibles:tomatocrop");
               tomatoseeds = new ItemSeeds(tomatoseedsID, tomatocrop.blockID, Block.tilledField.blockID).setUnlocalizedName("tomatoseeds").func_111206_d("mineedibles:tomatoseeds");
               tomatofruit = new ItemFood(tomatofruitID, 6, 0.8f, false).setUnlocalizedName("tomatofruit").func_111206_d("mineedibles:tomatofruit");
               rawbacon = new ItemFood(rawbaconID, 3, 0.3f, false).setUnlocalizedName("baconraw").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawbacon");
               cookedbacon = new ItemFood(cookedbaconID, 7, 0.6f, false).setUnlocalizedName("baconcooked").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:cookedbacon");
               rawchickenbit = new ItemFood(rawchickenbitID, 1, 0.2f, false).setUnlocalizedName("rawchickenbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawchickenbit");
               rawsteakbit = new ItemFood(rawsteakbitID, 1, 0.2f, false).setUnlocalizedName("rawsteakbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawsteakbit");
               rawporkbit = new ItemFood(rawporkbitID, 1, 0.2f, false).setUnlocalizedName("rawporkbit").setCreativeTab(CreativeTabs.tabFood).func_111206_d("mineedibles:rawporkbit");
               knife = new Item(knifeID).setUnlocalizedName("knife").setMaxDamage(64).setMaxStackSize(1).setCreativeTab(CreativeTabs.tabTools).func_111206_d("mineedibles:knifeBlack");
               MinecraftForge.addGrassSeed(new ItemStack (tomatoseeds), 10);
               gameRegisters();
               languageRegisters();
               craftingRecipes();
               	//Smelting
               GameRegistry.addSmelting(MineEdibles.rawbacon.itemID, new ItemStack(MineEdibles.cookedbacon, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawchickenbit.itemID, new ItemStack(MineEdibles.chickenbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawsteakbit.itemID, new ItemStack(MineEdibles.steakbit, 1), 0.1f);
               GameRegistry.addSmelting(MineEdibles.rawporkbit.itemID, new ItemStack(MineEdibles.porkbit, 1), 0.1f);




        }

        //Item and Block registeration
        private static void gameRegisters(){
        	GameRegistry.registerItem(breadslice, "Bread Slice");
        	GameRegistry.registerItem(chickensandwich, "Chicken Sandwich");
        	GameRegistry.registerItem(steaksandwich, "Steak Sandwich");
        	GameRegistry.registerItem(hamsandwich, "Ham Sandwich");
        	GameRegistry.registerItem(supersandwich, "Super Sandwich");
        	GameRegistry.registerItem(chickenbit, "Slice of Chicken");
        	GameRegistry.registerItem(steakbit, "Slice of Steak");
        	GameRegistry.registerItem(porkbit, "Slice of Ham");
        	GameRegistry.registerItem(tomatoseeds, "Tomato Seeds");
        	GameRegistry.registerItem(tomatofruit, "Tomato");
        	GameRegistry.registerBlock(tomatocrop, "Tomato Crop");
        	GameRegistry.registerItem(rawbacon, "Raw Bacon");
        	GameRegistry.registerItem(cookedbacon, "Cooked Bacon");
        	GameRegistry.registerItem(rawchickenbit, "Raw Slice of Chicken");
        	GameRegistry.registerItem(rawsteakbit, "Raw Slice of Steak");
        	GameRegistry.registerItem(rawporkbit, "Raw Slice of Ham");
        	GameRegistry.registerItem(knife, "Knife");
        	GameRegistry.registerCraftingHandler(new KnifeCraftingHandler());
        }
        //Item and Block in game name, languageregistry
        private static void languageRegisters(){
        	LanguageRegistry.addName(breadslice, "Bread Slice");
        	LanguageRegistry.addName(chickensandwich, "Chicken Sandwich");
        	LanguageRegistry.addName(steaksandwich, "Steak Sandwich");
        	LanguageRegistry.addName(hamsandwich, "Ham Sandwich");
        	LanguageRegistry.addName(supersandwich, "Super Sandwich");
        	LanguageRegistry.addName(chickenbit, "Slice of Chicken");
        	LanguageRegistry.addName(steakbit, "Slice of Steak");
        	LanguageRegistry.addName(porkbit, "Slice of Ham");
        	LanguageRegistry.addName(tomatoseeds, "Tomato Seeds");
        	LanguageRegistry.addName(tomatofruit, "Tomato");
        	LanguageRegistry.addName(rawbacon, "Raw Bacon");
        	LanguageRegistry.addName(rawchickenbit, "Raw Slice of Chicken");
        	LanguageRegistry.addName(rawsteakbit, "Raw Slice of Steak");
        	LanguageRegistry.addName(rawporkbit, "Raw Slice of Ham");
        	LanguageRegistry.addName(knife, "Knife");
        }
        //Crafting Recipes
        public void craftingRecipes(){
        	//Cooked meat slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.breadslice, 6), new ItemStack(ItemFood.bread));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.chickenbit, 3), new Object[]{ItemFood.chickenCooked, (new ItemStack(knife, 1, 0 ))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.steakbit, 3), new Object[]{ItemFood.beefCooked, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.porkbit, 3), new Object[]{ItemFood.porkCooked, (new ItemStack(knife, 1, 0))});
        	//Raw Meat Slices
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new Object[]{ItemFood.chickenRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new Object[]{ItemFood.beefRaw, (new ItemStack(knife, 1, 0))});
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new Object[]{ItemFood.porkRaw, (new ItemStack(knife, 1, 0))});
        	//Sandwiches
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawchickenbit, 3), new ItemStack(ItemFood.chickenRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawsteakbit, 3), new ItemStack(ItemFood.beefRaw));
        	GameRegistry.addShapelessRecipe(new ItemStack (MineEdibles.rawporkbit, 3), new ItemStack(ItemFood.porkRaw));
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.chickensandwich, 1), new Object[]{" B ", " C ", " B ", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked });
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.steaksandwich, 1), new Object[]{" B ", " S ", " B ", 'B', MineEdibles.breadslice, 'S', ItemFood.beefCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.hamsandwich, 1), new Object[]{" B ", " P ", " B ", 'B', MineEdibles.breadslice, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SCP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "SPC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "PSC", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CSP", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        	GameRegistry.addRecipe(new ItemStack(MineEdibles.supersandwich, 1), new Object []{"BBB", "CPS", "BBB", 'B', MineEdibles.breadslice, 'C', ItemFood.chickenCooked, 'S', ItemFood.beefCooked, 'P', ItemFood.porkCooked});
        
        	
        }
        @EventHandler
        public void postInit(FMLPostInitializationEvent event) {
                
        }
}

 

CraftingHandlerClass for the Item Knife

 

package mydeblob.mineedibles;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.ICraftingHandler;

public class KnifeCraftingHandler implements ICraftingHandler {

@Override
public void onCrafting(EntityPlayer player, ItemStack item,
		IInventory craftMatrix) {
	for (int i = 0; i < craftMatrix.getSizeInventory(); i++) {

		if (craftMatrix.getStackInSlot(i) != null) {
			ItemStack j = craftMatrix.getStackInSlot(i);

			if (j.getItem() != null && j.getItem() == MineEdibles.knife) {
				ItemStack k = new ItemStack(MineEdibles.knife, 2, (j.getItemDamage() + 1));

				if (k.getItemDamage() >= k.getMaxDamage()) {
					k.stackSize--;
				}
				craftMatrix.setInventorySlotContents(i, k);
			}
		}
	}

}

@Override
public void onSmelting(EntityPlayer player, ItemStack item) {
	// TODO Auto-generated method stub

}

}

 

 

Ok look here buddy. I'm going to rock your world just use this. The code is a bit outdated but it should work mostly. Hope it works!

 

Crafting Handler:

package cyphereion.mods.patches.yogpack;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.ICraftingHandler;

public class CraftingHandler implements ICraftingHandler {
@Override
public void onCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix) {
	for (int i = 0; i < craftMatrix.getSizeInventory(); i++)
	{
		if (craftMatrix.getStackInSlot(i) != null)
		{
			ItemStack j = craftMatrix.getStackInSlot(i);
			if (j.getItem() != null && j.getItem() == ITEM) 
			{
				ItemStack k = new ItemStack(ITEM, 2, (j.getItemDamage() + 1)); 
				if (k.getItemDamage() >= k.getMaxDamage()) { 
					k.stackSize--; 
				}
				craftMatrix.setInventorySlotContents(i, k);
			}
		}
	}

}


@Override
public void onSmelting(EntityPlayer player, ItemStack item) {
}
}

 

Item Class (Just for reference):

package cyphereion.mods.patches.yogpack;

import java.util.List;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class ItemTransmorgrificationCrystal extends Item {
private int index;
public ItemTransmorgrificationCrystal(int par1, int index)
{
	super(par1);
	this.index = index;
	this.setMaxStackSize(1);
	this.setMaxDamage(150);
	this.setCreativeTab(CreativeTabs.tabMaterials);
}
@SideOnly(Side.CLIENT)
public String getTextureFile(){
	return "/cyphereion/mods/patches/yogpack/Cyphereion.png";
}

public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
	par3List.add("Stone brick to hold it together.");
	par3List.add("Obsidian to make it tough to break");
	par3List.add("Diamond for good looks.");
}

@SideOnly(Side.CLIENT)
public int getIconFromDamage(int i){
	return index;
}

}

 

 

Recipes:

GameRegistry.addShapelessRecipe(new ItemStack(TransmorgrificationCrystal, 1, 0), Block.stoneBrick, Block.stoneBrick, Block.stoneBrick, Block.stoneBrick, Block.obsidian, Block.obsidian, Block.obsidian, Block.obsidian, Item.diamond);

GameRegistry.addRecipe(new ItemStack(Item.blazeRod, 7),new Object[] { "OTG",'O', Block.obsidian, 'G', Block.blockGold, 'T', (new ItemStack(TransmorgrificationCrystal,1,-1))});

Posted

@deadrecon98, did you even read his post? you posted exactly the same code he was already using

 

@OP

just do a combination of what guff and moritz said. don't use a crafting handler since you don't need one. use hasContainerItem and getContainerItemStack like guff said. and like moritz said, you don't need the for loop when registering the recipe. but, you don't need to register the item in the way moritz suggested since you're already overriding getContainerItemStack(ItemStack).

 

anyway, wrote the following to make absolutely sure it works and it does. just replace the stuff there with what you need. if you want it to stay in the crafting grid, use doesContainerItemLeaveCraftingGrid(ItemStack)

 

package pelep.zzzzz;

import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;

@Mod(modid = "ZZZZZ", name = "ZZZZZ", version = "ZZZZZ")

public class ZZZZZ
{
@Instance("ZZZZZ")
public static ZZZZZ instance;

@EventHandler
public void init(FMLInitializationEvent e)
{
	GameRegistry.registerItem(new ItemDamageable(ID), "itemDamageable");
	GameRegistry.addRecipe(new ItemStack(1, 1, 0), new Object[] {"d", 'd', new ItemStack(IDSHIFTEDINDEX, 1, OreDictionary.WILDCARD_VALUE)});
}
}

 

package pelep.zzzzz;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

public class ItemDamageable extends Item
{
public ItemDamageable(int id)
{
	super(id);
	this.setMaxDamage(64);
}

@Override
public boolean hasContainerItem()
{
	return true;
}

@Override
public ItemStack getContainerItemStack(ItemStack ist)
{
	ist.setItemDamage(ist.getItemDamage() + 1);

	if (ist.getItemDamage() > ist.getMaxDamage())
	{
		ist = null;
	}

	return ist;
}
}

Posted

I did this with an item that has 2048 max damage just to help him, and it doesn't make the crafting table lag. The only time it lags is if you shift-click the output.

 

I Said at 100.000 recipes everything what the craftingManager uses start to lag!

But 2048 recipes are to much!

 

Posted

package pelep.zzzzz;
@Override
public ItemStack getContainerItemStack(ItemStack ist)
{
	ist.setItemDamage(ist.getItemDamage() + 1);

	if (ist.getItemDamage() > ist.getMaxDamage())
	{
		ist = null;
	}

	return ist;
}

Don't return a null itemstack. I attempted that at first but I had him change it since it was giving a NPE. The crafting bench attempts to check for item damage already for some reason, and if you return null and it tries to check it, it doesn't protect itself against NPE. Damaging the item and returning the stack will suffice. If you didn't get a NPE then that's just weird because I had to trace it back to this and remove setting the return to null.

Posted

well, to be honest, i didn't test it all the way until the item went past the max damage.. kinda got too lazy. lol. anyway, just checked it now and you're right.

 

@OP

just take this part out

	if (ist.getItemDamage() > ist.getMaxDamage())
	{
		ist = null;
	}

Posted

well, to be honest, i didn't test it all the way until the item went past the max damage.. kinda got too lazy. lol. anyway, just checked it now and you're right.

 

@OP

just take this part out

	if (ist.getItemDamage() > ist.getMaxDamage())
	{
		ist = null;
	}

 

Yeah lol I kept trying it with something similar and I took it out and it worked.

Posted

@deadrecon98, did you even read his post? you posted exactly the same code he was already using

 

@OP

just do a combination of what guff and moritz said. don't use a crafting handler since you don't need one. use hasContainerItem and getContainerItemStack like guff said. and like moritz said, you don't need the for loop when registering the recipe. but, you don't need to register the item in the way moritz suggested since you're already overriding getContainerItemStack(ItemStack).

 

anyway, wrote the following to make absolutely sure it works and it does. just replace the stuff there with what you need. if you want it to stay in the crafting grid, use doesContainerItemLeaveCraftingGrid(ItemStack)

 

package pelep.zzzzz;

import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;

@Mod(modid = "ZZZZZ", name = "ZZZZZ", version = "ZZZZZ")

public class ZZZZZ
{
@Instance("ZZZZZ")
public static ZZZZZ instance;

@EventHandler
public void init(FMLInitializationEvent e)
{
	GameRegistry.registerItem(new ItemDamageable(ID), "itemDamageable");
	GameRegistry.addRecipe(new ItemStack(1, 1, 0), new Object[] {"d", 'd', new ItemStack(IDSHIFTEDINDEX, 1, OreDictionary.WILDCARD_VALUE)});
}
}

 

package pelep.zzzzz;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

public class ItemDamageable extends Item
{
public ItemDamageable(int id)
{
	super(id);
	this.setMaxDamage(64);
}

@Override
public boolean hasContainerItem()
{
	return true;
}

@Override
public ItemStack getContainerItemStack(ItemStack ist)
{
	ist.setItemDamage(ist.getItemDamage() + 1);

	if (ist.getItemDamage() > ist.getMaxDamage())
	{
		ist = null;
	}

	return ist;
}
}

 

It doesn't matter how you do it because I know for a fact my way works. It may just take a little tweaking but it is working fine for me.

Posted

...you completely missed the point, so forget it. anyway, i never said crafting handlers wouldn't work. i just said they were unnecessary in his case

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Open the file and remove the # from # -Xmx4G
    • https://mclo.gs/uea1hj9 It should be easier to see the crash report in this format...sorry I'm new to this
    • Hello...I was wondering if somebody could help me with this crash. I was using chunky to pre-load chunks and this chunk, -473 285 (-7685 y 4560) seems to be corrupted or something. So like a dummy I teleported myself from the server console there and it crashed as soon as I would join the world. I used MCA selector to delete the problematic chunk and luckily it sent me back to my last known location. Can anyone see what is possibly causing this issue with the crash log? Anyway...here it is. My gosh this is frustrating. ---- Minecraft Crash Report ---- // Hi. I'm Connector, and I'm a crashaholic ========================= SINYTRA CONNECTOR IS PRESENT! Please verify issues are not caused by Connector before reporting them to mod authors. If you're unsure, file a report on Connector's issue tracker found at https://github.com/Sinytra/Connector/issues. ========================= // You should try our sister game, Minceraft! Time: 2025-09-05 03:24:05 Description: Feature placement java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.Level.m_8055_(net.minecraft.core.BlockPos)" because "this.f_58857_" is null     at net.minecraft.world.level.block.entity.JukeboxBlockEntity.m_271871_(JukeboxBlockEntity.java:76) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:fabric-transfer-api-v1.mixins.json:JukeboxBlockEntityMixin from mod fabric_transfer_api_v1,pl:mixin:APP:amendments-common.mixins.json:JukeboxBlockEntityMixin from mod amendments,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.block.entity.JukeboxBlockEntity.m_7407_(JukeboxBlockEntity.java:132) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:fabric-transfer-api-v1.mixins.json:JukeboxBlockEntityMixin from mod fabric_transfer_api_v1,pl:mixin:APP:amendments-common.mixins.json:JukeboxBlockEntityMixin from mod amendments,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_8016_(ContainerSingleItem.java:37) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_272108_(ContainerSingleItem.java:28) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_6211_(ContainerSingleItem.java:20) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.Clearable.m_18908_(Clearable.java:10) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.m_230328_(StructureTemplate.java:232) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,xf:fml:forge:forge_method_redirector,pl:connector_pre_launch:A,re:classloading,xf:fml:forge:forge_method_redirector,pl:mixin:APP:betterdungeons.mixins.json:DungeonContextMixin from mod betterdungeons,pl:mixin:APP:betterdungeons.mixins.json:StructureTemplateMixin from mod betterdungeons,pl:mixin:APP:cataclysm.mixins.json:StructureTemplateMixin from mod cataclysm,pl:mixin:APP:lithostitched.mixins.json:common.StructureTemplateMixin from mod lithostitched,pl:mixin:APP:dungeonnowloading.forge.mixins.json:structures.StructureTemplateMixin from mod dungeonnowloading,pl:mixin:APP:integrated_api-common.mixins.json:structures.StructureTemplateMixin from mod integrated_api,pl:mixin:APP:integrated_api-common.mixins.json:structures.TemplateAccessor from mod integrated_api,pl:mixin:APP:blueprint.mixins.json:StructureTemplateMixin from mod blueprint,pl:mixin:APP:zeta.mixins.json:StructureTemplateMixin from mod zeta,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.TemplateStructurePiece.m_213694_(TemplateStructurePiece.java:83) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:computing_frames,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A,re:mixin,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.structures.OceanRuinPieces$OceanRuinPiece.m_213694_(OceanRuinPieces.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,xf:fml:forge:forge_method_redirector,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.StructureStart.m_226850_(StructureStart.java:90) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:blueprint.mixins.json:StructureStartMixin from mod blueprint,pl:mixin:APP:zeta.mixins.json:StructureStartMixin from mod zeta,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkGenerator.m_223080_(ChunkGenerator.java:320) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}     at net.minecraft.world.level.chunk.ChunkGenerator.m_213609_(ChunkGenerator.java:319) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:108) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:252) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:643) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%2377!/:?] {}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}     at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Suspected Mods: NONE Stacktrace:     at net.minecraft.world.level.block.entity.JukeboxBlockEntity.m_271871_(JukeboxBlockEntity.java:76) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:fabric-transfer-api-v1.mixins.json:JukeboxBlockEntityMixin from mod fabric_transfer_api_v1,pl:mixin:APP:amendments-common.mixins.json:JukeboxBlockEntityMixin from mod amendments,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.block.entity.JukeboxBlockEntity.m_7407_(JukeboxBlockEntity.java:132) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:fabric-transfer-api-v1.mixins.json:JukeboxBlockEntityMixin from mod fabric_transfer_api_v1,pl:mixin:APP:amendments-common.mixins.json:JukeboxBlockEntityMixin from mod amendments,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_8016_(ContainerSingleItem.java:37) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_272108_(ContainerSingleItem.java:28) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.ticks.ContainerSingleItem.m_6211_(ContainerSingleItem.java:20) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.Clearable.m_18908_(Clearable.java:10) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.m_230328_(StructureTemplate.java:232) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,xf:fml:forge:forge_method_redirector,pl:connector_pre_launch:A,re:classloading,xf:fml:forge:forge_method_redirector,pl:mixin:APP:betterdungeons.mixins.json:DungeonContextMixin from mod betterdungeons,pl:mixin:APP:betterdungeons.mixins.json:StructureTemplateMixin from mod betterdungeons,pl:mixin:APP:cataclysm.mixins.json:StructureTemplateMixin from mod cataclysm,pl:mixin:APP:lithostitched.mixins.json:common.StructureTemplateMixin from mod lithostitched,pl:mixin:APP:dungeonnowloading.forge.mixins.json:structures.StructureTemplateMixin from mod dungeonnowloading,pl:mixin:APP:integrated_api-common.mixins.json:structures.StructureTemplateMixin from mod integrated_api,pl:mixin:APP:integrated_api-common.mixins.json:structures.TemplateAccessor from mod integrated_api,pl:mixin:APP:blueprint.mixins.json:StructureTemplateMixin from mod blueprint,pl:mixin:APP:zeta.mixins.json:StructureTemplateMixin from mod zeta,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.TemplateStructurePiece.m_213694_(TemplateStructurePiece.java:83) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:computing_frames,pl:connector_pre_launch:A,re:classloading,pl:connector_pre_launch:A,re:mixin,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.structures.OceanRuinPieces$OceanRuinPiece.m_213694_(OceanRuinPieces.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,xf:fml:forge:forge_method_redirector,pl:connector_pre_launch:A}     at net.minecraft.world.level.levelgen.structure.StructureStart.m_226850_(StructureStart.java:90) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:connector_pre_launch:A,re:classloading,pl:mixin:APP:blueprint.mixins.json:StructureStartMixin from mod blueprint,pl:mixin:APP:zeta.mixins.json:StructureStartMixin from mod zeta,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkGenerator.m_223080_(ChunkGenerator.java:320) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422) ~[guava-31.1-jre.jar%2374!/:?] {re:mixin}     at net.minecraft.world.level.chunk.ChunkGenerator.m_213609_(ChunkGenerator.java:319) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:108) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:252) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:643) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%2377!/:?] {}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {} -- Feature -- Details:     Description: ResourceKey[minecraft:worldgen/structure / minecraft:ocean_ruin_warm] Stacktrace:     at net.minecraft.world.level.chunk.ChunkGenerator.m_213609_(ChunkGenerator.java:319) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:108) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:252) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:643) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%2377!/:?] {}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}     at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin} -- Generation -- Details:     CenterX: -473     CenterZ: 285     Seed: 1176945434636047048 Stacktrace:     at net.minecraft.world.level.chunk.ChunkGenerator.m_213609_(ChunkGenerator.java:319) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:ChunkGeneratorMixin from mod citadel,pl:mixin:APP:bettermineshafts.mixins.json:DisableVanillaMineshaftsMixin from mod bettermineshafts,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_279978_(ChunkStatus.java:108) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus$SimpleGenerationTask.m_214024_(ChunkStatus.java:309) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.world.level.chunk.ChunkStatus.m_280308_(ChunkStatus.java:252) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:connector_pre_launch:A}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:643) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%2377!/:?] {}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}     at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin} -- Chunk to be generated -- Details:     Location: -473,285     Position hash: 1228360646183     Generator: net.minecraft.world.level.levelgen.NoiseBasedChunkGenerator@68ab688d Stacktrace:     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$27(ChunkMap.java:643) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-6.0.8.jar%2377!/:?] {}     at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$29(ChunkMap.java:634) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:bugfix.paper_chunk_patches.ChunkMapMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:bugfix.chunk_deadlock.ChunkMapLoadMixin from mod modernfix,pl:mixin:APP:fabric-networking-api-v1.mixins.json:accessor.ThreadedAnvilChunkStorageAccessor from mod fabric_networking_api_v1,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:ThreadedAnvilChunkStorageMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:lithium.mixins.json:world.player_chunk_tick.ThreadedAnvilChunkStorageMixin from mod radium,pl:mixin:APP:lithostitched.mixins.json:common.ChunkMapMixin from mod lithostitched,pl:mixin:A,pl:connector_pre_launch:A}     at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?] {}     at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?] {}     at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:classloading,pl:connector_pre_launch:A}     at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?] {}     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {}     at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {}     at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:mixin,re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {re:mixin} -- Wrapped in -- Details:     Wrapping exception: ~~ERROR~~ CompletionException: net.minecraft.ReportedException: Feature placement Stacktrace:     at net.minecraft.server.MinecraftServer.m_206568_(MinecraftServer.java:718) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.fix_loop_spin_waiting.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:blueprint.mixins.json:MinecraftServerMixin from mod blueprint,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:675) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.fix_loop_spin_waiting.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:blueprint.mixins.json:MinecraftServerMixin from mod blueprint,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23269!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,re:computing_frames,pl:accesstransformer:B,pl:connector_pre_launch:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:modernfix-common.mixins.json:perf.fix_loop_spin_waiting.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin from mod modernfix,pl:mixin:APP:modernfix-forge.mixins.json:core.MinecraftServerMixin from mod modernfix,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin from mod citadel,pl:mixin:APP:connectormod.mixins.json:registries.MinecraftServerMixin from mod connectormod,pl:mixin:APP:fabric-lifecycle-events-v1.mixins.json:MinecraftServerMixin from mod fabric_lifecycle_events_v1,pl:mixin:APP:fabric-resource-loader-v0.mixins.json:MinecraftServerMixin from mod fabric_resource_loader_v0,pl:mixin:APP:blueprint.mixins.json:MinecraftServerMixin from mod blueprint,pl:mixin:APP:fabric-message-api-v1.mixins.json:MinecraftServerMixin from mod fabric_message_api_v1,pl:mixin:A,pl:connector_pre_launch:A}     at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin} -- System Details -- Details:     Minecraft Version: 1.20.1     Minecraft Version ID: 1.20.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.7, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation     Memory: 475988768 bytes (453 MiB) / 2516582400 bytes (2400 MiB) up to 34359738368 bytes (32768 MiB)     CPUs: 32     Processor Vendor: AuthenticAMD     Processor Name: AMD Ryzen 9 9950X 16-Core Processor                 Identifier: AuthenticAMD Family 26 Model 68 Stepping 0     Microarchitecture: unknown     Frequency (GHz): 4.29     Number of physical packages: 1     Number of physical CPUs: 16     Number of logical CPUs: 32     Graphics card #0 name: NVIDIA GeForce RTX 5070 Ti     Graphics card #0 vendor: NVIDIA (0x10de)     Graphics card #0 VRAM (MB): 4095.00     Graphics card #0 deviceId: 0x2c05     Graphics card #0 versionInfo: DriverVersion=32.0.15.8097     Memory slot #0 capacity (MB): 49152.00     Memory slot #0 clockSpeed (GHz): 6.40     Memory slot #0 type: Unknown     Memory slot #1 capacity (MB): 49152.00     Memory slot #1 clockSpeed (GHz): 6.40     Memory slot #1 type: Unknown     Virtual memory max (MB): 104051.97     Virtual memory used (MB): 20980.76     Swap memory total (MB): 6144.00     Swap memory used (MB): 36.83     JVM Flags: 1 total; -Xmx32G     Server Running: true     Player Count: 0 / 20; []     Data Packs: vanilla, mod:betterdungeons, mod:fabric_renderer_api_v1, mod:netherexp, mod:playeranimator (incompatible), mod:fabric_item_api_v1, mod:illagerinvasion, mod:fabric_rendering_fluids_v1, mod:exlinecopperequipment, mod:fabric_models_v0, mod:sophisticatedcore (incompatible), mod:golemsarefriends (incompatible), mod:fabric_convention_tags_v1, mod:placebo (incompatible), mod:citadel (incompatible), mod:alexsmobs (incompatible), mod:fabric_command_api_v1, mod:fabric_block_view_api_v2, mod:fabric_command_api_v2, mod:yungsapi, mod:fabric_data_attachment_api_v1, mod:mixinextras (incompatible), mod:bookshelf, mod:sophisticatedbackpacks (incompatible), mod:guardvillagers (incompatible), mod:fabric_screen_api_v1, mod:cloth_config (incompatible), mod:fabric_api, mod:fabric_content_registries_v0, mod:geophilic, mod:jadensnetherexpansiondelight, mod:farmersdelight, mod:fabric_game_rule_api_v1, mod:fabric_api_lookup_api_v1, mod:endersdelight, mod:cataclysmiccombat, mod:lionfishapi (incompatible), mod:cataclysm (incompatible), mod:curios (incompatible), mod:connectormod, mod:fabric_entity_events_v1, mod:spartanweaponry, mod:architectury (incompatible), mod:fabric_loot_api_v2, mod:betterendisland, mod:fabric_rendering_data_attachment_v1, mod:fabric_networking_api_v1, mod:illageandspillage, mod:bettermineshafts, mod:fabric_lifecycle_events_v1, mod:fabric_key_binding_api_v1, mod:fabric_client_tags_api_v1, mod:fabric_transfer_api_v1, mod:fabric_dimensions_v1, mod:mowziesmobs, mod:geckolib, mod:endertrigon (incompatible), mod:elysium_api, mod:fabric_model_loading_api_v1, mod:mowzies_cataclysm, mod:jei, mod:lithostitched, mod:graveyard (incompatible), mod:fabric_screen_handler_api_v1, mod:fabric_resource_loader_v0, mod:caelus (incompatible), mod:obscure_api (incompatible), mod:fabric_rendering_v1, mod:fabric_renderer_indigo, mod:fastsuite (incompatible), mod:dungeonnowloading (incompatible), mod:integrated_api, mod:fabric_mining_level_api_v1, mod:fromtheshadows (incompatible), mod:crackerslib (incompatible), mod:outer_end, mod:magistuarmory (incompatible), mod:starlight (incompatible), mod:aquamirae_mod_extra_music, mod:blueprint, mod:savage_and_ravage (incompatible), mod:fabric_particles_v1, mod:puzzlesaccessapi, mod:forge, mod:fabric_transitive_access_wideners_v1, mod:nyfsspiders (incompatible), mod:tectonic (incompatible), mod:caverns_and_chasms (incompatible), mod:upgrade_aquatic (incompatible), mod:illagerwarship, mod:okzoomer (incompatible), mod:enchdesc (incompatible), mod:moonlight (incompatible), mod:fabric_api_base, mod:bettercombat (incompatible), mod:combatroll (incompatible), mod:glowingraidillagers (incompatible), mod:fabric_blockrenderlayer_v1, mod:mixinsquared (incompatible), mod:fabric_block_api_v1, mod:nethersdelight, mod:fabric_resource_conditions_api_v1, mod:spartanshields, mod:fabric_item_group_api_v1, mod:fastbench (incompatible), mod:aquacombat, mod:zeta (incompatible), mod:quark (incompatible), mod:supplementaries, mod:amendments (incompatible), mod:irons_spellbooks, mod:fabric_biome_api_v1, mod:fabric_registry_sync_v0, mod:fastfurnace (incompatible), mod:oceansdelight (incompatible), mod:alexsdelight, mod:fabric_recipe_api_v1, mod:ferritecore (incompatible), mod:fabric_object_builder_api_v1, mod:puzzleslib, mod:fabric_sound_api_v1, mod:ias_spellbooks, mod:fabric_message_api_v1, mod:fabric_data_generation_api_v1, mod:fabric_events_interaction_v0, mod:aquamirae (incompatible), tectonic/tectonic (incompatible), tectonic/tectonic/overlay.mod, alexsmobs_compat, caverns_and_chasms_compat, fabric, lithostitched/breaks_seed_parity, Supplementaries Generated Pack, mod:cupboard (incompatible), mod:modernfix (incompatible), mod:chunky (incompatible), mod:radium     Enabled Feature Flags: minecraft:vanilla     World Generation: Experimental     Is Modded: Definitely; Server brand changed to 'forge'     Type: Dedicated Server (map_server.txt)     Sinytra Connector: 1.0.0-beta.46+1.20.1         SINYTRA CONNECTOR IS PRESENT!         Please verify issues are not caused by Connector before reporting them to mod authors. If you're unsure, file a report on Connector's issue tracker.         Connector's issue tracker can be found at https://github.com/Sinytra/Connector/issues.     ModLauncher: 10.0.9+10.0.9+main.dcd20f30     ModLauncher launch target: forgeserver     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.5.jar eventbus PLUGINSERVICE          fmlloader-1.20.1-47.4.0.jar slf4jfixer PLUGINSERVICE          fmlloader-1.20.1-47.4.0.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.20.1-47.4.0.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.20.1-47.4.0.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.20.1-47.4.0.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar mixin-transmogrifier TRANSFORMATIONSERVICE          modlauncher-10.0.9.jar connector_loader TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          YungsBetterDungeons-1.20-Forge-4.0.4.jar          |YUNG's Better Dungeons        |betterdungeons                |1.20-Forge-4.0.4    |DONE      |Manifest: NOSIGNATURE         fabric-renderer-api-v1-3.2.1+cf68abbe77.jar       |Fabric Renderer API (v1)      |fabric_renderer_api_v1        |3.2.1+cf68abbe77    |DONE      |Manifest: NOSIGNATURE         Jadens-Nether-Expansion-2.3.5.jar                 |Jaden's Nether Expansion      |netherexp                     |2.3.5               |DONE      |Manifest: NOSIGNATURE         player-animation-lib-forge-1.0.2-rc1+1.20.jar     |Player Animator               |playeranimator                |1.0.2-rc1+1.20      |DONE      |Manifest: NOSIGNATURE         fabric-item-api-v1-2.1.28+4d0bbcfa77.jar          |Fabric Item API (v1)          |fabric_item_api_v1            |2.1.28+4d0bbcfa77   |DONE      |Manifest: NOSIGNATURE         IllagerInvasion-v8.0.7-1.20.1-Forge.jar           |Illager Invasion              |illagerinvasion               |8.0.7               |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         fabric-rendering-fluids-v1-3.0.28+4ac5e37a77.jar  |Fabric Rendering Fluids (v1)  |fabric_rendering_fluids_v1    |3.0.28+4ac5e37a77   |DONE      |Manifest: NOSIGNATURE         exlinecopperequipment-forge-1.20.1-v2.0.8.jar     |Exline's Copper Equipment     |exlinecopperequipment         |2.0.8               |DONE      |Manifest: NOSIGNATURE         fabric-models-v0-0.4.2+7c3892a477.jar             |Fabric Models (v0)            |fabric_models_v0              |0.4.2+7c3892a477    |DONE      |Manifest: NOSIGNATURE         sophisticatedcore-1.20.1-1.2.79.1066.jar          |Sophisticated Core            |sophisticatedcore             |1.2.79.1066         |DONE      |Manifest: NOSIGNATURE         golemsarefriends-1.20.0-1.0.1.jar                 |Golems Are Friends Not Fodder |golemsarefriends              |1.20.0-1.0.1        |DONE      |Manifest: NOSIGNATURE         fabric-convention-tags-v1-1.5.5+fa3d1c0177.jar    |Fabric Convention Tags        |fabric_convention_tags_v1     |1.5.5+fa3d1c0177    |DONE      |Manifest: NOSIGNATURE         Placebo-1.20.1-8.6.3.jar                          |Placebo                       |placebo                       |8.6.3               |DONE      |Manifest: NOSIGNATURE         modernfix-forge-5.24.4+mc1.20.1.jar               |ModernFix                     |modernfix                     |5.24.4+mc1.20.1     |DONE      |Manifest: NOSIGNATURE         citadel-2.6.2-1.20.1.jar                          |Citadel                       |citadel                       |2.6.2               |DONE      |Manifest: NOSIGNATURE         alexsmobs-1.22.9.jar                              |Alex's Mobs                   |alexsmobs                     |1.22.9              |DONE      |Manifest: NOSIGNATURE         fabric-command-api-v1-1.2.34+f71b366f77.jar       |Fabric Command API (v1)       |fabric_command_api_v1         |1.2.34+f71b366f77   |DONE      |Manifest: NOSIGNATURE         fabric-block-view-api-v2-1.0.1+0767707077.jar     |Fabric BlockView API (v2)     |fabric_block_view_api_v2      |1.0.1+0767707077    |DONE      |Manifest: NOSIGNATURE         fabric-command-api-v2-2.2.13+561530ec77.jar       |Fabric Command API (v2)       |fabric_command_api_v2         |2.2.13+561530ec77   |DONE      |Manifest: NOSIGNATURE         YungsApi-1.20-Forge-4.0.6.jar                     |YUNG's API                    |yungsapi                      |1.20-Forge-4.0.6    |DONE      |Manifest: NOSIGNATURE         fabric-data-attachment-api-v1-1.0.0+30ef839e77.jar|Fabric Data Attachment API (v1|fabric_data_attachment_api_v1 |1.0.0+30ef839e77    |DONE      |Manifest: NOSIGNATURE         mixinextras-forge-0.2.0-beta.7.jar                |MixinExtras                   |mixinextras                   |0.2.0-beta.7        |DONE      |Manifest: NOSIGNATURE         Bookshelf-Forge-1.20.1-20.2.13.jar                |Bookshelf                     |bookshelf                     |20.2.13             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         sophisticatedbackpacks-1.20.1-3.23.23.1289.jar    |Sophisticated Backpacks       |sophisticatedbackpacks        |3.23.23.1289        |DONE      |Manifest: NOSIGNATURE         guardvillagers-1.20.1-1.6.11.jar                  |Guard Villagers               |guardvillagers                |1.20.1-1.6.11       |DONE      |Manifest: NOSIGNATURE         fabric-screen-api-v1-2.0.8+45a670a577.jar         |Fabric Screen API (v1)        |fabric_screen_api_v1          |2.0.8+45a670a577    |DONE      |Manifest: NOSIGNATURE         cloth-config-11.1.136-forge.jar                   |Cloth Config v10 API          |cloth_config                  |11.1.136            |DONE      |Manifest: NOSIGNATURE         fabric-api-0.92.2+1.11.12+1.20.1.jar              |Forgified Fabric API          |fabric_api                    |0.92.2+1.11.12+1.20.|DONE      |Manifest: NOSIGNATURE         fabric-content-registries-v0-4.0.11+a670df1e77.jar|Fabric Content Registries (v0)|fabric_content_registries_v0  |4.0.11+a670df1e77   |DONE      |Manifest: NOSIGNATURE         Geophilic v3.4.2 f15-80.mod.jar                   |Geophilic                     |geophilic                     |3.4.2               |DONE      |Manifest: NOSIGNATURE         jadensnetherexpansiondelight-1.0.3-1.20.1-forge.ja|Jaden's Nether Expansion Delig|jadensnetherexpansiondelight  |1.0.3-1.20.1-forge  |DONE      |Manifest: NOSIGNATURE         FarmersDelight-1.20.1-1.2.8.jar                   |Farmer's Delight              |farmersdelight                |1.20.1-1.2.8        |DONE      |Manifest: NOSIGNATURE         fabric-game-rule-api-v1-1.0.40+683d4da877.jar     |Fabric Game Rule API (v1)     |fabric_game_rule_api_v1       |1.0.40+683d4da877   |DONE      |Manifest: NOSIGNATURE         fabric-api-lookup-api-v1-1.6.36+67f9824077.jar    |Fabric API Lookup API (v1)    |fabric_api_lookup_api_v1      |1.6.36+67f9824077   |DONE      |Manifest: NOSIGNATURE         endersdelight-forge-1.20.1-1.1.3.jar              |Ender's Delight               |endersdelight                 |1.1.3               |DONE      |Manifest: NOSIGNATURE         cataclysmiccombat-1.4.1-1.20.1.jar                |Cataclysmic Combat            |cataclysmiccombat             |1.4                 |DONE      |Manifest: NOSIGNATURE         Chunky-1.3.146.jar                                |Chunky                        |chunky                        |1.3.146             |DONE      |Manifest: NOSIGNATURE         lionfishapi-2.4.jar                               |LionfishAPI                   |lionfishapi                   |2.4                 |DONE      |Manifest: NOSIGNATURE         L_Enders_Cataclysm-3.15.jar                       |cataclysm                     |cataclysm                     |3.15                |DONE      |Manifest: NOSIGNATURE         curios-forge-5.14.1+1.20.1.jar                    |Curios API                    |curios                        |5.14.1+1.20.1       |DONE      |Manifest: NOSIGNATURE         Connector-1.0.0-beta.46+1.20.1-mod.jar            |Connector                     |connectormod                  |1.0.0-beta.46+1.20.1|DONE      |Manifest: NOSIGNATURE         fabric-entity-events-v1-1.6.0+4ca7515277.jar      |Fabric Entity Events (v1)     |fabric_entity_events_v1       |1.6.0+4ca7515277    |DONE      |Manifest: NOSIGNATURE         SpartanWeaponry-1.20.1-forge-3.2.1-all.jar        |Spartan Weaponry              |spartanweaponry               |3.2.1               |DONE      |Manifest: NOSIGNATURE         architectury-9.2.14-forge.jar                     |Architectury                  |architectury                  |9.2.14              |DONE      |Manifest: NOSIGNATURE         fabric-loot-api-v2-1.2.1+eb28f93e77.jar           |Fabric Loot API (v2)          |fabric_loot_api_v2            |1.2.1+eb28f93e77    |DONE      |Manifest: NOSIGNATURE         cupboard-1.20.1-2.7.jar                           |Cupboard utilities            |cupboard                      |1.20.1-2.7          |DONE      |Manifest: NOSIGNATURE         YungsBetterEndIsland-1.20-Forge-2.0.6.jar         |YUNG's Better End Island      |betterendisland               |1.20-Forge-2.0.6    |DONE      |Manifest: NOSIGNATURE         fabric-rendering-data-attachment-v1-0.3.37+a6081af|Fabric Rendering Data Attachme|fabric_rendering_data_attachme|0.3.37+a6081afc77   |DONE      |Manifest: NOSIGNATURE         fabric-networking-api-v1-1.3.11+503a202477.jar    |Fabric Networking API (v1)    |fabric_networking_api_v1      |1.3.11+503a202477   |DONE      |Manifest: NOSIGNATURE         illageandspillagerespillaged-1.2.8.jar            |Illage and Spillage: Respillag|illageandspillage             |1.2.8               |DONE      |Manifest: NOSIGNATURE         YungsBetterMineshafts-1.20-Forge-4.0.4.jar        |YUNG's Better Mineshafts      |bettermineshafts              |1.20-Forge-4.0.4    |DONE      |Manifest: NOSIGNATURE         fabric-lifecycle-events-v1-2.2.22+afab492177.jar  |Fabric Lifecycle Events (v1)  |fabric_lifecycle_events_v1    |2.2.22+afab492177   |DONE      |Manifest: NOSIGNATURE         fabric-key-binding-api-v1-1.0.37+561530ec77.jar   |Fabric Key Binding API (v1)   |fabric_key_binding_api_v1     |1.0.37+561530ec77   |DONE      |Manifest: NOSIGNATURE         fabric-client-tags-api-v1-1.1.2+5d6761b877.jar    |Fabric Client Tags            |fabric_client_tags_api_v1     |1.1.2+5d6761b877    |DONE      |Manifest: NOSIGNATURE         fabric-transfer-api-v1-3.3.5+631c9cd677.jar       |Fabric Transfer API (v1)      |fabric_transfer_api_v1        |3.3.5+631c9cd677    |DONE      |Manifest: NOSIGNATURE         fabric-dimensions-v1-2.1.54+8005d10d77.jar        |Fabric Dimensions API (v1)    |fabric_dimensions_v1          |2.1.54+8005d10d77   |DONE      |Manifest: NOSIGNATURE         radium-mc1.20.1-0.12.4+git.26c9d8e.jar            |Radium                        |radium                        |0.12.4+git.26c9d8e  |DONE      |Manifest: NOSIGNATURE         mowziesmobs-1.7.3.jar                             |Mowzie's Mobs                 |mowziesmobs                   |1.7.3               |DONE      |Manifest: NOSIGNATURE         geckolib-forge-1.20.1-4.7.3.jar                   |GeckoLib 4                    |geckolib                      |4.7.3               |DONE      |Manifest: NOSIGNATURE         endertrigon-1.20.1-1.1-all.jar                    |Ender Trigon                  |endertrigon                   |1.20.1-1.1          |DONE      |Manifest: NOSIGNATURE         ElysiumAPI-1.20.1-1.1.3.jar                       |Elysium                       |elysium_api                   |1.1.3               |DONE      |Manifest: NOSIGNATURE         fabric-model-loading-api-v1-1.0.3+6274ab9d77.jar  |Fabric Model Loading API (v1) |fabric_model_loading_api_v1   |1.0.3+6274ab9d77    |DONE      |Manifest: NOSIGNATURE         mowzies_cataclysm-1.2.0.jar                       |Mowzie's Cataclysm            |mowzies_cataclysm             |1.2.0               |DONE      |Manifest: NOSIGNATURE         jei-1.20.1-forge-15.20.0.112.jar                  |Just Enough Items             |jei                           |15.20.0.112         |DONE      |Manifest: NOSIGNATURE         lithostitched-forge-1.20.1-1.4.11.jar             |Lithostitched                 |lithostitched                 |1.4.11              |DONE      |Manifest: NOSIGNATURE         The_Graveyard_3.1_(FORGE)_for_1.20.1.jar          |The Graveyard                 |graveyard                     |3.1                 |DONE      |Manifest: NOSIGNATURE         fabric-screen-handler-api-v1-1.3.30+561530ec77.jar|Fabric Screen Handler API (v1)|fabric_screen_handler_api_v1  |1.3.30+561530ec77   |DONE      |Manifest: NOSIGNATURE         fabric-resource-loader-v0-0.11.10+bcd08ed377.jar  |Fabric Resource Loader (v0)   |fabric_resource_loader_v0     |0.11.10+bcd08ed377  |DONE      |Manifest: NOSIGNATURE         caelus-forge-3.2.0+1.20.1.jar                     |Caelus API                    |caelus                        |3.2.0+1.20.1        |DONE      |Manifest: NOSIGNATURE         obscure_api-15.jar                                |Obscure API                   |obscure_api                   |15                  |DONE      |Manifest: NOSIGNATURE         fabric-rendering-v1-3.0.8+66e9a48f77.jar          |Fabric Rendering (v1)         |fabric_rendering_v1           |3.0.8+66e9a48f77    |DONE      |Manifest: NOSIGNATURE         fabric-renderer-indigo-1.5.2+b5b2da4177.jar       |Fabric Renderer - Indigo      |fabric_renderer_indigo        |1.5.2+b5b2da4177    |DONE      |Manifest: NOSIGNATURE         FastSuite-1.20.1-5.1.0.jar                        |Fast Suite                    |fastsuite                     |5.1.0               |DONE      |Manifest: NOSIGNATURE         Dungeon Now Loading-forge-1.20.1-1.5.jar          |Dungeon Now Loading           |dungeonnowloading             |1.5                 |DONE      |Manifest: NOSIGNATURE         integrated_api-1.5.3+1.20.1-forge.jar             |Integrated API                |integrated_api                |1.5.3+1.20.1-forge  |DONE      |Manifest: NOSIGNATURE         fabric-mining-level-api-v1-2.1.50+561530ec77.jar  |Fabric Mining Level API (v1)  |fabric_mining_level_api_v1    |2.1.50+561530ec77   |DONE      |Manifest: NOSIGNATURE         fromtheshadowsreborn-2.8.jar                      |From the Shadows Reborn       |fromtheshadows                |2.8                 |DONE      |Manifest: NOSIGNATURE         crackerslib-forge-1.20.1-0.3.2.1.jar              |CrackersLib                   |crackerslib                   |1.20.1-0.3.2.1      |DONE      |Manifest: NOSIGNATURE         TheOuterEnd-1.0.10.jar                            |The Outer End                 |outer_end                     |1.0.8               |DONE      |Manifest: NOSIGNATURE         [1.20.1-forge]-Epic-Knights-9.23.jar              |Epic Knights Mod              |magistuarmory                 |9.23                |DONE      |Manifest: NOSIGNATURE         starlight-1.1.2+forge.1cda73c.jar                 |Starlight                     |starlight                     |1.1.2+forge.1cda73c |DONE      |Manifest: NOSIGNATURE         Aquamirae Mod Boss Music Tweaks 1.20.1 v1.1.0.jar |Aquamirae Mod EXTRA Music     |aquamirae_mod_extra_music     |1.0.0               |DONE      |Manifest: NOSIGNATURE         blueprint-1.20.1-7.1.3.jar                        |Blueprint                     |blueprint                     |7.1.3               |DONE      |Manifest: NOSIGNATURE         savage_and_ravage-1.20.1-6.0.0.jar                |Savage & Ravage               |savage_and_ravage             |6.0.0               |DONE      |Manifest: NOSIGNATURE         fabric-particles-v1-1.1.2+78e1ecb877.jar          |Fabric Particles (v1)         |fabric_particles_v1           |1.1.2+78e1ecb877    |DONE      |Manifest: NOSIGNATURE         puzzlesaccessapi-forge-20.1.1.jar                 |Puzzles Access Api            |puzzlesaccessapi              |20.1.1              |DONE      |Manifest: NOSIGNATURE         forge-1.20.1-47.4.0-universal.jar                 |Forge                         |forge                         |47.4.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         fabric-transitive-access-wideners-v1-4.3.1+1880499|Fabric Transitive Access Widen|fabric_transitive_access_widen|4.3.1+1880499877    |DONE      |Manifest: NOSIGNATURE         nyfsspiders-forge-1.20.1-2.1.1.jar                |Nyf's Spiders                 |nyfsspiders                   |2.1.1               |DONE      |Manifest: NOSIGNATURE         tectonic-3.0.6-forge-1.20.1.jar                   |Tectonic                      |tectonic                      |3.0.6               |DONE      |Manifest: NOSIGNATURE         server-1.20.1-20230612.114412-srg.jar             |Minecraft                     |minecraft                     |1.20.1              |DONE      |Manifest: NOSIGNATURE         caverns_and_chasms-1.20.1-2.0.0.jar               |Caverns & Chasms              |caverns_and_chasms            |2.0.0               |DONE      |Manifest: NOSIGNATURE         upgrade_aquatic-1.20.1-6.0.3.jar                  |Upgrade Aquatic               |upgrade_aquatic               |6.0.3               |DONE      |Manifest: NOSIGNATURE         illagerwarship-1.0.1-forge-1.20.1.jar             |Illager-Warship               |illagerwarship                |1.0.1               |DONE      |Manifest: NOSIGNATURE         okzoomer-forge-1.20-3.0.1.jar                     |OkZoomer                      |okzoomer                      |3.0.1               |DONE      |Manifest: NOSIGNATURE         EnchantmentDescriptions-Forge-1.20.1-17.1.19.jar  |EnchantmentDescriptions       |enchdesc                      |17.1.19             |DONE      |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5         moonlight-1.20-2.15.6-forge.jar                   |Moonlight Library             |moonlight                     |1.20-2.15.6         |DONE      |Manifest: NOSIGNATURE         fabric-api-base-0.4.31+ef105b4977.jar             |Fabric API Base               |fabric_api_base               |0.4.31+ef105b4977   |DONE      |Manifest: NOSIGNATURE         bettercombat-forge-1.8.6+1.20.1.jar               |Better Combat                 |bettercombat                  |1.8.6+1.20.1        |DONE      |Manifest: NOSIGNATURE         combatroll-forge-1.3.3+1.20.1.jar                 |Combat Roll                   |combatroll                    |1.3.3+1.20.1        |DONE      |Manifest: NOSIGNATURE         glowingraidillagers-1.20-1.20.1-1.0.0.jar         |GlowingRaidIllagers           |glowingraidillagers           |1.0.0               |DONE      |Manifest: NOSIGNATURE         fabric-blockrenderlayer-v1-1.1.41+1d0da21e77.jar  |Fabric BlockRenderLayer Regist|fabric_blockrenderlayer_v1    |1.1.41+1d0da21e77   |DONE      |Manifest: NOSIGNATURE         mixinsquared-forge-0.1.1.jar                      |MixinSquared                  |mixinsquared                  |0.1.1               |DONE      |Manifest: NOSIGNATURE         fabric-block-api-v1-1.0.11+0e6cb7f777.jar         |Fabric Block API (v1)         |fabric_block_api_v1           |1.0.11+0e6cb7f777   |DONE      |Manifest: NOSIGNATURE         nethersdelight-1.20.1-4.0.jar                     |Nether's Delight              |nethersdelight                |1.20.1-4.0          |DONE      |Manifest: NOSIGNATURE         fabric-resource-conditions-api-v1-2.3.8+9e342fc177|Fabric Resource Conditions API|fabric_resource_conditions_api|2.3.8+9e342fc177    |DONE      |Manifest: NOSIGNATURE         SpartanShields-1.20.1-forge-3.1.1.jar             |Spartan Shields               |spartanshields                |3.1.1               |DONE      |Manifest: NOSIGNATURE         fabric-item-group-api-v1-4.0.12+c9161c2d77.jar    |Fabric Item Group API (v1)    |fabric_item_group_api_v1      |4.0.12+c9161c2d77   |DONE      |Manifest: NOSIGNATURE         FastWorkbench-1.20.1-8.0.4.jar                    |Fast Workbench                |fastbench                     |8.0.4               |DONE      |Manifest: NOSIGNATURE         aquacombat 1.2.jar                                |Aqua combat                   |aquacombat                    |1.2                 |DONE      |Manifest: NOSIGNATURE         Zeta-1.0-30.jar                                   |Zeta                          |zeta                          |1.0-30              |DONE      |Manifest: NOSIGNATURE         Quark-4.0-462.jar                                 |Quark                         |quark                         |4.0-462             |DONE      |Manifest: NOSIGNATURE         supplementaries-1.20-3.1.36.jar                   |Supplementaries               |supplementaries               |1.20-3.1.36         |DONE      |Manifest: NOSIGNATURE         amendments-1.20-2.0.3.jar                         |Amendments                    |amendments                    |1.20-2.0.3          |DONE      |Manifest: NOSIGNATURE         irons_spellbooks-1.20.1-3.4.0.10.jar              |Iron's Spells 'n Spellbooks   |irons_spellbooks              |1.20.1-3.4.0.10     |DONE      |Manifest: NOSIGNATURE         fabric-biome-api-v1-13.0.13+dc36698e77.jar        |Fabric Biome API (v1)         |fabric_biome_api_v1           |13.0.13+dc36698e77  |DONE      |Manifest: NOSIGNATURE         fabric-registry-sync-v0-2.3.3+1c0ea72177.jar      |Fabric Registry Sync (v0)     |fabric_registry_sync_v0       |2.3.3+1c0ea72177    |DONE      |Manifest: NOSIGNATURE         FastFurnace-1.20.1-8.0.2.jar                      |FastFurnace                   |fastfurnace                   |8.0.2               |DONE      |Manifest: NOSIGNATURE         oceansdelight-1.0.2-1.20.jar                      |Ocean's Delight               |oceansdelight                 |1.0.2-1.20          |DONE      |Manifest: NOSIGNATURE         alexsdelight-1.5.jar                              |Alex's Delight                |alexsdelight                  |1.5                 |DONE      |Manifest: NOSIGNATURE         fabric-recipe-api-v1-1.0.21+514a076577.jar        |Fabric Recipe API (v1)        |fabric_recipe_api_v1          |1.0.21+514a076577   |DONE      |Manifest: NOSIGNATURE         ferritecore-6.0.1-forge.jar                       |Ferrite Core                  |ferritecore                   |6.0.1               |DONE      |Manifest: 41:ce:50:66:d1:a0:05:ce:a1:0e:02:85:9b:46:64:e0:bf:2e:cf:60:30:9a:fe:0c:27:e0:63:66:9a:84:ce:8a         fabric-object-builder-api-v1-11.1.3+4bd998fa77.jar|Fabric Object Builder API (v1)|fabric_object_builder_api_v1  |11.1.3+4bd998fa77   |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v8.1.32-1.20.1-Forge.jar               |Puzzles Lib                   |puzzleslib                    |8.1.32              |DONE      |Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a         fabric-sound-api-v1-1.0.13+4f23bd8477.jar         |Fabric Sound API (v1)         |fabric_sound_api_v1           |1.0.13+4f23bd8477   |DONE      |Manifest: NOSIGNATURE         illage-and-spell-age-0.5.0-1.20.1.jar             |Illage and Spell-age          |ias_spellbooks                |0.5.0-1.20.1        |DONE      |Manifest: NOSIGNATURE         fabric-message-api-v1-5.1.9+52cc178c77.jar        |Fabric Message API (v1)       |fabric_message_api_v1         |5.1.9+52cc178c77    |DONE      |Manifest: NOSIGNATURE         fabric-data-generation-api-v1-12.3.4+369cb3a477.ja|Fabric Data Generation API (v1|fabric_data_generation_api_v1 |12.3.4+369cb3a477   |DONE      |Manifest: NOSIGNATURE         fabric-events-interaction-v0-0.6.2+0d0bd5a777.jar |Fabric Events Interaction (v0)|fabric_events_interaction_v0  |0.6.2+0d0bd5a777    |DONE      |Manifest: NOSIGNATURE         aquamirae-6.API15.jar                             |Aquamirae                     |aquamirae                     |6.API15             |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 1bafdbcd-c29f-499e-a272-e920f6f303c3     FML: 47.4     Forge: net.minecraftforge:47.4.0  
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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