Jump to content

[1.7.2] Custom Tree Problems


tiffit

Recommended Posts

So my custom tree won't grow, generate, or be bonemealed.

 

The sapling works just fine!

 

Anyways, this is probably what your looking for:

 

Sapling:

package com.tiffit.MoFoodMod.trees;

import java.util.List;
import java.util.Random;

import com.tiffit.MoFoodMod.ModBase;

import net.minecraft.block.Block;
import net.minecraft.block.BlockBush;
import net.minecraft.block.IGrowable;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenBigTree;
import net.minecraft.world.gen.feature.WorldGenCanopyTree;
import net.minecraft.world.gen.feature.WorldGenForest;
import net.minecraft.world.gen.feature.WorldGenMegaJungle;
import net.minecraft.world.gen.feature.WorldGenMegaPineTree;
import net.minecraft.world.gen.feature.WorldGenSavannaTree;
import net.minecraft.world.gen.feature.WorldGenTaiga2;
import net.minecraft.world.gen.feature.WorldGenTrees;
import net.minecraft.world.gen.feature.WorldGenerator;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class lemonSapling extends BlockBush implements IGrowable
{
    public static final String[] field_149882_a = new String[] {"lemon"};
    private static final String __OBFID = "CL_00000305";
private IIcon lemonSapling;

    public lemonSapling()
    {
        float f = 0.4F;
        this.setBlockBounds(0.5F - f, 0.30F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f);
        this.setCreativeTab(ModBase.MoFoodModTab);
    }

    /**
     * Ticks the block if it's been scheduled
     */
    public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_)
    {
        if (!p_149674_1_.isRemote)
        {
            super.updateTick(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_, p_149674_5_);

            if (p_149674_1_.getBlockLightValue(p_149674_2_, p_149674_3_ + 1, p_149674_4_) >= 9 && p_149674_5_.nextInt(7) == 0)
            {
                this.func_149879_c(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_, p_149674_5_);
            }
        }
    }

    /**
     * Gets the block's texture. Args: side, meta
     */
    @SideOnly(Side.CLIENT)
    public IIcon getIcon(int p_149691_1_, int p_149691_2_)
    {
        p_149691_2_ &= 7;
        return lemonSapling;
    }

    public void func_149879_c(World p_149879_1_, int p_149879_2_, int p_149879_3_, int p_149879_4_, Random p_149879_5_)
    {
        int l = p_149879_1_.getBlockMetadata(p_149879_2_, p_149879_3_, p_149879_4_);

        if ((l &  == 0)
        {
            p_149879_1_.setBlockMetadataWithNotify(p_149879_2_, p_149879_3_, p_149879_4_, l | 8, 4);
        }
        else
        {
            this.func_149878_d(p_149879_1_, p_149879_2_, p_149879_3_, p_149879_4_, p_149879_5_);
        }
    }

    public void func_149878_d(World p_149878_1_, int p_149878_2_, int p_149878_3_, int p_149878_4_, Random p_149878_5_)
    {
        if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(p_149878_1_, p_149878_5_, p_149878_2_, p_149878_3_, p_149878_4_)) return;
        int l = p_149878_1_.getBlockMetadata(p_149878_2_, p_149878_3_, p_149878_4_) & 7;
        Object object = p_149878_5_.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
        int i1 = 0;
        int j1 = 0;
        boolean flag = false;

        switch (l)
        {
            case 0:
            default:
                break;
            case 1:
                label78:

                for (i1 = 0; i1 >= -1; --i1)
                {
                    for (j1 = 0; j1 >= -1; --j1)
                    {
                        if (this.func_149880_a(p_149878_1_, p_149878_2_ + i1, p_149878_3_, p_149878_4_ + j1, 1) && this.func_149880_a(p_149878_1_, p_149878_2_ + i1 + 1, p_149878_3_, p_149878_4_ + j1, 1) && this.func_149880_a(p_149878_1_, p_149878_2_ + i1, p_149878_3_, p_149878_4_ + j1 + 1, 1) && this.func_149880_a(p_149878_1_, p_149878_2_ + i1 + 1, p_149878_3_, p_149878_4_ + j1 + 1, 1))
                        {
                            object = new WorldGenTrees(false);
                            flag = true;
                            break label78;
                        }
                    }
                }
        }
    }


    public boolean func_149880_a(World p_149880_1_, int p_149880_2_, int p_149880_3_, int p_149880_4_, int p_149880_5_)
    {
        return p_149880_1_.getBlock(p_149880_2_, p_149880_3_, p_149880_4_) == this && (p_149880_1_.getBlockMetadata(p_149880_2_, p_149880_3_, p_149880_4_) & 7) == p_149880_5_;
    }

    /**
     * Determines the damage on the item the block drops. Used in cloth and wood.
     */
    public int damageDropped(int p_149692_1_)
    {
        return MathHelper.clamp_int(p_149692_1_ & 7, 0, 5);
    }

    /**
     * returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks)
     */
    @SideOnly(Side.CLIENT)
    public void getSubBlocks(Item p_149666_1_, CreativeTabs p_149666_2_, List p_149666_3_)
    {
        p_149666_3_.add(new ItemStack(p_149666_1_, 1, 0));
    }

    public boolean func_149851_a(World p_149851_1_, int p_149851_2_, int p_149851_3_, int p_149851_4_, boolean p_149851_5_)
    {
        return true;
    }

    public boolean func_149852_a(World p_149852_1_, Random p_149852_2_, int p_149852_3_, int p_149852_4_, int p_149852_5_)
    {
        return (double)p_149852_1_.rand.nextFloat() < 0.45D;
    }

    public void func_149853_b(World p_149853_1_, Random p_149853_2_, int p_149853_3_, int p_149853_4_, int p_149853_5_)
    {
        this.func_149879_c(p_149853_1_, p_149853_3_, p_149853_4_, p_149853_5_, p_149853_2_);
    }
    
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister iconRegister){
	this.lemonSapling = iconRegister.registerIcon("MoFoodMod:trees/lemon/sapling");

}
}

 

World Gen Trees:

package com.tiffit.MoFoodMod.trees;

import java.util.Random;

import com.tiffit.MoFoodMod.ModBase;

import net.minecraft.block.Block;
import net.minecraft.block.BlockSapling;
import net.minecraft.init.Blocks;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenAbstractTree;
import net.minecraftforge.common.util.ForgeDirection;

public class LemonWorldGenTrees extends WorldGenAbstractTree
{
    private boolean field_150531_a;
    private static final String __OBFID = "CL_00000401";

    public LemonWorldGenTrees(boolean p_i45449_1_, boolean p_i45449_2_)
    {
        super(p_i45449_1_);
        this.field_150531_a = p_i45449_2_;
    }

    public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5)
    {
        int l = par2Random.nextInt(3) + 5;

        if (this.field_150531_a)
        {
            l += par2Random.nextInt(7);
        }

        boolean flag = true;

        if (par4 >= 1 && par4 + l + 1 <= 256)
        {
            int j1;
            int k1;

            for (int i1 = par4; i1 <= par4 + 1 + l; ++i1)
            {
                byte b0 = 1;

                if (i1 == par4)
                {
                    b0 = 0;
                }

                if (i1 >= par4 + 1 + l - 2)
                {
                    b0 = 2;
                }

                for (j1 = par3 - b0; j1 <= par3 + b0 && flag; ++j1)
                {
                    for (k1 = par5 - b0; k1 <= par5 + b0 && flag; ++k1)
                    {
                        if (i1 >= 0 && i1 < 256)
                        {
                            Block block = par1World.getBlock(j1, i1, k1);

                            if (!this.isReplaceable(par1World, j1, i1, k1))
                            {
                                flag = false;
                            }
                        }
                        else
                        {
                            flag = false;
                        }
                    }
                }
            }

            if (!flag)
            {
                return false;
            }
            else
            {
                Block block2 = par1World.getBlock(par3, par4 - 1, par5);

                boolean isSoil = block2.canSustainPlant(par1World, par3, par4 - 1, par5, ForgeDirection.UP, (BlockSapling)ModBase.lemonSapling);
                if (isSoil && par4 < 256 - l - 1)
                {
                    block2.onPlantGrow(par1World, par3, par4 - 1, par5, par3, par4, par5);
                    int k2;

                    for (k2 = par4 - 3 + l; k2 <= par4 + l; ++k2)
                    {
                        j1 = k2 - (par4 + l);
                        k1 = 1 - j1 / 2;

                        for (int l2 = par3 - k1; l2 <= par3 + k1; ++l2)
                        {
                            int l1 = l2 - par3;

                            for (int i2 = par5 - k1; i2 <= par5 + k1; ++i2)
                            {
                                int j2 = i2 - par5;

                                if (Math.abs(l1) != k1 || Math.abs(j2) != k1 || par2Random.nextInt(2) != 0 && j1 != 0)
                                {
                                    Block block1 = par1World.getBlock(l2, k2, i2);

                                    if (block1.isAir(par1World, l2, k2, i2) || block1.isLeaves(par1World, l2, k2, i2))
                                    {
                                        this.setBlockAndNotifyAdequately(par1World, l2, k2, i2, ModBase.lemonLeaf, 2);
                                    }
                                }
                            }
                        }
                    }

                    for (k2 = 0; k2 < l; ++k2)
                    {
                        Block block3 = par1World.getBlock(par3, par4 + k2, par5);

                        if (block3.isAir(par1World, par3, par4 + k2, par5) || block3.isLeaves(par1World, par3, par4 + k2, par5))
                        {
                            this.setBlockAndNotifyAdequately(par1World, par3, par4 + k2, par5, ModBase.lemonLog, 2);
                        }
                    }

                    return true;
                }
                else
                {
                    return false;
                }
            }
        }
        else
        {
            return false;
        }
    }
}

Link to comment
Share on other sites

Perfect! Now, all I need to know is how to make the leaves drop lemons just like oak leaves.

 

 

My leaf class:

 package com.tiffit.MoFoodMod.trees;

import java.util.ArrayList;
import java.util.Random;

import com.tiffit.MoFoodMod.ModBase;

import net.minecraft.block.Block;
import net.minecraft.block.BlockLeavesBase;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraft.world.ColorizerFoliage;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.common.IShearable;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class lemonLeaf extends BlockLeavesBase implements IShearable
{
    int[] field_150128_a;
    @SideOnly(Side.CLIENT)
    protected int field_150127_b;
    protected IIcon[][] field_150129_M = new IIcon[2][];
    private static final String __OBFID = "CL_00000263";

    public lemonLeaf()
    {
    	
        super(Material.leaves, false);
        this.setTickRandomly(true);
        this.setCreativeTab(ModBase.MoFoodModTab);
        this.setHardness(0.2F);
        this.setLightOpacity(1);
        this.setStepSound(soundTypeGrass);
    IIcon lemonLeaf;
    }
    
    @SideOnly(Side.CLIENT)
    IIcon lemonLeaf;

    @SideOnly(Side.CLIENT)
    public int getBlockColor()
    {
        double d0 = 0.5D;
        double d1 = 1.0D;
        return ColorizerFoliage.getFoliageColor(d0, d1);
    }

    /**
     * Returns the color this block should be rendered. Used by leaves.
     */
    @SideOnly(Side.CLIENT)
    public int getRenderColor(int p_149741_1_)
    {
        return ColorizerFoliage.getFoliageColorBasic();
    }

    /**
     * Returns a integer with hex for 0xrrggbb with this color multiplied against the blocks color. Note only called
     * when first determining what to render.
     */
    @SideOnly(Side.CLIENT)
    public int colorMultiplier(IBlockAccess p_149720_1_, int p_149720_2_, int p_149720_3_, int p_149720_4_)
    {
        int l = 0;
        int i1 = 0;
        int j1 = 0;

        for (int k1 = -1; k1 <= 1; ++k1)
        {
            for (int l1 = -1; l1 <= 1; ++l1)
            {
                int i2 = p_149720_1_.getBiomeGenForCoords(p_149720_2_ + l1, p_149720_4_ + k1).getBiomeFoliageColor(p_149720_2_ + l1, p_149720_3_, p_149720_4_ + k1);
                l += (i2 & 16711680) >> 16;
                i1 += (i2 & 65280) >> 8;
                j1 += i2 & 255;
            }
        }

        return (l / 9 & 255) << 16 | (i1 / 9 & 255) << 8 | j1 / 9 & 255;
    }

    public void breakBlock(World p_149749_1_, int p_149749_2_, int p_149749_3_, int p_149749_4_, Block p_149749_5_, int p_149749_6_)
    {
        byte b0 = 1;
        int i1 = b0 + 1;

        if (p_149749_1_.checkChunksExist(p_149749_2_ - i1, p_149749_3_ - i1, p_149749_4_ - i1, p_149749_2_ + i1, p_149749_3_ + i1, p_149749_4_ + i1))
        {
            for (int j1 = -b0; j1 <= b0; ++j1)
            {
                for (int k1 = -b0; k1 <= b0; ++k1)
                {
                    for (int l1 = -b0; l1 <= b0; ++l1)
                    {
                        Block block = p_149749_1_.getBlock(p_149749_2_ + j1, p_149749_3_ + k1, p_149749_4_ + l1);
                        if (block.isLeaves(p_149749_1_, p_149749_2_ + j1, p_149749_3_ + k1, p_149749_4_ + l1))
                        {
                            block.beginLeavesDecay(p_149749_1_, p_149749_2_ + j1, p_149749_3_ + k1, p_149749_4_ + l1);
                        }
                    }
                }
            }
        }
    }

    /**
     * Ticks the block if it's been scheduled
     */
    public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, Random p_149674_5_)
    {
        if (!p_149674_1_.isRemote)
        {
            int l = p_149674_1_.getBlockMetadata(p_149674_2_, p_149674_3_, p_149674_4_);

            if ((l &  != 0 && (l & 4) == 0)
            {
                byte b0 = 4;
                int i1 = b0 + 1;
                byte b1 = 32;
                int j1 = b1 * b1;
                int k1 = b1 / 2;

                if (this.field_150128_a == null)
                {
                    this.field_150128_a = new int[b1 * b1 * b1];
                }

                int l1;

                if (p_149674_1_.checkChunksExist(p_149674_2_ - i1, p_149674_3_ - i1, p_149674_4_ - i1, p_149674_2_ + i1, p_149674_3_ + i1, p_149674_4_ + i1))
                {
                    int i2;
                    int j2;

                    for (l1 = -b0; l1 <= b0; ++l1)
                    {
                        for (i2 = -b0; i2 <= b0; ++i2)
                        {
                            for (j2 = -b0; j2 <= b0; ++j2)
                            {
                                Block block = p_149674_1_.getBlock(p_149674_2_ + l1, p_149674_3_ + i2, p_149674_4_ + j2);

                                if (!block.canSustainLeaves(p_149674_1_, p_149674_2_ + l1, p_149674_3_ + i2, p_149674_4_ + j2))
                                {
                                    if (block.isLeaves(p_149674_1_, p_149674_2_ + l1, p_149674_3_ + i2, p_149674_4_ + j2))
                                    {
                                        this.field_150128_a[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = -2;
                                    }
                                    else
                                    {
                                        this.field_150128_a[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = -1;
                                    }
                                }
                                else
                                {
                                    this.field_150128_a[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = 0;
                                }
                            }
                        }
                    }

                    for (l1 = 1; l1 <= 4; ++l1)
                    {
                        for (i2 = -b0; i2 <= b0; ++i2)
                        {
                            for (j2 = -b0; j2 <= b0; ++j2)
                            {
                                for (int k2 = -b0; k2 <= b0; ++k2)
                                {
                                    if (this.field_150128_a[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1] == l1 - 1)
                                    {
                                        if (this.field_150128_a[(i2 + k1 - 1) * j1 + (j2 + k1) * b1 + k2 + k1] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1 - 1) * j1 + (j2 + k1) * b1 + k2 + k1] = l1;
                                        }

                                        if (this.field_150128_a[(i2 + k1 + 1) * j1 + (j2 + k1) * b1 + k2 + k1] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1 + 1) * j1 + (j2 + k1) * b1 + k2 + k1] = l1;
                                        }

                                        if (this.field_150128_a[(i2 + k1) * j1 + (j2 + k1 - 1) * b1 + k2 + k1] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1) * j1 + (j2 + k1 - 1) * b1 + k2 + k1] = l1;
                                        }

                                        if (this.field_150128_a[(i2 + k1) * j1 + (j2 + k1 + 1) * b1 + k2 + k1] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1) * j1 + (j2 + k1 + 1) * b1 + k2 + k1] = l1;
                                        }

                                        if (this.field_150128_a[(i2 + k1) * j1 + (j2 + k1) * b1 + (k2 + k1 - 1)] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1) * j1 + (j2 + k1) * b1 + (k2 + k1 - 1)] = l1;
                                        }

                                        if (this.field_150128_a[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1 + 1] == -2)
                                        {
                                            this.field_150128_a[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1 + 1] = l1;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                l1 = this.field_150128_a[k1 * j1 + k1 * b1 + k1];

                if (l1 >= 0)
                {
                    p_149674_1_.setBlockMetadataWithNotify(p_149674_2_, p_149674_3_, p_149674_4_, l & -9, 4);
                }
                else
                {
                    this.removeLeaves(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_);
                }
            }
        }
    }

    /**
     * A randomly called display update to be able to add particles or other items for display
     */
    @SideOnly(Side.CLIENT)
    public void randomDisplayTick(World p_149734_1_, int p_149734_2_, int p_149734_3_, int p_149734_4_, Random p_149734_5_)
    {
        if (p_149734_1_.canLightningStrikeAt(p_149734_2_, p_149734_3_ + 1, p_149734_4_) && !World.doesBlockHaveSolidTopSurface(p_149734_1_, p_149734_2_, p_149734_3_ - 1, p_149734_4_) && p_149734_5_.nextInt(15) == 1)
        {
            double d0 = (double)((float)p_149734_2_ + p_149734_5_.nextFloat());
            double d1 = (double)p_149734_3_ - 0.05D;
            double d2 = (double)((float)p_149734_4_ + p_149734_5_.nextFloat());
            p_149734_1_.spawnParticle("dripWater", d0, d1, d2, 0.0D, 0.0D, 0.0D);
        }
    }

    private void removeLeaves(World p_150126_1_, int p_150126_2_, int p_150126_3_, int p_150126_4_)
    {
        this.dropBlockAsItem(p_150126_1_, p_150126_2_, p_150126_3_, p_150126_4_, p_150126_1_.getBlockMetadata(p_150126_2_, p_150126_3_, p_150126_4_), 0);
        p_150126_1_.setBlockToAir(p_150126_2_, p_150126_3_, p_150126_4_);
    }

    /**
     * Returns the quantity of items to drop on block destruction.
     */
    public int quantityDropped(Random p_149745_1_)
    {
        return p_149745_1_.nextInt(20) == 0 ? 1 : 0;
    }

    public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_)
    {
        return Item.getItemFromBlock(ModBase.lemonSapling);
    }

    /**
     * Drops the block items with a specified chance of dropping the specified items
     */
    public void dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_, int p_149690_7_)
    {
        if (!p_149690_1_.isRemote)
        {
            int j1 = this.func_150123_b(p_149690_5_);

            if (p_149690_7_ > 0)
            {
                j1 -= 2 << p_149690_7_;

                if (j1 < 10)
                {
                    j1 = 10;
                }
            }

            if (p_149690_1_.rand.nextInt(j1) == 0)
            {
                Item item = this.getItemDropped(p_149690_5_, p_149690_1_.rand, p_149690_7_);
                this.dropBlockAsItem(p_149690_1_, p_149690_2_, p_149690_3_, p_149690_4_, new ItemStack(item, 1, this.damageDropped(p_149690_5_)));
            }

            j1 = 200;

            if (p_149690_7_ > 0)
            {
                j1 -= 10 << p_149690_7_;

                if (j1 < 40)
                {
                    j1 = 40;
                }
            }

            this.func_150124_c(p_149690_1_, p_149690_2_, p_149690_3_, p_149690_4_, p_149690_5_, j1);
        }
    }

    protected void func_150124_c(World p_150124_1_, int p_150124_2_, int p_150124_3_, int p_150124_4_, int p_150124_5_, int p_150124_6_) {}

    protected int func_150123_b(int p_150123_1_)
    {
        return 20;
    }

    /**
     * Called when the player destroys a block with an item that can harvest it. (i, j, k) are the coordinates of the
     * block and l is the block's subtype/damage.
     */
    public void harvestBlock(World p_149636_1_, EntityPlayer p_149636_2_, int p_149636_3_, int p_149636_4_, int p_149636_5_, int p_149636_6_)
    {
        {
            super.harvestBlock(p_149636_1_, p_149636_2_, p_149636_3_, p_149636_4_, p_149636_5_, p_149636_6_);
        }
    }

    /**
     * Determines the damage on the item the block drops. Used in cloth and wood.
     */
    public int damageDropped(int p_149692_1_)
    {
        return p_149692_1_ & 3;
    }

    /**
     * Is this block (a) opaque and (b) a full 1m cube?  This determines whether or not to render the shared face of two
     * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block.
     */
    public boolean isOpaqueCube()
    {
        return false;
    }

    /**
     * Gets the block's texture. Args: side, meta
     */
    @SideOnly(Side.CLIENT)
    public IIcon getIcon(int var1, int var2) {
	return this.lemonLeaf; 	
	}

    /**
     * Pass true to draw this block using fancy graphics, or false for fast graphics.
     */
    @SideOnly(Side.CLIENT)
    public void setGraphicsLevel(boolean p_150122_1_)
    {
        this.field_150121_P = p_150122_1_;
        this.field_150127_b = p_150122_1_ ? 0 : 1;
    }

    /**
     * Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage
     * and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null.
     */
    protected ItemStack createStackedBlock(int p_149644_1_)
    {
        return new ItemStack(Item.getItemFromBlock(this), 1, p_149644_1_ & 3);
    }

    public String[] func_150125_e() {
	return null;
}


    @Override
    public boolean isShearable(ItemStack item, IBlockAccess world, int x, int y, int z)
    {
        return true;
    }

    @Override
    public ArrayList<ItemStack> onSheared(ItemStack item, IBlockAccess world, int x, int y, int z, int fortune)
    {
        ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
        ret.add(new ItemStack(this, 1, world.getBlockMetadata(x, y, z) & 3));
        return ret;
    }

    @Override
    public void beginLeavesDecay(World world, int x, int y, int z)
    {

        int i2 = world.getBlockMetadata(x, y, z);

        if ((i2 &  == 0)
        {
            world.setBlockMetadataWithNotify(x, y, z, i2 | 8, 4);
        }
        world.setBlockMetadataWithNotify(x, y, z, world.getBlockMetadata(x, y, z) | 8, 4);
    }

    @Override
    public boolean isLeaves(IBlockAccess world, int x, int y, int z)
    {
        return true;
    }
    
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister iconRegister){
	this.lemonLeaf = iconRegister.registerIcon("minecraft:leaves_oak_opaque");

}
}

Link to comment
Share on other sites

  • 1 month later...

Just rewrite getItemDropped and erase dropBlockAsItemWithChance (or make it do nothing) then add your two items in getItemDropped and factor in chance. You could also spawn a new item entity when the block breaks.

 

How do I add something to getItemDropped. I already have the sapling in it, but its a return statement so I really don't know how to add something else

Link to comment
Share on other sites

/**
     * Drops the block items with a specified chance of dropping the specified items
     */
    public void dropBlockAsItemWithChance(World p_149690_1_, int p_149690_2_, int p_149690_3_, int p_149690_4_, int p_149690_5_, float p_149690_6_, int p_149690_7_)
    {
        if (!p_149690_1_.isRemote)
        {
            int j1 = this.func_150123_b(p_149690_5_);

            if (p_149690_7_ > 0)
            {
                j1 -= 2 << p_149690_7_;

                if (j1 < 10)
                {
                    j1 = 10;
                }
            }

            if (p_149690_1_.rand.nextInt(j1) == 0)
            {
                Item item = this.getItemDropped(p_149690_5_, p_149690_1_.rand, p_149690_7_);
                this.dropBlockAsItem(p_149690_1_, p_149690_2_, p_149690_3_, p_149690_4_, new ItemStack(item, 1, this.damageDropped(p_149690_5_)));
            }

            j1 = 200;

            if (p_149690_7_ > 0)
            {
                j1 -= 10 << p_149690_7_;

                if (j1 < 40)
                {
                    j1 = 40;
                }
            }

            this.func_150124_c(p_149690_1_, p_149690_2_, p_149690_3_, p_149690_4_, p_149690_5_, j1);
        }
    }

 

BlockLeaves 258

 

and here the old one:

 

public void dropBlockAsItemWithChance(World par1World, int par2, int par3,
		int par4, int par5, float par6, int par7) {
	if (!par1World.isRemote) {
		int j1 = 20;

		if ((par5 & 3) == 3) {
			j1 = 80;
		}

		if (par7 > 0) {
			j1 -= 2 << par7;

			if (j1 < 10) {
				j1 = 20;
			}
		}

		if (par1World.rand.nextInt(j1) == 0) {
			Block k1 = this.idDropped(par5, par1World.rand, par7);
			this.dropBlockAsItem(par1World, par2, par3, par4,
					new ItemStack(k1, 1, this.damageDropped(par5)));
		}

		j1 = 400;

		if (par7 > 0) {
			j1 -= 10 << par7;

			if (j1 < 40) {
				j1 = 80;
			}
		}

		if ((par5 & 3) == 0 && par1World.rand.nextInt(j1) == 0) {
			this.dropBlockAsItem(par1World, par2, par3, par4,
					new ItemStack(CMStuff.cobaltapple, 1, 0));
		}
	}
}

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • This is what marks me with one of the mods I have and I don't know the reason since I am using many mods at the same time and the code is very extensive ---- Informe de fallos de Minecraft ---- // Apuesto a que los Cylons no tendrían este problema. Hora: 2024-07-18 17:46:01 Descripción: Se ha producido un error al cargar el mod java.lang.Exception: La carga del mod ha fallado     en net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.19.2-43.4.2-universal.jar%23230!/:?] {re:classloading}     en net.minecraftforge.client.loading.ClientModLoader.completeModLoading(ClientModLoader.java:167) ~[forge-1.19.2-43.4.2-universal.jar%23230!/:?] {re:classloading,pl:runtimedistcleaner:A}     en net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:585) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:playerrevive.mixins.json:MinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     en net.minecraft.Util.m_137521_(Util.java:605) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:classloading,xf:OptiFine:default}     en net.minecraft.client.Minecraft.lambda$new$3(Minecraft.java:579) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:playerrevive.mixins.json:MinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     en net.minecraft.client.gui.screens.LoadingOverlay.m_6305_(LoadingOverlay.java:196) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:classloading,xf:OptiFine:default}     en net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:1290) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:mixin,pl:accesstransformer:B,xf:OptiFine:default,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     en net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1115) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:playerrevive.mixins.json:MinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     en net.minecraft.cliente.Minecraft.m_91374_(Minecraft.java:700) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:balm.mixins.json:MinecraftMixin,pl:mixin:APP:playerrevive.mixins.json:MinecraftAccessor,pl:mixin:A,pl:runtimedistcleaner:A}     en net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[cliente-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:classloading,pl:runtimedistcleaner:A}     en net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23225!/:?] {re:classloading,pl:runtimedistcleaner:A}     en jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Método nativo) ~[?:?] {}     en jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     en jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     en java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     en net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.4.2.jar%23101!/:?] {}     en cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {}     en cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {} en cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar     %2388!/:?] {}     en cpw.mods.modlauncher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {}     en cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {}     en cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {} en cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)     [modlauncher-10.0.8.jar%2388!/:?] {}     en cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A continuación se muestra un recorrido detallado del error, su ruta de código y todos los detalles conocidos: --------------------------------------------------------------------------------------- -- Cabeza -- Hilo: Hilo de renderizado Stacktrace:     at corgitaco.corgilib.serialization.jankson.JanksonUtil.readConfig(JanksonUtil.java:139) ~[CorgiLib-forge-1.19.2-1.0.0.34.jar%23198!/:1.0.0.34] {re:classloading} -- MOD byg -- Detalles:     Archivo del mod: /C:/Users/jelia/AppData/Roaming/.minecraft/mods/Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar     Mensaje de error: Oh The Biomes You'll Go (byg) encontró un error durante la fase de evento completa         java.lang.IllegalArgumentException: Jankson file reading for "C:\Users\jelia\AppData\Roaming\.minecraft\config\byg\trades.json5" failed due to the following error(s): Jankson file reading for "C:\Users\jelia\AppData\Roaming\.minecraft\config\byg\trades.json5" failed due to the following error(s): Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "1": [ { "config": { "emerald_cost": 5, "item": "byg:aspen_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:baobab_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:blue_enchanted_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:pink_cherry_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:white_cherry_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:cika_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:cypress_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:ebony_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:ether_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:fir_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:green_enchanted_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:holly_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:jacaranda_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:indigo_jacaranda_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:lament_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:mahogany_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:mangrove_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:silver_maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:nightshade_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:palm_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:palo_verde_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:pine_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:rainbow_eucalyptus_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:redwood_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:skyris_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:willow_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:witch_hazel_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:zelkova_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:withering_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:araucaria_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:blue_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_zelkova_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:joshua_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orchard_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:yellow_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:yellow_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:skyris_vine", "max_uses": 12, "number_of_items": 2, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:poison_ivy", "max_uses": 12, "number_of_items": 2, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "3": [ { "config": { "emerald_cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 1, "item": "byg:dacite", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:dacite", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:soapstone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:soapstone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:red_rock", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:red_rock", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_and_emeralds_to_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "1": [ { "config": { "cost": 24, "item": "byg:cattail_sprout", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 10, "item": "byg:baobab_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 16, "item": "byg:aloe_vera", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 24, "item": "byg:green_apple", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "cost": 10, "item": "byg:joshua_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 2, "from_count": 16, "from_item": "minecraft:dirt", "max_uses": 4, "to_count": 16, "to_item": "byg:lush_dirt", "villager_xp": 4 }, "type": "byg:items_and_emeralds_to_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "2": [ { "config": { "cost": 10, "item": "byg:blueberries", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "4": [ { "config": { "emerald_cost": 3, "item": "byg:chain_plating", "max_uses": 12, "number_of_items": 7, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "1": [ { "config": { "cost": 10, "item": "minecraft:red_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:brown_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:green_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 8, "item": "byg:wood_blewit", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 8, "item": "byg:white_puffball_cap", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "emerald_cost": 4, "item": "byg:white_puffball_spores", "max_uses": 4, "number_of_items": 5, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 10, "item": "minecraft:crimson_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:warped_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:sythian_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 4, "item": "byg:witch_hazel_branch", "max_uses": 4, "number_of_items": 9, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 10, "item": "byg:witch_hazel_blossom", "max_uses": 10, "number_of_items": 1, "villager_xp": 3 }, "type": "byg:items_for_emeralds" } ], "5": [ { "config": { "cost": 10, "item": "byg:imparius_mushroom", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:shulkren_fungus", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:fungal_imparius", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" } ] } missed input: { "byg:forager": { "1": [ { "config": { "cost": 10, "item": "minecraft:red_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:brown_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:green_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 8, "item": "byg:wood_blewit", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 8, "item": "byg:white_puffball_cap", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "emerald_cost": 4, "item": "byg:white_puffball_spores", "max_uses": 4, "number_of_items": 5, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 10, "item": "minecraft:crimson_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:warped_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:sythian_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 4, "item": "byg:witch_hazel_branch", "max_uses": 4, "number_of_items": 9, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 10, "item": "byg:witch_hazel_blossom", "max_uses": 10, "number_of_items": 1, "villager_xp": 3 }, "type": "byg:items_for_emeralds" } ], "5": [ { "config": { "cost": 10, "item": "byg:imparius_mushroom", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:shulkren_fungus", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:fungal_imparius", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" } ] }, "minecraft:armorer": { "1": [], "2": [], "3": [], "4": [ { "config": { "emerald_cost": 3, "item": "byg:chain_plating", "max_uses": 12, "number_of_items": 7, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ], "5": [] }, "minecraft:butcher": { "1": [], "2": [ { "config": { "cost": 10, "item": "byg:blueberries", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [], "4": [], "5": [] }, "minecraft:farmer": { "1": [ { "config": { "cost": 24, "item": "byg:cattail_sprout", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 10, "item": "byg:baobab_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 16, "item": "byg:aloe_vera", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 24, "item": "byg:green_apple", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "cost": 10, "item": "byg:joshua_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 2, "from_count": 16, "from_item": "minecraft:dirt", "max_uses": 4, "to_count": 16, "to_item": "byg:lush_dirt", "villager_xp": 4 }, "type": "byg:items_and_emeralds_to_items" } ], "5": [] }, "minecraft:mason": { "1": [], "2": [], "3": [ { "config": { "emerald_cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 1, "item": "byg:dacite", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:dacite", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:soapstone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:soapstone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:red_rock", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:red_rock", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "5": [] } }     Mod Version: 2.0.1.6     Mod Issue URL: https://github.com/AOCAWOL/BYG/issues     Exception message: java.lang.IllegalArgumentException: Jankson file reading for "C:\Users\jelia\AppData\Roaming\.minecraft\config\byg\trades.json5" failed due to the following error(s): Jankson file reading for "C:\Users\jelia\AppData\Roaming\.minecraft\config\byg\trades.json5" failed due to the following error(s): Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "1": [ { "config": { "emerald_cost": 5, "item": "byg:aspen_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:baobab_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:blue_enchanted_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:pink_cherry_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:white_cherry_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:cika_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:cypress_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:ebony_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:ether_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:fir_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:green_enchanted_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:holly_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:jacaranda_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:indigo_jacaranda_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:lament_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:mahogany_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:mangrove_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:silver_maple_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:nightshade_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:palm_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:palo_verde_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:pine_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:rainbow_eucalyptus_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:redwood_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:skyris_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:willow_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:witch_hazel_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:zelkova_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:withering_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:araucaria_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:blue_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:brown_zelkova_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:joshua_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orange_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:orchard_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_oak_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:red_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:yellow_birch_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:yellow_spruce_sapling", "max_uses": 12, "number_of_items": 1, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:skyris_vine", "max_uses": 12, "number_of_items": 2, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 5, "item": "byg:poison_ivy", "max_uses": 12, "number_of_items": 2, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "3": [ { "config": { "emerald_cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 1, "item": "byg:dacite", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:dacite", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:soapstone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:soapstone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:red_rock", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:red_rock", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_and_emeralds_to_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "1": [ { "config": { "cost": 24, "item": "byg:cattail_sprout", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 10, "item": "byg:baobab_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 16, "item": "byg:aloe_vera", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 24, "item": "byg:green_apple", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "cost": 10, "item": "byg:joshua_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 2, "from_count": 16, "from_item": "minecraft:dirt", "max_uses": 4, "to_count": 16, "to_item": "byg:lush_dirt", "villager_xp": 4 }, "type": "byg:items_and_emeralds_to_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "2": [ { "config": { "cost": 10, "item": "byg:blueberries", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds missed input: { "4": [ { "config": { "emerald_cost": 3, "item": "byg:chain_plating", "max_uses": 12, "number_of_items": 7, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ] }; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:items_for_emeralds; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items; Unknown registry key in ResourceKey[minecraft:root / corgilib:villager_trades_item_listing]: byg:emerald_for_items missed input: { "1": [ { "config": { "cost": 10, "item": "minecraft:red_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:brown_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:green_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 8, "item": "byg:wood_blewit", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 8, "item": "byg:white_puffball_cap", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "emerald_cost": 4, "item": "byg:white_puffball_spores", "max_uses": 4, "number_of_items": 5, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 10, "item": "minecraft:crimson_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:warped_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:sythian_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 4, "item": "byg:witch_hazel_branch", "max_uses": 4, "number_of_items": 9, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 10, "item": "byg:witch_hazel_blossom", "max_uses": 10, "number_of_items": 1, "villager_xp": 3 }, "type": "byg:items_for_emeralds" } ], "5": [ { "config": { "cost": 10, "item": "byg:imparius_mushroom", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:shulkren_fungus", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:fungal_imparius", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" } ] } missed input: { "byg:forager": { "1": [ { "config": { "cost": 10, "item": "minecraft:red_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:brown_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:green_mushroom", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 8, "item": "byg:wood_blewit", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 8, "item": "byg:white_puffball_cap", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "emerald_cost": 4, "item": "byg:white_puffball_spores", "max_uses": 4, "number_of_items": 5, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 10, "item": "minecraft:crimson_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "minecraft:warped_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:sythian_fungus", "max_uses": 12, "villager_xp": 3 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 4, "item": "byg:witch_hazel_branch", "max_uses": 4, "number_of_items": 9, "villager_xp": 3 }, "type": "byg:items_for_emeralds" }, { "config": { "emerald_cost": 10, "item": "byg:witch_hazel_blossom", "max_uses": 10, "number_of_items": 1, "villager_xp": 3 }, "type": "byg:items_for_emeralds" } ], "5": [ { "config": { "cost": 10, "item": "byg:imparius_mushroom", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:shulkren_fungus", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 10, "item": "byg:fungal_imparius", "max_uses": 12, "villager_xp": 4 }, "type": "byg:emerald_for_items" } ] }, "minecraft:armorer": { "1": [], "2": [], "3": [], "4": [ { "config": { "emerald_cost": 3, "item": "byg:chain_plating", "max_uses": 12, "number_of_items": 7, "villager_xp": 2 }, "type": "byg:items_for_emeralds" } ], "5": [] }, "minecraft:butcher": { "1": [], "2": [ { "config": { "cost": 10, "item": "byg:blueberries", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [], "4": [], "5": [] }, "minecraft:farmer": { "1": [ { "config": { "cost": 24, "item": "byg:cattail_sprout", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "2": [ { "config": { "cost": 10, "item": "byg:baobab_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 16, "item": "byg:aloe_vera", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" }, { "config": { "cost": 24, "item": "byg:green_apple", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "3": [ { "config": { "cost": 10, "item": "byg:joshua_fruit", "max_uses": 12, "villager_xp": 2 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 2, "from_count": 16, "from_item": "minecraft:dirt", "max_uses": 4, "to_count": 16, "to_item": "byg:lush_dirt", "villager_xp": 4 }, "type": "byg:items_and_emeralds_to_items" } ], "5": [] }, "minecraft:mason": { "1": [], "2": [], "3": [ { "config": { "emerald_cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:rocky_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:mossy_stone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "4": [ { "config": { "emerald_cost": 1, "item": "byg:dacite", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:dacite", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:soapstone", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:soapstone", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" }, { "config": { "emerald_cost": 1, "item": "byg:red_rock", "max_uses": 12, "number_of_items": 12, "villager_xp": 2 }, "type": "byg:items_for_emeralds" }, { "config": { "cost": 1, "item": "byg:red_rock", "max_uses": 12, "villager_xp": 12 }, "type": "byg:emerald_for_items" } ], "5": [] } } Stacktrace:     at corgitaco.corgilib.serialization.jankson.JanksonUtil.readConfig(JanksonUtil.java:139) ~[CorgiLib-forge-1.19.2-1.0.0.34.jar%23198!/:1.0.0.34] {re:classloading}     at potionstudios.byg.common.entity.npc.TradesConfig.readConfig(TradesConfig.java:66) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:classloading}     at potionstudios.byg.common.entity.npc.TradesConfig.getConfig(TradesConfig.java:47) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:classloading}     at potionstudios.byg.config.BYGConfigHandler.lambda$loadAllConfigs$6(BYGConfigHandler.java:50) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:mixin,re:classloading}     at potionstudios.byg.config.BYGConfigHandler.tryCatchErrors(BYGConfigHandler.java:70) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:mixin,re:classloading}     at potionstudios.byg.config.BYGConfigHandler.loadAllConfigs(BYGConfigHandler.java:50) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:mixin,re:classloading}     at potionstudios.byg.config.BYGConfigHandler.loadAllConfigs(BYGConfigHandler.java:33) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:mixin,re:classloading}     at potionstudios.byg.BYG.commonLoad(BYG.java:63) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:mixin,re:classloading}     at potionstudios.byg.BYGForge.commonLoad(BYGForge.java:89) ~[Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar%23216!/:2.0.1.6] {re:classloading}     at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%2385!/:?] {}     at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:114) ~[javafmllanguage-1.19.2-43.4.2.jar%23227!/:?] {}     at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:123) ~[fmlcore-1.19.2-43.4.2.jar%23226!/:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}     at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}     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:computing_frames}     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {re:computing_frames}     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {} -- System Details -- Details:     Minecraft Version: 1.19.2     Minecraft Version ID: 1.19.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.8, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 883961880 bytes (843 MiB) / 1996488704 bytes (1904 MiB) up to 4160749568 bytes (3968 MiB)     CPUs: 8     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz     Identifier: Intel64 Family 6 Model 126 Stepping 5     Microarchitecture: Ice Lake (Client)     Frequency (GHz): 1.19     Number of physical packages: 1     Number of physical CPUs: 4     Number of logical CPUs: 8     Graphics card #0 name: Intel(R) UHD Graphics     Graphics card #0 vendor: Intel Corporation (0x8086)     Graphics card #0 VRAM (MB): 1024.00     Graphics card #0 deviceId: 0x8a56     Graphics card #0 versionInfo: DriverVersion=30.0.100.9864     Memory slot #0 capacity (MB): 4096.00     Memory slot #0 clockSpeed (GHz): 2.67     Memory slot #0 type: Unknown     Memory slot #1 capacity (MB): 4096.00     Memory slot #1 clockSpeed (GHz): 2.67     Memory slot #1 type: Unknown     Virtual memory max (MB): 16126.37     Virtual memory used (MB): 9429.52     Swap memory total (MB): 8192.00     Swap memory used (MB): 1427.37     JVM Flags: 8 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -Xmx3967m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump     OptiFine Version: OptiFine_1.19.2_HD_U_I2     OptiFine Build: 20230623-171717     Render Distance Chunks: 2     Mipmaps: 3     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 3.2.0 - Build 30.0.100.9864     OpenGlRenderer: Intel(R) UHD Graphics     OpenGlVendor: Intel     CpuCount: 8     ModLauncher: 10.0.8+10.0.8+main.0ef7e830     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:          mixin-0.8.5.jar mixin PLUGINSERVICE          eventbus-6.0.3.jar eventbus PLUGINSERVICE          fmlloader-1.19.2-43.4.2.jar slf4jfixer PLUGINSERVICE          fmlloader-1.19.2-43.4.2.jar object_holder_definalize PLUGINSERVICE          fmlloader-1.19.2-43.4.2.jar runtime_enum_extender PLUGINSERVICE          fmlloader-1.19.2-43.4.2.jar capability_token_subclass PLUGINSERVICE          accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE          fmlloader-1.19.2-43.4.2.jar runtimedistcleaner PLUGINSERVICE          modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar OptiFine TRANSFORMATIONSERVICE          modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE      FML Language Providers:          [email protected]         lowcodefml@null         javafml@null     Mod List:          client-1.19.2-20220805.130853-srg.jar             |Minecraft                     |minecraft                     |1.19.2              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         FarmersDelight-1.19.2-1.2.2.jar                   |Farmer's Delight              |farmersdelight                |1.19.2-1.2.2        |DONE      |Manifest: NOSIGNATURE         TerraBlender-forge-1.19.2-2.0.1.166.jar           |TerraBlender                  |terrablender                  |2.0.1.166           |DONE      |Manifest: NOSIGNATURE         CozyHome-2.2.7-1.19.2.jar                         |Cozy Home                     |cozy_home                     |1.0.0               |DONE      |Manifest: NOSIGNATURE         EasyAnvils-v4.0.11-1.19.2-Forge.jar               |Easy Anvils                   |easyanvils                    |4.0.11              |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         trashslot-forge-1.19.2-12.1.0.jar                 |TrashSlot                     |trashslot                     |12.1.0              |DONE      |Manifest: NOSIGNATURE         beautify-1.4.3.jar                                |Beautify                      |beautify                      |1.4.3               |DONE      |Manifest: NOSIGNATURE         player-animation-lib-forge-1.0.2.jar              |Player Animator               |playeranimator                |1.0.2               |DONE      |Manifest: NOSIGNATURE         CreativeCore_FORGE_v2.9.3_mc1.19.2 - copia.jar    |CreativeCore                  |creativecore                  |2.9.3               |DONE      |Manifest: NOSIGNATURE         EasyMagic-v4.3.3-1.19.2-Forge.jar                 |Easy Magic                    |easymagic                     |4.3.3               |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         libraryferret-forge-1.19.2-4.0.0.jar              |Library ferret                |libraryferret                 |4.0.0               |DONE      |Manifest: NOSIGNATURE         curios-forge-1.19.2-5.1.6.2.jar                   |Curios API                    |curios                        |1.19.2-5.1.6.2      |DONE      |Manifest: NOSIGNATURE         wardrobe-1.0.3-1.19.2.jar                         |Wardrobe                      |wardrobe                      |1.0.3               |DONE      |Manifest: NOSIGNATURE         Croptopia-1.19.2-FORGE-2.2.2.jar                  |Croptopia                     |croptopia                     |2.2.2               |DONE      |Manifest: NOSIGNATURE         camera-1.19.2-1.0.4.jar                           |Camera Mod                    |camera                        |1.19.2-1.0.4        |DONE      |Manifest: NOSIGNATURE         CTM-1.19.2-1.1.6+8.jar                            |ConnectedTexturesMod          |ctm                           |1.19.2-1.1.6+8      |DONE      |Manifest: NOSIGNATURE         modernlife-1.19.2-1.59 (1).jar                    |Modern Life                   |modernlife                    |1.19.2-1.59         |DONE      |Manifest: NOSIGNATURE         citadel-2.1.3-1.19.jar                            |Citadel                       |citadel                       |2.1.3               |DONE      |Manifest: NOSIGNATURE         alexsmobs-1.21.1.jar                              |Alex's Mobs                   |alexsmobs                     |1.21.1              |DONE      |Manifest: NOSIGNATURE         artifacts-1.19.2-5.0.5.jar                        |Artifacts                     |artifacts                     |1.19.2-5.0.5        |DONE      |Manifest: NOSIGNATURE         CustomPlayerModels-1.19-0.6.17a.jar               |Customizable Player Models    |cpm                           |0.6.17a             |DONE      |Manifest: NOSIGNATURE         bettervillage-forge-1.19.2-3.2.0.jar              |Better village                |bettervillage                 |3.1.0               |DONE      |Manifest: NOSIGNATURE         elevatorid-1.19.2-1.8.9.jar                       |Elevator Mod                  |elevatorid                    |1.19.2-1.8.9        |DONE      |Manifest: NOSIGNATURE         resourcefullib-forge-1.19.2-1.1.24.jar            |Resourceful Lib               |resourcefullib                |1.1.24              |DONE      |Manifest: NOSIGNATURE         balm-forge-1.19.2-4.5.7.jar                       |Balm                          |balm                          |4.5.7               |DONE      |Manifest: NOSIGNATURE         PuzzlesLib-v4.4.2-1.19.2-Forge - copia.jar        |Puzzles Lib                   |puzzleslib                    |4.4.2               |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         Oh_The_Biomes_You'll_Go-forge-1.19.2-2.0.1.6.jar  |Oh The Biomes You'll Go       |byg                           |2.0.1.6             |ERROR     |Manifest: NOSIGNATURE         CorgiLib-forge-1.19.2-1.0.0.34.jar                |CorgiLib                      |corgilib                      |1.0.0.34            |DONE      |Manifest: NOSIGNATURE         cloth-config-8.3.115-forge.jar                    |Cloth Config v8 API           |cloth_config                  |8.3.115             |DONE      |Manifest: NOSIGNATURE         voicechat-forge-1.19.2-2.5.19.jar                 |Simple Voice Chat             |voicechat                     |1.19.2-2.5.19       |DONE      |Manifest: NOSIGNATURE         forge-1.19.2-43.4.2-universal.jar                 |Forge                         |forge                         |43.4.2              |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         commonality-1.19.2-4.2.1.jar                      |Commonality                   |commonality                   |4.2.1               |DONE      |Manifest: NOSIGNATURE         apexcore-1.19.2-7.3.1.jar                         |ApexCore                      |apexcore                      |7.3.1               |DONE      |Manifest: NOSIGNATURE         fantasyfurniture-1.19.2-6.7.0.jar                 |Fantasy's Furniture           |fantasyfurniture              |6.7.0               |DONE      |Manifest: NOSIGNATURE         CosmeticArmorReworked-1.19.2-v1a (1).jar          |CosmeticArmorReworked         |cosmeticarmorreworked         |1.19.2-v1a          |DONE      |Manifest: 5e:ed:25:99:e4:44:14:c0:dd:89:c1:a9:4c:10:b5:0d:e4:b1:52:50:45:82:13:d8:d0:32:89:67:56:57:01:53         expandability-forge-7.0.0.jar                     |ExpandAbility                 |expandability                 |7.0.0               |DONE      |Manifest: NOSIGNATURE         PlayerRevive_FORGE_v2.0.14_mc1.19.2.jar           |PlayerRevive                  |playerrevive                  |2.0.14              |DONE      |Manifest: NOSIGNATURE         geckolib-forge-1.19-3.1.40 - copia.jar            |GeckoLib                      |geckolib3                     |3.1.40              |DONE      |Manifest: NOSIGNATURE         emotecraft-for-MC1.19.2-2.2.7-b.build.50-forge.jar|Emotecraft                    |emotecraft                    |2.2.7-b.build.50    |DONE      |Manifest: NOSIGNATURE         Corpse-forge-1.19.2-1.0.12.jar |Cadáver |cadáver |1.19.2-1.0.12 |HECHO |Manifiesto: NOSIGNATURE         chipped-forge-1.19.2-2.1.5.jar |Astillado |astillado |2.1.5 |HECHO |Manifiesto: NOSIGNATURE     Informe de fallos UUID: 452056ac-0e2c-4d3d-bed6-7e2edade8718     FML: 43.4     Forge: net.minecraftforge:43.4.2
    • version used : minecraft forge 1.20.1 Logs : https://bytebin.lucko.me/rtG4EA0vfb hi! so when i try to create a new minecraft world in single player, it just crashes?? does anyone has an idea what could be causing this ?
    • Hey today I was trying to play in 1.21 modpack that I made on fabric (my version of fabric is in 0.16.0) with this list of mods : - Entity Model Features (by traben_0) - Entity Texture Features (by traben_0) - Advanced Chat (by Wesley8081) - Ambient Environment (by Jaredlll08) - Ambient Souds 6 (by CreativeMD) - Animatica (by FoundationGames) - Armor Statues (by Fuzs) - Auto HUD (by Crendgrim) - Bad Packets (by badasintended) - Balm (by BlayTheNinth) - Better Beds (by Motschen) - Better Chunk Loading (by someaddon) - Better Compatibility Checker (by Gaz-) - Better FPS [Render Distance] (by someaddon) - Better Ping Display (by Quintinity) - Better Statistics Screen (by TheCSDev) - Better Armor HUD (by efekos) - Better F3 ( by cominixo) - Blur + (by Motschen) - Bobby (by Johni0702) - Cat Jam (by shmove) - Catalogue (by MrCrayfish) - Chat Heads (by dzwdz) - Cherished Worlds (by TheIllusiveC4) - Chunk Sending (by someaddon) - Chunks Fade In (by kerudion) - Chunky (by pop4959) - Cloth Config (by shedaniel) - Clumps (by Jaredlll08) - Cobweb (CrystalSpider) - Collective (by Serilum) - Configured (by MrCrayfish) - Connectivity (by someaddon) - Continuity (by Pepper_Bell) - Creative Core (by CreativeMD) - Cupboard (by someaddon) - Cut Through (by Fuzs) - Dark Loading Screen (by Neecko5b84) - Debugify (by XanderIsDev) - Double Doors (by Serilum) - Dynamic FPS (by juliand665) - Dynamic Lights (by Tschipcraft) - Easy Anvils (by Fuzs) - Easy Magic (by Fuzs) - Easy Shulker Boxes (by Fuzs) - Eating Animation (by theone-ss) - Enhanced Attack Indicator (by Mineash) - Enhanced Block Entities (by FoundationGames) - Enhanced Visuals (by CreativeMD) - Entity Culling (by tr7zw) - Environmental Water (by AgentMindStorm) - Essential (by SparkUniverse_) - Extra Thicc Packets (by JaselUmena) - Fabric (by modmuss50) - Fabric Language Kotlin (by modmuss50) - Falling Leaves (by RandomMcSomethin) - Fancy Block Particles (by Hantonik) - Fancy Health Bar (by efekos) - Farsight (by someaddon) - Fast IP Ping (by Fallen_Breath) - Ferrite Core (by  malte0811) - Fish On The Line (by Serilum) - Fix GPU Memory Leak  (by someaddon) - Forge Config API Port (by Fuzs) - FPS Reducer (by bre2el) - Freecam (by hashalite) - Fzzy Config (by fzzyhmstrs) - Get It Together (by bl4ckscor3) - Global Packs (by JTK222) - Harvest With Ease (by CrystalSpider) - Ichuntil Util (by iChun) - Immediately Fast (by RaphilMC) - Immersive UI (by SSKirillSS) - Indium (by comp500) - Inventory HUD+ (by dmitrylovin) - Iris Shaders (by coderbot) - Item Physic Full (by CreativeMD) - Jade (by Snownee) - Journey Map (by techbrew) - Just Enough Breeding (by Christofmeg) - Just Enough Items (by mezz) - Just Enough Professions (by Mrbysco) - Language Reload (by Jerozgen) - Leaves Be Gone (by Fuzs) - Let Me Despawn (by frikinjay) - Let Sleeping Dogs Lie (by iChun) - Lithium (by JellySquid) - Loading Backgrounds (by Lupin) - Mineblock's Repeated Utilities (by itsmineblock11) - Menulogue (by MrCrayfish) - Mob Plaques (by Fuzs) - Mod Menu (by Prospector) - Model Gap Fix (by MehVahdJukaar) - Mouse Tweaks (by YaLTeR) - Nether Portal Fix (by BlayTheNinth) - Nicer Skies (by ztereohype) - Noisium (by Steveplays28) - Not Enough Animations (by tr7zw) - Opti GUI (by opekope2) - Packet Fixer (by TonimatasDEV) - Particle Core (by fzzyhmstrs) - Passive Shields (by Serilum) - Pick Up Notifier (by Fuzs) - Ping Wheel (by LukenSkyne) - Puzzle (by Motschen) - Puzzles LIB (by Fuzs) - Reese's Sodium Options (by FlashyReese) - Resource Pack Overrides (by Fuzs) - Server Country Flags (by khajiitos) - Server Performance (by someaddon) - Skin Layer 3D (by tr7zw) - Sodium (by JellySquid) - Sodium Extra (by FlashyReese) - Sodium Shadowy Path Blocks (by Rynnavinx) - Sound Physics Remastered (by henkelmax) - Sounds (by itsmineblock11) - Spark (by lucko) - Stack Refill (by Serilum) - Structure Essentials (by someaddon) - TCD Commons API (by TheCSDev) - Text Placeholder API (by Patbox) - Villager Names (by Serilum) - Visual Overhaul (by Motschen) - Visual Workbench (by Fuzs) - Visuality (by PinkGoosik) - Wakes (by Goby56) - Wavey Capes (by tr7zw) - YDM'S Weapon Master  (by YourDailyModderx) - Yet Another Config LIB (by XanderIsDev) - Zoomify (by XanderIsDev) And When I load it it work, I can create a world and even let him open forever at least I didn't move cause if so the game just crash and tell me this message :   Encountered an unexpected exception net.minecraft.class_148: Ticking entity at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1025) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:912) at net.minecraft.class_1132.method_3748(class_1132.java:114) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:281) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_4706.isEmpty()" because "tickets" is null at net.minecraft.class_3204.canNoneExpire(class_3204.java:1034) at net.minecraft.class_3204.handler$dln000$lithium$unregisterExpiringTicket(class_3204.java:1075) at net.minecraft.class_3204.method_17645(class_3204.java:172) at net.minecraft.class_3204.method_17292(class_3204.java:194) at net.minecraft.class_3215.method_17300(class_3215.java:443) at com.betterchunkloading.chunk.PlayerChunkData.checkPrediction(PlayerChunkData.java:406) at com.betterchunkloading.chunk.PlayerChunkData.checkDirection(PlayerChunkData.java:353) at com.betterchunkloading.chunk.PlayerChunkData.trackPlayerMovement(PlayerChunkData.java:177) at com.betterchunkloading.chunk.PlayerChunkData.onChunkChanged(PlayerChunkData.java:130) at com.betterchunkloading.event.EventHandler.onPlayerTick(EventHandler.java:200) at net.minecraft.class_3222.handler$zed000$betterchunkloading$onPlayerTick(class_3222.java:2618) at net.minecraft.class_3222.method_5773(class_3222.java:564) at net.minecraft.class_3218.mixinextras$bridge$method_5773$202(class_3218.java) at net.minecraft.class_3218.wrapOperation$eei000$puzzleslib$tickNonPassenger(class_3218.java:7797) at net.minecraft.class_3218.method_18762(class_3218.java:770) at net.minecraft.class_1937.method_18472(class_1937.java:498) at net.minecraft.class_3218.method_31420(class_3218.java:408) at net.minecraft.class_5574.method_31791(class_5574.java:54) at net.minecraft.class_3218.method_18765(class_3218.java:372) at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1021) ... 5 more Sorry guys if it obvious but actually I'm an old player of Minecraft but I'm new in modding so yup. But Thanks everyone by advance to help me with this.
    • These forums are for Minecraft Forge, not Fabric. You would probably be better served posting this question wherever fabric support is given, most likely their discord server.
    • Add the new latest.log (logs-folder) with sites like https://mclo.gs/ and paste the link to it here
  • Topics

×
×
  • Create New...

Important Information

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