Jump to content

[1.9] Custom boat won't move


JimiIT92

Recommended Posts

I've tried copy/paste the EntityBoat class to make a Oak Boat in all the 16 colors. The boat entity renders fine, and the player can sit in it. However when trying to move, the boat isn't moving. So this is the class, as i said it's just a copy/paste of the EntityBoat class, so something have a weird name, the only things changed are the BoatTypes, wich are now the 16 colors

package com.mineworld.entity.colors;

import com.google.common.collect.Lists;
import com.mineworld.core.MWColoredBlocks;
import com.mineworld.core.MWColoredBoats;

import java.util.List;
import net.minecraft.block.BlockLiquid;
import net.minecraft.block.BlockPlanks;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.passive.EntityWaterMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.datasync.DataParameter;
import net.minecraft.network.datasync.DataSerializers;
import net.minecraft.network.datasync.EntityDataManager;
import net.minecraft.network.play.client.CPacketSteerBoat;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EntityDamageSourceIndirect;
import net.minecraft.util.EntitySelectors;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3d;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public class EntityColoredOakBoat extends Entity
{
    private static final DataParameter<Integer> TIME_SINCE_HIT = EntityDataManager.<Integer>createKey(EntityColoredOakBoat.class, DataSerializers.VARINT);
    private static final DataParameter<Integer> FORWARD_DIRECTION = EntityDataManager.<Integer>createKey(EntityColoredOakBoat.class, DataSerializers.VARINT);
    private static final DataParameter<Float> DAMAGE_TAKEN = EntityDataManager.<Float>createKey(EntityColoredOakBoat.class, DataSerializers.FLOAT);
    private static final DataParameter<Integer> BOAT_TYPE = EntityDataManager.<Integer>createKey(EntityColoredOakBoat.class, DataSerializers.VARINT);
    private static final DataParameter<Boolean>[] field_184468_e = new DataParameter[] {EntityDataManager.createKey(EntityColoredOakBoat.class, DataSerializers.BOOLEAN), EntityDataManager.createKey(EntityColoredOakBoat.class, DataSerializers.BOOLEAN)};
    private float[] field_184470_f;
    /** How much of current speed to retain. Value zero to one. */
    private float momentum;
    private float field_184474_h;
    private float field_184475_as;
    private int field_184476_at;
    private double boatPitch;
    private double field_184477_av;
    private double field_184478_aw;
    private double boatYaw;
    private double field_184479_ay;
    private boolean field_184480_az;
    private boolean field_184459_aA;
    private boolean field_184461_aB;
    private boolean field_184463_aC;
    private double field_184465_aD;
    /**
     * How much the boat should glide given the slippery blocks it's currently gliding over.
     * Halved every tick.
     */
    private float boatGlide;
    private EntityColoredOakBoat.Status status;
    private EntityColoredOakBoat.Status previousStatus;
    private double field_184473_aH;

    public EntityColoredOakBoat(World worldIn)
    {
        super(worldIn);
        this.field_184470_f = new float[2];
        this.preventEntitySpawning = true;
        this.setSize(1.375F, 0.5625F);
    }

    public EntityColoredOakBoat(World worldIn, double x, double y, double z)
    {
        this(worldIn);
        this.setPosition(x, y, z);
        this.motionX = 0.0D;
        this.motionY = 0.0D;
        this.motionZ = 0.0D;
        this.prevPosX = x;
        this.prevPosY = y;
        this.prevPosZ = z;
    }

    /**
     * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to
     * prevent them from trampling crops
     */
    protected boolean canTriggerWalking()
    {
        return false;
    }

    protected void entityInit()
    {
        this.dataWatcher.register(TIME_SINCE_HIT, Integer.valueOf(0));
        this.dataWatcher.register(FORWARD_DIRECTION, Integer.valueOf(1));
        this.dataWatcher.register(DAMAGE_TAKEN, Float.valueOf(0.0F));
        this.dataWatcher.register(BOAT_TYPE, Integer.valueOf(EntityColoredOakBoat.Type.WHITE.ordinal()));

        for (int i = 0; i < field_184468_e.length; ++i)
        {
            this.dataWatcher.register(field_184468_e[i], Boolean.valueOf(false));
        }
    }

    /**
     * Returns a boundingBox used to collide the entity with other entities and blocks. This enables the entity to be
     * pushable on contact, like boats or minecarts.
     */
    public AxisAlignedBB getCollisionBox(Entity entityIn)
    {
        return entityIn.getEntityBoundingBox();
    }

    /**
     * Returns the collision bounding box for this entity
     */
    public AxisAlignedBB getCollisionBoundingBox()
    {
        return this.getEntityBoundingBox();
    }

    /**
     * Returns true if this entity should push and be pushed by other entities when colliding.
     */
    public boolean canBePushed()
    {
        return true;
    }

    /**
     * Returns the Y offset from the entity's position for any entity riding this one.
     */
    public double getMountedYOffset()
    {
        return -0.1D;
    }

    /**
     * Called when the entity is attacked.
     */
    public boolean attackEntityFrom(DamageSource source, float amount)
    {
        if (this.isEntityInvulnerable(source))
        {
            return false;
        }
        else if (!this.worldObj.isRemote && !this.isDead)
        {
            if (source instanceof EntityDamageSourceIndirect && source.getEntity() != null && this.isPassenger(source.getEntity()))
            {
                return false;
            }
            else
            {
                this.setForwardDirection(-this.getForwardDirection());
                this.setTimeSinceHit(10);
                this.setDamageTaken(this.getDamageTaken() + amount * 10.0F);
                this.setBeenAttacked();
                boolean flag = source.getEntity() instanceof EntityPlayer && ((EntityPlayer)source.getEntity()).capabilities.isCreativeMode;

                if (flag || this.getDamageTaken() > 40.0F)
                {
                    if (!flag && this.worldObj.getGameRules().getBoolean("doEntityDrops"))
                    {
                        this.dropItemWithOffset(this.getItemBoat(), 1, 0.0F);
                    }

                    this.setDead();
                }

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

    /**
     * Applies a velocity to each of the entities pushing them away from each other. Args: entity
     */
    public void applyEntityCollision(Entity entityIn)
    {
        if (entityIn instanceof EntityColoredOakBoat)
        {
            if (entityIn.getEntityBoundingBox().minY < this.getEntityBoundingBox().maxY)
            {
                super.applyEntityCollision(entityIn);
            }
        }
        else if (entityIn.getEntityBoundingBox().minY <= this.getEntityBoundingBox().minY)
        {
            super.applyEntityCollision(entityIn);
        }
    }

    

    /**
     * Setups the entity to do the hurt animation. Only used by packets in multiplayer.
     */
    @SideOnly(Side.CLIENT)
    public void performHurtAnimation()
    {
        this.setForwardDirection(-this.getForwardDirection());
        this.setTimeSinceHit(10);
        this.setDamageTaken(this.getDamageTaken() * 11.0F);
    }

    /**
     * Returns true if other Entities should be prevented from moving through this Entity.
     */
    public boolean canBeCollidedWith()
    {
        return !this.isDead;
    }

    @SideOnly(Side.CLIENT)
    public void setPositionAndRotation2(double x, double y, double z, float yaw, float pitch, int posRotationIncrements, boolean p_180426_10_)
    {
        this.boatPitch = x;
        this.field_184477_av = y;
        this.field_184478_aw = z;
        this.boatYaw = (double)yaw;
        this.field_184479_ay = (double)pitch;
        this.field_184476_at = 10;
    }

    /**
     * Gets the horizontal facing direction of this Entity, adjusted to take specially-treated entity types into
     * account.
     */
    public EnumFacing getAdjustedHorizontalFacing()
    {
        return this.getHorizontalFacing().rotateY();
    }

    /**
     * Called to update the entity's position/logic.
     */
    public void onUpdate()
    {
        this.previousStatus = this.status;
        this.status = this.getBoatStatus();

        if (this.status != EntityColoredOakBoat.Status.UNDER_WATER && this.status != EntityColoredOakBoat.Status.UNDER_FLOWING_WATER)
        {
            this.field_184474_h = 0.0F;
        }
        else
        {
            ++this.field_184474_h;
        }

        if (!this.worldObj.isRemote && this.field_184474_h >= 60.0F)
        {
            this.removePassengers();
        }

        if (this.getTimeSinceHit() > 0)
        {
            this.setTimeSinceHit(this.getTimeSinceHit() - 1);
        }

        if (this.getDamageTaken() > 0.0F)
        {
            this.setDamageTaken(this.getDamageTaken() - 1.0F);
        }

        this.prevPosX = this.posX;
        this.prevPosY = this.posY;
        this.prevPosZ = this.posZ;
        super.onUpdate();
        this.func_184447_s();

        if (this.canPassengerSteer())
        {
            if (this.getPassengers().size() == 0 || !(this.getPassengers().get(0) instanceof EntityPlayer))
            {
                this.func_184445_a(false, false);
            }

            this.updateMotion();

            if (this.worldObj.isRemote)
            {
                this.func_184443_x();
                this.worldObj.sendPacketToServer(new CPacketSteerBoat(this.func_184457_a(0), this.func_184457_a(1)));
            }

            this.moveEntity(this.motionX, this.motionY, this.motionZ);
        }
        else
        {
            this.motionX = 0.0D;
            this.motionY = 0.0D;
            this.motionZ = 0.0D;
        }

        for (int i = 0; i <= 1; ++i)
        {
            if (this.func_184457_a(i))
            {
                this.field_184470_f[i] = (float)((double)this.field_184470_f[i] + 0.01D);
            }
            else
            {
                this.field_184470_f[i] = 0.0F;
            }
        }

        this.doBlockCollisions();
        List<Entity> list = this.worldObj.getEntitiesInAABBexcluding(this, this.getEntityBoundingBox().expand(0.20000000298023224D, -0.009999999776482582D, 0.20000000298023224D), EntitySelectors.<Entity>func_188442_a(this));

        if (!list.isEmpty())
        {
            boolean flag = !this.worldObj.isRemote && !(this.getControllingPassenger() instanceof EntityPlayer);

            for (int j = 0; j < list.size(); ++j)
            {
                Entity entity = (Entity)list.get(j);

                if (!entity.isPassenger(this))
                {
                    if (flag && this.getPassengers().size() < 2 && !entity.isRiding() && entity.width < this.width && entity instanceof EntityLivingBase && !(entity instanceof EntityWaterMob) && !(entity instanceof EntityPlayer))
                    {
                        entity.startRiding(this);
                    }
                    else
                    {
                        this.applyEntityCollision(entity);
                    }
                }
            }
        }
    }

    private void func_184447_s()
    {
        if (this.field_184476_at > 0 && !this.canPassengerSteer())
        {
            double d0 = this.posX + (this.boatPitch - this.posX) / (double)this.field_184476_at;
            double d1 = this.posY + (this.field_184477_av - this.posY) / (double)this.field_184476_at;
            double d2 = this.posZ + (this.field_184478_aw - this.posZ) / (double)this.field_184476_at;
            double d3 = MathHelper.wrapAngleTo180_double(this.boatYaw - (double)this.rotationYaw);
            this.rotationYaw = (float)((double)this.rotationYaw + d3 / (double)this.field_184476_at);
            this.rotationPitch = (float)((double)this.rotationPitch + (this.field_184479_ay - (double)this.rotationPitch) / (double)this.field_184476_at);
            --this.field_184476_at;
            this.setPosition(d0, d1, d2);
            this.setRotation(this.rotationYaw, this.rotationPitch);
        }
    }

    public void func_184445_a(boolean p_184445_1_, boolean p_184445_2_)
    {
        this.dataWatcher.set(field_184468_e[0], Boolean.valueOf(p_184445_1_));
        this.dataWatcher.set(field_184468_e[1], Boolean.valueOf(p_184445_2_));
    }

    @SideOnly(Side.CLIENT)
    public float func_184448_a(int p_184448_1_, float limbSwing)
    {
        return this.func_184457_a(p_184448_1_) ? (float)MathHelper.denormalizeClamp((double)this.field_184470_f[p_184448_1_] - 0.01D, (double)this.field_184470_f[p_184448_1_], (double)limbSwing) : 0.0F;
    }

    /**
     * Determines whether the boat is in water, gliding on land, or in air
     */
    private EntityColoredOakBoat.Status getBoatStatus()
    {
        EntityColoredOakBoat.Status entityboat$status = this.getUnderwaterStatus();

        if (entityboat$status != null)
        {
            this.field_184465_aD = this.getEntityBoundingBox().maxY;
            return entityboat$status;
        }
        else if (this.func_184446_u())
        {
            return EntityColoredOakBoat.Status.IN_WATER;
        }
        else
        {
            float f = this.getBoatGlide();

            if (f > 0.0F)
            {
                this.boatGlide = f;
                return EntityColoredOakBoat.Status.ON_LAND;
            }
            else
            {
                return EntityColoredOakBoat.Status.IN_AIR;
            }
        }
    }

    public float func_184451_k()
    {
        AxisAlignedBB axisalignedbb = this.getEntityBoundingBox();
        int i = MathHelper.floor_double(axisalignedbb.minX);
        int j = MathHelper.ceiling_double_int(axisalignedbb.maxX);
        int k = MathHelper.floor_double(axisalignedbb.maxY);
        int l = MathHelper.ceiling_double_int(axisalignedbb.maxY - this.field_184473_aH);
        int i1 = MathHelper.floor_double(axisalignedbb.minZ);
        int j1 = MathHelper.ceiling_double_int(axisalignedbb.maxZ);
        BlockPos.PooledMutableBlockPos blockpos$pooledmutableblockpos = BlockPos.PooledMutableBlockPos.retain();

        try
        {
            label78:

            for (int k1 = k; k1 < l; ++k1)
            {
                float f = 0.0F;
                int l1 = i;

                while (true)
                {
                    if (l1 >= j)
                    {
                        if (f < 1.0F)
                        {
                            float f2 = (float)blockpos$pooledmutableblockpos.getY() + f;
                            return f2;
                        }

                        break;
                    }

                    for (int i2 = i1; i2 < j1; ++i2)
                    {
                        blockpos$pooledmutableblockpos.set(l1, k1, i2);
                        IBlockState iblockstate = this.worldObj.getBlockState(blockpos$pooledmutableblockpos);

                        if (iblockstate.getMaterial() == Material.water)
                        {
                            f = Math.max(f, func_184456_a(iblockstate, this.worldObj, blockpos$pooledmutableblockpos));
                        }

                        if (f >= 1.0F)
                        {
                            continue label78;
                        }
                    }

                    ++l1;
                }
            }

            float f1 = (float)(l + 1);
            return f1;
        }
        finally
        {
            blockpos$pooledmutableblockpos.release();
        }
    }

    /**
     * Decides how much the boat should be gliding on the land (based on any slippery blocks)
     */
    public float getBoatGlide()
    {
        AxisAlignedBB axisalignedbb = this.getEntityBoundingBox();
        AxisAlignedBB axisalignedbb1 = new AxisAlignedBB(axisalignedbb.minX, axisalignedbb.minY - 0.001D, axisalignedbb.minZ, axisalignedbb.maxX, axisalignedbb.minY, axisalignedbb.maxZ);
        int i = MathHelper.floor_double(axisalignedbb1.minX) - 1;
        int j = MathHelper.ceiling_double_int(axisalignedbb1.maxX) + 1;
        int k = MathHelper.floor_double(axisalignedbb1.minY) - 1;
        int l = MathHelper.ceiling_double_int(axisalignedbb1.maxY) + 1;
        int i1 = MathHelper.floor_double(axisalignedbb1.minZ) - 1;
        int j1 = MathHelper.ceiling_double_int(axisalignedbb1.maxZ) + 1;
        List<AxisAlignedBB> list = Lists.<AxisAlignedBB>newArrayList();
        float f = 0.0F;
        int k1 = 0;
        BlockPos.PooledMutableBlockPos blockpos$pooledmutableblockpos = BlockPos.PooledMutableBlockPos.retain();

        try
        {
            for (int l1 = i; l1 < j; ++l1)
            {
                for (int i2 = i1; i2 < j1; ++i2)
                {
                    int j2 = (l1 != i && l1 != j - 1 ? 0 : 1) + (i2 != i1 && i2 != j1 - 1 ? 0 : 1);

                    if (j2 != 2)
                    {
                        for (int k2 = k; k2 < l; ++k2)
                        {
                            if (j2 <= 0 || k2 != k && k2 != l - 1)
                            {
                                blockpos$pooledmutableblockpos.set(l1, k2, i2);
                                IBlockState iblockstate = this.worldObj.getBlockState(blockpos$pooledmutableblockpos);
                                iblockstate.addCollisionBoxToList(this.worldObj, blockpos$pooledmutableblockpos, axisalignedbb1, list, this);

                                if (!list.isEmpty())
                                {
                                    f += iblockstate.getBlock().slipperiness;
                                    ++k1;
                                }

                                list.clear();
                            }
                        }
                    }
                }
            }
        }
        finally
        {
            blockpos$pooledmutableblockpos.release();
        }

        return f / (float)k1;
    }

    private boolean func_184446_u()
    {
        AxisAlignedBB axisalignedbb = this.getEntityBoundingBox();
        int i = MathHelper.floor_double(axisalignedbb.minX);
        int j = MathHelper.ceiling_double_int(axisalignedbb.maxX);
        int k = MathHelper.floor_double(axisalignedbb.minY);
        int l = MathHelper.ceiling_double_int(axisalignedbb.minY + 0.001D);
        int i1 = MathHelper.floor_double(axisalignedbb.minZ);
        int j1 = MathHelper.ceiling_double_int(axisalignedbb.maxZ);
        boolean flag = false;
        this.field_184465_aD = Double.MIN_VALUE;
        BlockPos.PooledMutableBlockPos blockpos$pooledmutableblockpos = BlockPos.PooledMutableBlockPos.retain();

        try
        {
            for (int k1 = i; k1 < j; ++k1)
            {
                for (int l1 = k; l1 < l; ++l1)
                {
                    for (int i2 = i1; i2 < j1; ++i2)
                    {
                        blockpos$pooledmutableblockpos.set(k1, l1, i2);
                        IBlockState iblockstate = this.worldObj.getBlockState(blockpos$pooledmutableblockpos);

                        if (iblockstate.getMaterial() == Material.water)
                        {
                            float f = func_184452_b(iblockstate, this.worldObj, blockpos$pooledmutableblockpos);
                            this.field_184465_aD = Math.max((double)f, this.field_184465_aD);
                            flag |= axisalignedbb.minY < (double)f;
                        }
                    }
                }
            }
        }
        finally
        {
            blockpos$pooledmutableblockpos.release();
        }

        return flag;
    }

    /**
     * Decides whether the boat is currently underwater.
     */
    private EntityColoredOakBoat.Status getUnderwaterStatus()
    {
        AxisAlignedBB axisalignedbb = this.getEntityBoundingBox();
        double d0 = axisalignedbb.maxY + 0.001D;
        int i = MathHelper.floor_double(axisalignedbb.minX);
        int j = MathHelper.ceiling_double_int(axisalignedbb.maxX);
        int k = MathHelper.floor_double(axisalignedbb.maxY);
        int l = MathHelper.ceiling_double_int(d0);
        int i1 = MathHelper.floor_double(axisalignedbb.minZ);
        int j1 = MathHelper.ceiling_double_int(axisalignedbb.maxZ);
        boolean flag = false;
        BlockPos.PooledMutableBlockPos blockpos$pooledmutableblockpos = BlockPos.PooledMutableBlockPos.retain();

        try
        {
            for (int k1 = i; k1 < j; ++k1)
            {
                for (int l1 = k; l1 < l; ++l1)
                {
                    for (int i2 = i1; i2 < j1; ++i2)
                    {
                        blockpos$pooledmutableblockpos.set(k1, l1, i2);
                        IBlockState iblockstate = this.worldObj.getBlockState(blockpos$pooledmutableblockpos);

                        if (iblockstate.getMaterial() == Material.water && d0 < (double)func_184452_b(iblockstate, this.worldObj, blockpos$pooledmutableblockpos))
                        {
                            if (((Integer)iblockstate.getValue(BlockLiquid.LEVEL)).intValue() != 0)
                            {
                                EntityColoredOakBoat.Status entityboat$status = EntityColoredOakBoat.Status.UNDER_FLOWING_WATER;
                                return entityboat$status;
                            }

                            flag = true;
                        }
                    }
                }
            }
        }
        finally
        {
            blockpos$pooledmutableblockpos.release();
        }

        return flag ? EntityColoredOakBoat.Status.UNDER_WATER : null;
    }

    public static float func_184456_a(IBlockState p_184456_0_, IBlockAccess p_184456_1_, BlockPos p_184456_2_)
    {
        int i = ((Integer)p_184456_0_.getValue(BlockLiquid.LEVEL)).intValue();
        return (i & 7) == 0 && p_184456_1_.getBlockState(p_184456_2_.up()).getMaterial() == Material.water ? 1.0F : 1.0F - BlockLiquid.getLiquidHeightPercent(i);
    }

    public static float func_184452_b(IBlockState p_184452_0_, IBlockAccess p_184452_1_, BlockPos p_184452_2_)
    {
        return (float)p_184452_2_.getY() + func_184456_a(p_184452_0_, p_184452_1_, p_184452_2_);
    }

    /**
     * Update the boat's speed, based on momentum.
     */
    private void updateMotion()
    {
        double d0 = -0.03999999910593033D;
        double d1 = d0;
        double d2 = 0.0D;
        this.momentum = 0.05F;

        if (this.previousStatus == EntityColoredOakBoat.Status.IN_AIR && this.status != EntityColoredOakBoat.Status.IN_AIR && this.status != EntityColoredOakBoat.Status.ON_LAND)
        {
            this.field_184465_aD = this.getEntityBoundingBox().minY + (double)this.height;
            this.setPosition(this.posX, (double)(this.func_184451_k() - this.height) + 0.101D, this.posZ);
            this.motionY = 0.0D;
            this.field_184473_aH = 0.0D;
            this.status = EntityColoredOakBoat.Status.IN_WATER;
        }
        else
        {
            if (this.status == EntityColoredOakBoat.Status.IN_WATER)
            {
                d2 = (this.field_184465_aD - this.getEntityBoundingBox().minY) / (double)this.height;
                this.momentum = 0.9F;
            }
            else if (this.status == EntityColoredOakBoat.Status.UNDER_FLOWING_WATER)
            {
                d1 = -7.0E-4D;
                this.momentum = 0.9F;
            }
            else if (this.status == EntityColoredOakBoat.Status.UNDER_WATER)
            {
                d2 = 0.009999999776482582D;
                this.momentum = 0.45F;
            }
            else if (this.status == EntityColoredOakBoat.Status.IN_AIR)
            {
                this.momentum = 0.9F;
            }
            else if (this.status == EntityColoredOakBoat.Status.ON_LAND)
            {
                this.momentum = this.boatGlide;

                if (this.getControllingPassenger() instanceof EntityPlayer)
                {
                    this.boatGlide /= 2.0F;
                }
            }

            this.motionX *= (double)this.momentum;
            this.motionZ *= (double)this.momentum;
            this.field_184475_as *= this.momentum;
            this.motionY += d1;

            if (d2 > 0.0D)
            {
                double d3 = 0.65D;
                this.motionY += d2 * (-d0 / 0.65D);
                double d4 = 0.75D;
                this.motionY *= 0.75D;
            }
        }
    }

    private void func_184443_x()
    {
        if (this.isBeingRidden())
        {
            float f = 0.0F;

            if (this.field_184480_az)
            {
                this.field_184475_as += -1.0F;
            }

            if (this.field_184459_aA)
            {
                ++this.field_184475_as;
            }

            if (this.field_184459_aA != this.field_184480_az && !this.field_184461_aB && !this.field_184463_aC)
            {
                f += 0.005F;
            }

            this.rotationYaw += this.field_184475_as;

            if (this.field_184461_aB)
            {
                f += 0.04F;
            }

            if (this.field_184463_aC)
            {
                f -= 0.005F;
            }

            this.motionX += (double)(MathHelper.sin(-this.rotationYaw * 0.017453292F) * f);
            this.motionZ += (double)(MathHelper.cos(this.rotationYaw * 0.017453292F) * f);
            this.func_184445_a(this.field_184459_aA || this.field_184461_aB, this.field_184480_az || this.field_184461_aB);
        }
    }

    public void updatePassenger(Entity passenger)
    {
        if (this.isPassenger(passenger))
        {
            float f = 0.0F;
            float f1 = (float)((this.isDead ? 0.009999999776482582D : this.getMountedYOffset()) + passenger.getYOffset());

            if (this.getPassengers().size() > 1)
            {
                int i = this.getPassengers().indexOf(passenger);

                if (i == 0)
                {
                    f = 0.2F;
                }
                else
                {
                    f = -0.6F;
                }

                if (passenger instanceof EntityAnimal)
                {
                    f = (float)((double)f + 0.2D);
                }
            }

            Vec3d vec3d = (new Vec3d((double)f, 0.0D, 0.0D)).rotateYaw(-this.rotationYaw * 0.017453292F - ((float)Math.PI / 2F));
            passenger.setPosition(this.posX + vec3d.xCoord, this.posY + (double)f1, this.posZ + vec3d.zCoord);
            passenger.rotationYaw += this.field_184475_as;
            passenger.setRotationYawHead(passenger.getRotationYawHead() + this.field_184475_as);
            this.applyYawToEntity(passenger);

            if (passenger instanceof EntityAnimal && this.getPassengers().size() > 1)
            {
                int j = passenger.getEntityId() % 2 == 0 ? 90 : 270;
                passenger.setRenderYawOffset(((EntityAnimal)passenger).renderYawOffset + (float)j);
                passenger.setRotationYawHead(passenger.getRotationYawHead() + (float)j);
            }
        }
    }

    /**
     * Applies this boat's yaw to the given entity. Used to update the orientation of its passenger.
     */
    protected void applyYawToEntity(Entity entityToUpdate)
    {
        entityToUpdate.setRenderYawOffset(this.rotationYaw);
        float f = MathHelper.wrapAngleTo180_float(entityToUpdate.rotationYaw - this.rotationYaw);
        float f1 = MathHelper.clamp_float(f, -105.0F, 105.0F);
        entityToUpdate.prevRotationYaw += f1 - f;
        entityToUpdate.rotationYaw += f1 - f;
        entityToUpdate.setRotationYawHead(entityToUpdate.rotationYaw);
    }

    /**
     * Applies this entity's orientation (pitch/yaw) to another entity. Used to update passenger orientation.
     */
    @SideOnly(Side.CLIENT)
    public void applyOrientationToEntity(Entity entityToUpdate)
    {
        this.applyYawToEntity(entityToUpdate);
    }

    /**
     * (abstract) Protected helper method to write subclass entity data to NBT.
     */
    protected void writeEntityToNBT(NBTTagCompound tagCompound)
    {
        tagCompound.setString("Type", this.getBoatType().getName());
    }

    /**
     * (abstract) Protected helper method to read subclass entity data from NBT.
     */
    protected void readEntityFromNBT(NBTTagCompound tagCompund)
    {
        if (tagCompund.hasKey("Type", )
        {
            this.setBoatType(EntityColoredOakBoat.Type.getTypeFromString(tagCompund.getString("Type")));
        }
    }

    public boolean processInitialInteract(EntityPlayer player, ItemStack stack, EnumHand hand)
    {
        if (!this.worldObj.isRemote && !player.isSneaking() && this.field_184474_h < 60.0F)
        {
            player.startRiding(this);
        }

        return true;
    }

    protected void updateFallState(double y, boolean onGroundIn, IBlockState state, BlockPos pos)
    {
        this.field_184473_aH = this.motionY;

        if (!this.isRiding())
        {
            if (onGroundIn)
            {
                if (this.fallDistance > 3.0F)
                {
                    if (this.status != EntityColoredOakBoat.Status.ON_LAND)
                    {
                        this.fallDistance = 0.0F;
                        return;
                    }

                    this.fall(this.fallDistance, 1.0F);

                    if (!this.worldObj.isRemote && !this.isDead)
                    {
                        this.setDead();

                        if (this.worldObj.getGameRules().getBoolean("doEntityDrops"))
                        {
                            for (int i = 0; i < 3; ++i)
                            {
                                this.entityDropItem(new ItemStack(Item.getItemFromBlock(MWColoredBlocks.colored_planks_oak), 1, this.getBoatType().getMetadata()), 0.0F);
                            }

                            for (int j = 0; j < 2; ++j)
                            {
                                this.dropItemWithOffset(Items.stick, 1, 0.0F);
                            }
                        }
                    }
                }

                this.fallDistance = 0.0F;
            }
            else if (this.worldObj.getBlockState((new BlockPos(this)).down()).getMaterial() != Material.water && y < 0.0D)
            {
                this.fallDistance = (float)((double)this.fallDistance - y);
            }
        }
    }

    public boolean func_184457_a(int p_184457_1_)
    {
        return ((Boolean)this.dataWatcher.get(field_184468_e[p_184457_1_])).booleanValue() && this.getControllingPassenger() != null;
    }

    /**
     * Sets the damage taken from the last hit.
     */
    public void setDamageTaken(float damageTaken)
    {
        this.dataWatcher.set(DAMAGE_TAKEN, Float.valueOf(damageTaken));
    }

    /**
     * Gets the damage taken from the last hit.
     */
    public float getDamageTaken()
    {
        return ((Float)this.dataWatcher.get(DAMAGE_TAKEN)).floatValue();
    }

    /**
     * Sets the time to count down from since the last time entity was hit.
     */
    public void setTimeSinceHit(int timeSinceHit)
    {
        this.dataWatcher.set(TIME_SINCE_HIT, Integer.valueOf(timeSinceHit));
    }

    /**
     * Gets the time since the last hit.
     */
    public int getTimeSinceHit()
    {
        return ((Integer)this.dataWatcher.get(TIME_SINCE_HIT)).intValue();
    }

    /**
     * Sets the forward direction of the entity.
     */
    public void setForwardDirection(int forwardDirection)
    {
        this.dataWatcher.set(FORWARD_DIRECTION, Integer.valueOf(forwardDirection));
    }

    /**
     * Gets the forward direction of the entity.
     */
    public int getForwardDirection()
    {
        return ((Integer)this.dataWatcher.get(FORWARD_DIRECTION)).intValue();
    }

    public void setBoatType(EntityColoredOakBoat.Type boatType)
    {
        this.dataWatcher.set(BOAT_TYPE, Integer.valueOf(boatType.ordinal()));
    }

    public EntityColoredOakBoat.Type getBoatType()
    {
        return EntityColoredOakBoat.Type.byId(((Integer)this.dataWatcher.get(BOAT_TYPE)).intValue());
    }

    protected boolean canFitPassenger(Entity passenger)
    {
        return this.getPassengers().size() < 2;
    }

    /**
     * For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example,
     * Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
     */
    public Entity getControllingPassenger()
    {
        List<Entity> list = this.getPassengers();
        return list.isEmpty() ? null : (Entity)list.get(0);
    }

    @SideOnly(Side.CLIENT)
    public void func_184442_a(boolean p_184442_1_, boolean p_184442_2_, boolean p_184442_3_, boolean p_184442_4_)
    {
        this.field_184480_az = p_184442_1_;
        this.field_184459_aA = p_184442_2_;
        this.field_184461_aB = p_184442_3_;
        this.field_184463_aC = p_184442_4_;
    }

    public static enum Status
    {
        IN_WATER,
        UNDER_WATER,
        UNDER_FLOWING_WATER,
        ON_LAND,
        IN_AIR;
    }

    public Item getItemBoat()
    {
        switch (this.getBoatType())
        {
        case WHITE:
        	return MWColoredBoats.colored_oak_boat_white;
        case ORANGE:
        	return MWColoredBoats.colored_oak_boat_orange;
        case MAGENTA:
        	return MWColoredBoats.colored_oak_boat_magenta;
        case LIGHT_BLUE:
        	return MWColoredBoats.colored_oak_boat_light_blue;
        case YELLOW:
        	return MWColoredBoats.colored_oak_boat_yellow;
        case LIME:
        	return MWColoredBoats.colored_oak_boat_lime;
        case PINK:
        	return MWColoredBoats.colored_oak_boat_pink;
        case GRAY:
        	return MWColoredBoats.colored_oak_boat_gray;
        case SILVER:
        	return MWColoredBoats.colored_oak_boat_silver;
        case CYAN:
        	return MWColoredBoats.colored_oak_boat_cyan;
        case PURPLE:
        	return MWColoredBoats.colored_oak_boat_purple;
        case BLUE:
        	return MWColoredBoats.colored_oak_boat_blue;
        case BROWN:
        	return MWColoredBoats.colored_oak_boat_brown;
        case GREEN:
        	return MWColoredBoats.colored_oak_boat_green;
        case RED:
        	return MWColoredBoats.colored_oak_boat_red;
        case BLACK:
        	return MWColoredBoats.colored_oak_boat_black;
        default:
        	return MWColoredBoats.colored_oak_boat_white;
        }
    }
    
    public static enum Type
    {
    	WHITE(0, "white"),
        ORANGE(1, "orange"),
        MAGENTA(2, "magenta"),
        LIGHT_BLUE(3, "light_blue"),
        YELLOW(4, "yellow"),
        LIME(5, "lime"),
        PINK(6, "pink"),
        GRAY(7, "gray"),
        SILVER(8, "silver"),
        CYAN(9, "cyan"),
        PURPLE(10, "purple"),
        BLUE(11, "blue"),
        BROWN(12, "brown"),
        GREEN(13, "green"),
        RED(14, "red"),
        BLACK(15, "black");

        private final String name;
        private final int metadata;

        private Type(int metadataIn, String nameIn)
        {
            this.name = nameIn;
            this.metadata = metadataIn;
        }

        public String getName()
        {
            return this.name;
        }

        public int getMetadata()
        {
            return this.metadata;
        }

        public String toString()
        {
            return this.name;
        }

        /**
         * Get a boat type by it's enum ordinal
         */
        public static EntityColoredOakBoat.Type byId(int id)
        {
            if (id < 0 || id >= values().length)
            {
                id = 0;
            }

            return values()[id];
        }

        public static EntityColoredOakBoat.Type getTypeFromString(String nameIn)
        {
            for (int i = 0; i < values().length; ++i)
            {
                if (values()[i].getName().equals(nameIn))
                {
                    return values()[i];
                }
            }

            return values()[0];
        }
    }
}

 

Since it's the exact copy of the vanilla boat class i don't understand why it doesn't move. Also is there a way to just let this class extends the vanilla class? Because if do extends EntityBoat and override the only methods for the type, i get this error on the getBoatType function

The return type is incompatible with EntityBoat.getBoatType()

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

I know, but as i said i've tried extending the EntityBoat class, by doing this

package com.mineworld.entity.colors;

import com.mineworld.core.MWColoredBoats;

import net.minecraft.entity.item.EntityBoat;
import net.minecraft.item.Item;
import net.minecraft.network.datasync.DataParameter;
import net.minecraft.network.datasync.DataSerializers;
import net.minecraft.network.datasync.EntityDataManager;
import net.minecraft.world.World;

public class EntityColoredOakBoat extends EntityBoat{

private static final DataParameter<Integer> BOAT_TYPE = EntityDataManager.<Integer>createKey(EntityColoredOakBoat.class, DataSerializers.VARINT);
    
public EntityColoredOakBoat(World worldIn) {
	super(worldIn);
}


    public Item getItemBoat()
    {
        switch (this.getBoatType())
        {
        case WHITE:
        	return MWColoredBoats.colored_oak_boat_white;
        case ORANGE:
        	return MWColoredBoats.colored_oak_boat_orange;
        case MAGENTA:
        	return MWColoredBoats.colored_oak_boat_magenta;
        case LIGHT_BLUE:
        	return MWColoredBoats.colored_oak_boat_light_blue;
        case YELLOW:
        	return MWColoredBoats.colored_oak_boat_yellow;
        case LIME:
        	return MWColoredBoats.colored_oak_boat_lime;
        case PINK:
        	return MWColoredBoats.colored_oak_boat_pink;
        case GRAY:
        	return MWColoredBoats.colored_oak_boat_gray;
        case SILVER:
        	return MWColoredBoats.colored_oak_boat_silver;
        case CYAN:
        	return MWColoredBoats.colored_oak_boat_cyan;
        case PURPLE:
        	return MWColoredBoats.colored_oak_boat_purple;
        case BLUE:
        	return MWColoredBoats.colored_oak_boat_blue;
        case BROWN:
        	return MWColoredBoats.colored_oak_boat_brown;
        case GREEN:
        	return MWColoredBoats.colored_oak_boat_green;
        case RED:
        	return MWColoredBoats.colored_oak_boat_red;
        case BLACK:
        	return MWColoredBoats.colored_oak_boat_black;
        default:
        	return MWColoredBoats.colored_oak_boat_white;
        }
    }
    
    public void setBoatType(EntityColoredOakBoat.Type boatType)
    {
        this.dataWatcher.set(BOAT_TYPE, Integer.valueOf(boatType.ordinal()));
    }

    public EntityColoredOakBoat.Type getBoatType()
    {
        return EntityColoredOakBoat.Type.byId(((Integer)this.dataWatcher.get(BOAT_TYPE)).intValue());
    }
    
    
    public static enum Type
    {
    	WHITE(0, "white"),
        ORANGE(1, "orange"),
        MAGENTA(2, "magenta"),
        LIGHT_BLUE(3, "light_blue"),
        YELLOW(4, "yellow"),
        LIME(5, "lime"),
        PINK(6, "pink"),
        GRAY(7, "gray"),
        SILVER(8, "silver"),
        CYAN(9, "cyan"),
        PURPLE(10, "purple"),
        BLUE(11, "blue"),
        BROWN(12, "brown"),
        GREEN(13, "green"),
        RED(14, "red"),
        BLACK(15, "black");

        private final String name;
        private final int metadata;

        private Type(int metadataIn, String nameIn)
        {
            this.name = nameIn;
            this.metadata = metadataIn;
        }

        public String getName()
        {
            return this.name;
        }

        public int getMetadata()
        {
            return this.metadata;
        }

        public String toString()
        {
            return this.name;
        }

        /**
         * Get a boat type by it's enum ordinal
         */
        public static EntityColoredOakBoat.Type byId(int id)
        {
            if (id < 0 || id >= values().length)
            {
                id = 0;
            }

            return values()[id];
        }

        public static EntityColoredOakBoat.Type getTypeFromString(String nameIn)
        {
            for (int i = 0; i < values().length; ++i)
            {
                if (values()[i].getName().equals(nameIn))
                {
                    return values()[i];
                }
            }

            return values()[0];
        }
    }
}

 

Overriding just the Type class and it's related methods, but i can't find a way to use the function getBoatType(), because eclipse says "The return type is incompatible with EntityBoat.getBoatType()" :(

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

You can't override a method with a different return type.

 

It appears that you're using this method internally, and only internally, which means you shouldn't need to override it at all: you just need to make a new method.

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

 

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

 

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

Link to comment
Share on other sites

By doing this

 

public EntityColoredOakBoat(World worldIn) {
	super(worldIn);
}

public EntityColoredOakBoat(World worldIn, double x, double y, double z) {
	super(worldIn, x, y, z);
}

public Item getItemBoat()
    {
        switch (this.getBoatType())
        {
            case OAK:
            default:
                return MWColoredBoats.colored_oak_boat_white;
            case SPRUCE:
            	return MWColoredBoats.colored_spruce_boat_white;
            case BIRCH:
            	return MWColoredBoats.colored_birch_boat_white;
            case JUNGLE:
            	return MWColoredBoats.colored_jungle_boat_white;
            case ACACIA:
            	return MWColoredBoats.colored_acacia_boat_white;
            case DARK_OAK:
            	return MWColoredBoats.colored_dark_oak_boat_white;
        }
    }

everything works, so not overriding the type enum all works fine, but i can't understand why :/ I've tried renaming that method, to don't override the Vanilla one, but it gives me a NullPointerException on the setBoatType function

Don't blame me if i always ask for your help. I just want to learn to be better :)

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

    • Trying to play with the mods: Tinkers Construct, Buildcraft and the Blood Magic addon Blood Arsenal; the game crashes. I noticed that when trying to use only two of the three in any combination the game opens without problems, but when trying to put all three together the error occurs. Is there any configuration I can modify or any other way to solve the problem?   ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 5/22/24 8:48 PM Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoWeapon     at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)     at cpw.mods.fml.common.Loader.loadMods(Loader.java:544)     at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:208)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)     at net.minecraft.client.main.Main.main(SourceFile:148)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoWeapon     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:42)     at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)     at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)     at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)     at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)     at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)     at com.google.common.eventbus.EventBus.post(EventBus.java:275)     at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)     at cpw.mods.fml.common.Loader.loadMods(Loader.java:513)     ... 10 more Caused by: java.lang.ClassNotFoundException: tconstruct.library.weaponry.AmmoWeapon     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 36 more Caused by: java.lang.NoClassDefFoundError: tconstruct/library/weaponry/AmmoItem     at java.lang.ClassLoader.defineClass1(Native Method)     at java.lang.ClassLoader.defineClass(Unknown Source)     at java.security.SecureClassLoader.defineClass(Unknown Source)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)     ... 38 more Caused by: java.lang.ClassNotFoundException: tconstruct.library.weaponry.AmmoItem     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     ... 42 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 10 (x86) version 10.0     Java Version: 1.8.0_411, Oracle Corporation     Java VM Version: Java HotSpot(TM) Client VM (mixed mode, sharing), Oracle Corporation     Memory: 271923192 bytes (259 MB) / 402653184 bytes (384 MB) up to 536870912 bytes (512 MB)     JVM Flags: 9 total; -Xmx512M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+IgnoreUnrecognizedVMOptions -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump     AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 14 mods loaded, 14 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UC    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)      UC    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      UC    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)      UC    AWWayofTime{v1.3.3} [Blood Magic: Alchemical Wizardry] (BloodMagic-1.7.10-1.3.3-17.jar)      UC    Mantle{1.7.10-0.3.2.jenkins191} [Mantle] (Mantle-1.7.10-0.3.2b.jar)      UE    TConstruct{1.7.10-1.8.8.build991} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.build991.jar)      UC    BloodArsenal{1.2-5} [Blood Arsenal] (BloodArsenal-1.7.10-1.2-5.jar)      UC    BuildCraft|Core{7.1.25} [BuildCraft] (buildcraft-7.1.25.jar)      UC    BuildCraft|Builders{7.1.25} [BC Builders] (buildcraft-7.1.25.jar)      UC    BuildCraft|Robotics{7.1.25} [BC Robotics] (buildcraft-7.1.25.jar)      UC    BuildCraft|Silicon{7.1.25} [BC Silicon] (buildcraft-7.1.25.jar)      UC    BuildCraft|Energy{7.1.25} [BC Energy] (buildcraft-7.1.25.jar)      UC    BuildCraft|Transport{7.1.25} [BC Transport] (buildcraft-7.1.25.jar)      UC    BuildCraft|Factory{7.1.25} [BC Factory] (buildcraft-7.1.25.jar)      GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4541' Renderer: 'Intel(R) HD Graphics 610'     Mantle Environment: Environment healthy.     TConstruct Environment: Environment healthy.
    • fixed this problem but now i have a new one  java.lang.RuntimeException: java.lang.NoSuchFieldException: processor  Help 
    • ---- Minecraft Crash Report ---- WARNING: coremods are present:   IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar)   FTBUltimineASM (ftb-ultimine-1202.3.5.jar)   ForgelinPlugin (Forgelin-1.8.4.jar)   MovingWorldCore (movingworld-1.12-6.353-full.jar)   MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)   OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)   AppleCore (AppleCore-mc1.12.2-3.4.0.jar)   Ar_CorePlugin (additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar)   CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   EnderCorePlugin (EnderCore-1.12.2-0.5.78-core.jar)   TransformerLoader (OpenComputers-MC1.12.2-1.8.5+179e1c3.jar)   Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)   SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)   LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)   MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar) Contact their authors BEFORE contacting forge // Daisy, daisy... Time: 5/22/24 9:18 PM Description: Initializing game java.lang.RuntimeException: Invalid id 4096 - maximum id range exceeded.     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)     at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)     at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_209_ModRegistry_registerBlocks_Register.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)     at net.minecraft.client.main.Main.main(SourceFile:123)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace:     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)     at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:281)     at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:113)     at com.blakebr0.cucumber.registry.ModRegistry.registerBlocks(ModRegistry.java:230)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_209_ModRegistry_registerBlocks_Register.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)     at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:630)     at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)     at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467) -- Initialization -- Details: Stacktrace:     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)     at net.minecraft.client.main.Main.main(SourceFile:123)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 912918880 bytes (870 MB) / 4423417856 bytes (4218 MB) up to 6084886528 bytes (5803 MB)     JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6528m -Xms256m     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2859 129 mods loaded, 129 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                                           | Version                  | Source                                                | Signature                                |     |:----- |:-------------------------------------------- |:------------------------ |:----------------------------------------------------- |:---------------------------------------- |     | LCH   | minecraft                                    | 1.12.2                   | minecraft.jar                                         | None                                     |     | LCH   | mcp                                          | 9.42                     | minecraft.jar                                         | None                                     |     | LCH   | FML                                          | 8.0.99.99                | forge-1.12.2-14.23.5.2859.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCH   | forge                                        | 14.23.5.2859             | forge-1.12.2-14.23.5.2859.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LCH   | additionalresources                          | 0.1.1                    | additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar | None                                     |     | LCH   | com.elytradev.movingworld.common.asm.coremod |                          | minecraft.jar                                         | None                                     |     | LCH   | openmodscore                                 | 0.12.2                   | minecraft.jar                                         | None                                     |     | LCH   | opencomputers|core                           | 1.8.5                    | minecraft.jar                                         | None                                     |     | LCH   | srm-hooks                                    | 1.12.2-1.0.0             | minecraft.jar                                         | None                                     |     | LCH   | achievementbooks                             | V1.0b-MC1.12.2           | achievementbooks-V1.0b-MC1.12.2.jar                   | None                                     |     | LCH   | infinitylib                                  | 1.12.2-1.12.1            | infinitylib-1.12.1.jar                                | None                                     |     | LCH   | agricraft                                    | 2.12.0-1.12.2-b2         | agricraft-2.12.0-1.12.2-b2.jar                        | None                                     |     | LCH   | aoa3                                         | 3.3.6                    | AoA3-3.3.6.jar                                        | 8bddeac148843f40e0b9f69201be2f4b3071700d |     | LCH   | applecore                                    | 3.4.0                    | AppleCore-mc1.12.2-3.4.0.jar                          | None                                     |     | LCH   | jei                                          | 4.16.1.301               | jei_1.12.2-4.16.1.301.jar                             | None                                     |     | LCH   | appleskin                                    | 1.0.14                   | AppleSkin-mc1.12-1.0.14.jar                           | None                                     |     | LCH   | ctm                                          | MC1.12.2-1.0.2.31        | CTM-MC1.12.2-1.0.2.31.jar                             | None                                     |     | LCH   | appliedenergistics2                          | rv6-stable-7             | appliedenergistics2-rv6-stable-7.jar                  | dfa4d3ac143316c6f32aa1a1beda1e34d42132e5 |     | LCH   | audiodeath                                   | 0.7.0_1.9-87aeca7        | audiodeath-1.9-0.7.0.50+87aeca7.jar                   | None                                     |     | LCH   | codechickenlib                               | 3.2.3.358                | CodeChickenLib-1.12.2-3.2.3.358-universal.jar         | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | avaritia                                     | 3.3.0                    | Avaritia-1.12.2-3.3.0.37-universal.jar                | None                                     |     | LCH   | bno                                          | 1.12.2-1.0.4.0           | BasicNetherOres-1.12.2-1.0.5.0.jar                    | None                                     |     | LCH   | baubles                                      | 1.5.2                    | Baubles-1.12-1.5.2.jar                                | None                                     |     | LCH   | bdlib                                        | 1.14.4.1                 | bdlib-1.14.4.1-mc1.12.2.jar                           | None                                     |     | LCH   | betteradvancements                           | 0.1.0.77                 | BetterAdvancements-1.12.2-0.1.0.77.jar                | None                                     |     | LCH   | bibliocraft                                  | 2.4.6                    | BiblioCraft[v2.4.6][MC1.12.2].jar                     | None                                     |     | LCH   | bluepower                                    | 0.3.152                  | BluePower-1.12.2-0.3.152-universal.jar                | None                                     |     | LCH   | thaumcraft                                   | 6.1.BETA26               | Thaumcraft-1.12.2-6.1.BETA26.jar                      | None                                     |     | LCH   | botania                                      | r1.10-364                | Botania r1.10-364.4.jar                               | None                                     |     | LCH   | redstoneflux                                 | 2.1.1                    | RedstoneFlux-1.12-2.1.1.1-universal.jar               | None                                     |     | LCH   | brandonscore                                 | 2.4.20                   | BrandonsCore-1.12.2-2.4.20.162-universal.jar          | None                                     |     | LCH   | chameleon                                    | 1.12-4.1.3               | Chameleon-1.12-4.1.3.jar                              | None                                     |     | LCH   | chancecubes                                  | 1.12.2-5.0.2.385         | ChanceCubes-1.12.2-5.0.2.385.jar                      | None                                     |     | LCH   | chickenchunks                                | 2.4.2.74                 | ChickenChunks-1.12.2-2.4.2.74-universal.jar           | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | chisel                                       | MC1.12.2-1.0.2.45        | Chisel-MC1.12.2-1.0.2.45.jar                          | None                                     |     | LCH   | cofhcore                                     | 4.6.6                    | CoFHCore-1.12.2-4.6.6.1-universal.jar                 | None                                     |     | LCH   | cofhworld                                    | 1.4.0                    | CoFHWorld-1.12.2-1.4.0.1-universal.jar                | None                                     |     | LCH   | collective                                   | 3.0                      | collective-1.12.2-3.0.jar                             | None                                     |     | LCH   | cookingforblockheads                         | 6.5.0                    | CookingForBlockheads_1.12.2-6.5.0.jar                 | None                                     |     | LCH   | cucumber                                     | 1.1.3                    | Cucumber-1.12.2-1.1.3.jar                             | None                                     |     | LCH   | custommainmenu                               | 2.0.9.1                  | CustomMainMenu-MC1.12.2-2.0.9.1.jar                   | None                                     |     | LCH   | customnpcs                                   | 1.12                     | CustomNPCs_1.12.2-(05Jul20).jar                       | None                                     |     | LCH   | cyclopscore                                  | 1.6.7                    | CyclopsCore-1.12.2-1.6.7.jar                          | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |     | LCH   | movingworld                                  | 1.12-6.353               | movingworld-1.12-6.353-full.jar                       | None                                     |     | LCH   | davincisvessels                              | @DVESSELSVER@            | davincisvessels-1.12-6.340-full.jar                   | None                                     |     | LCH   | ptrmodellib                                  | 1.0.5                    | PTRLib-1.0.5.jar                                      | None                                     |     | LCH   | props                                        | 2.6.3.7                  | Decocraft-2.6.3.7_1.12.2.jar                          | None                                     |     | LCH   | thermalfoundation                            | 2.6.7                    | ThermalFoundation-1.12.2-2.6.7.1-universal.jar        | None                                     |     | LCH   | draconicevolution                            | 2.3.28                   | Draconic-Evolution-1.12.2-2.3.28.354-universal.jar    | None                                     |     | LCH   | lootablebodies                               | 2.4.0                    | DrCyanosLootableBodies_1.12-2.4.0.jar                 | None                                     |     | LCH   | elevatorid                                   | 1.3.14                   | ElevatorMod-1.12.2-1.3.14.jar                         | None                                     |     | LCH   | endercore                                    | 1.12.2-0.5.78            | EnderCore-1.12.2-0.5.78.jar                           | None                                     |     | LCH   | thermalexpansion                             | 5.5.7                    | ThermalExpansion-1.12.2-5.5.7.1-universal.jar         | None                                     |     | LCH   | enderio                                      | 5.3.72                   | EnderIO-base-1.12.2-5.3.72.jar                        | None                                     |     | LCH   | enderiointegrationtic                        | 5.3.72                   | EnderIO-integration-tic-1.12.2-5.3.72.jar             | None                                     |     | LCH   | enderiobase                                  | 5.3.72                   | EnderIO-base-1.12.2-5.3.72.jar                        | None                                     |     | LCH   | mantle                                       | 1.12-1.3.3.55            | Mantle-1.12-1.3.3.55.jar                              | None                                     |     | LCH   | twilightforest                               | 3.11.1021                | twilightforest-1.12.2-3.11.1021-universal.jar         | None                                     |     | LCH   | tconstruct                                   | 1.12.2-2.13.0.183        | TConstruct-1.12.2-2.13.0.183.jar                      | None                                     |     | LCH   | enderiointegrationticlate                    | 5.3.72                   | EnderIO-integration-tic-1.12.2-5.3.72.jar             | None                                     |     | LCH   | enderstorage                                 | 2.4.6.137                | EnderStorage-1.12.2-2.4.6.137-universal.jar           | f1850c39b2516232a2108a7bd84d1cb5df93b261 |     | LCH   | evilcraft                                    | 0.10.78                  | EvilCraft-1.12.2-0.10.78.jar                          | bd0353b3e8a2810d60dd584e256e364bc3bedd44 |     | LCH   | natura                                       | 1.12.2-4.3.2.69          | natura-1.12.2-4.3.2.69.jar                            | None                                     |     | LCH   | forestry                                     | 5.8.2.387                | forestry_1.12.2-5.8.2.387.jar                         | None                                     |     | LCH   | evilcraftcompat                              | 1.0.0                    | EvilCraft-1.12.2-0.10.78.jar                          | None                                     |     | LCH   | waila                                        | 1.8.26                   | Hwyla-1.8.26-B41_1.12.2.jar                           | None                                     |     | LCH   | extracells                                   | 2.6.7                    | ExtraCells-1.12.2-2.6.7.jar                           | None                                     |     | LCH   | extrautils2                                  | 1.0                      | extrautils2-1.12-1.9.9.jar                            | None                                     |     | LCH   | opencomputers                                | 1.8.5                    | OpenComputers-MC1.12.2-1.8.5+179e1c3.jar              | None                                     |     | LCH   | zerocore                                     | 1.12.2-0.1.2.9           | zerocore-1.12.2-0.1.2.9.jar                           | None                                     |     | LCH   | bigreactors                                  | 1.12.2-0.4.5.68          | ExtremeReactors-1.12.2-0.4.5.68.jar                   | None                                     |     | LCH   | fastleafdecay                                | v14                      | FastLeafDecay-v14.jar                                 | None                                     |     | LCH   | fluxnetworks                                 | 4.1.0                    | FluxNetworks-1.12.2-4.1.1.34.jar                      | None                                     |     | LCH   | forgelin                                     | 1.8.4                    | Forgelin-1.8.4.jar                                    | None                                     |     | LCH   | ftbultimine                                  | 1202.3.5                 | ftb-ultimine-1202.3.5.jar                             | None                                     |     | LCH   | ichunutil                                    | 7.2.2                    | iChunUtil-1.12.2-7.2.2.jar                            | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | gravitygun                                   | 7.1.0                    | GravityGun-1.12.2-7.1.0.jar                           | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | headcrumbs                                   | 2.0.4                    | Headcrumbs-1.12.2-2.0.5.17.jar                        | None                                     |     | LCH   | mekanism                                     | 1.12.2-9.8.3.390         | Mekanism-1.12.2-9.8.3.390.jar                         | None                                     |     | LCH   | teslacorelib                                 | 1.0.18                   | tesla-core-lib-1.12.2-1.0.18.jar                      | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCH   | industrialforegoing                          | 1.12.2-1.12.2            | industrialforegoing-1.12.2-1.12.13-237.jar            | None                                     |     | LCH   | inventorypets                                | 2.0.15                   | inventorypets-1.12-2.0.15.jar                         | None                                     |     | LCH   | inventorytweaks                              | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar                              | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |     | LCH   | ironchest                                    | 1.12.2-7.0.67.844        | ironchest-1.12.2-7.0.72.847.jar                       | None                                     |     | LCH   | jeibees                                      | 0.9.0.5                  | jeibees-0.9.0.5-mc1.12.2.jar                          | None                                     |     | LCH   | jeiintegration                               | 1.6.0                    | jeiintegration_1.12.2-1.6.0.jar                       | None                                     |     | LCH   | malisiscore                                  | 1.12.2-6.5.1-SNAPSHOT    | malisiscore-1.12.2-6.5.1.jar                          | None                                     |     | LCH   | malisisdoors                                 | 1.12.2-7.3.0             | malisisdoors-1.12.2-7.3.0.jar                         | None                                     |     | LCH   | mysticalagriculture                          | 1.7.5                    | MysticalAgriculture-1.12.2-1.7.5.jar                  | None                                     |     | LCH   | matc                                         | 1.0.1-hotfix             | matc-1.0.1-hotfix.jar                                 | None                                     |     | LCH   | mca                                          | 6.1.0                    | MCA-1.12.2-6.1.0-universal.jar                        | None                                     |     | LCH   | mcjtylib_ng                                  | 3.5.4                    | mcjtylib-1.12-3.5.4.jar                               | None                                     |     | LCH   | mekanismgenerators                           | 1.12.2-9.8.3.390         | MekanismGenerators-1.12.2-9.8.3.390.jar               | None                                     |     | LCH   | mekanismtools                                | 1.12.2-9.8.3.390         | MekanismTools-1.12.2-9.8.3.390.jar                    | None                                     |     | LCH   | mob_grinding_utils                           | 0.3.13                   | MobGrindingUtils-0.3.13.jar                           | None                                     |     | LCH   | numina                                       | 1.0                      | Numina-1.12.2-1.1.049.jar                             | None                                     |     | LCH   | refinedstorage                               | 1.6.16                   | refinedstorage-1.6.16.jar                             | 57893d5b90a7336e8c63fe1c1e1ce472c3d59578 |     | LCH   | powersuits                                   | 1.1.048                  | ModularPowersuits-1.12.2-1.1.048.jar                  | None                                     |     | LCH   | morph                                        | 7.2.0                    | Morph-1.12.2-7.2.1.jar                                | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | mousetweaks                                  | 2.10                     | MouseTweaks-2.10-mc1.12.2.jar                         | None                                     |     | LCH   | mysticalagradditions                         | 1.3.2                    | MysticalAgradditions-1.12.2-1.3.2.jar                 | None                                     |     | LCH   | openmods                                     | 0.12.2                   | OpenModsLib-1.12.2-0.12.2.jar                         | d2a9a8e8440196e26a268d1f3ddc01b2e9c572a5 |     | LCH   | openblocks                                   | 1.8.1                    | OpenBlocks-1.12.2-1.8.1.jar                           | d2a9a8e8440196e26a268d1f3ddc01b2e9c572a5 |     | LCH   | harvestcraft                                 | 1.12.2zb                 | Pam's HarvestCraft 1.12.2zg.jar                       | None                                     |     | LCH   | patchouli                                    | 1.0-23.6                 | Patchouli-1.0-23.6.jar                                | None                                     |     | LCH   | portalgun                                    | 7.1.0                    | PortalGun-1.12.2-7.1.0.jar                            | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |     | LCH   | projecte                                     | 1.12.2-PE1.4.1           | ProjectE-1.12.2-PE1.4.1.jar                           | None                                     |     | LCH   | projectex                                    | 1.2.0.40                 | ProjectEX-1.2.0.40.jar                                | None                                     |     | LCH   | radixcore                                    | 1.12.x-2.2.1             | RadixCore-1.12.x-2.2.1-universal.jar                  | None                                     |     | LCH   | redstonearsenal                              | 2.6.6                    | RedstoneArsenal-1.12.2-2.6.6.1-universal.jar          | None                                     |     | LCH   | xreliquary                                   | 1.12.2-1.3.4.796         | Reliquary-1.12.2-1.3.4.796.jar                        | None                                     |     | LCH   | resourceloader                               | 1.5.3                    | ResourceLoader-MC1.12.1-1.5.3.jar                     | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LCH   | rftools                                      | 7.73                     | rftools-1.12-7.73.jar                                 | None                                     |     | LCH   | rftoolspower                                 | 1.2.0                    | rftoolspower-1.12-1.2.0.jar                           | None                                     |     | LCH   | secretroomsmod                               | 5.6.4                    | secretroomsmod-1.12.2-5.6.4.jar                       | None                                     |     | LCH   | thermaldynamics                              | 2.5.6                    | ThermalDynamics-1.12.2-2.5.6.1-universal.jar          | None                                     |     | LCH   | immersiveengineering                         | 0.12-98                  | ImmersiveEngineering-0.12-98.jar                      | None                                     |     | LCH   | simplyjetpacks                               | 1.12.2-2.2.20.0          | SimplyJetpacks2-1.12.2-2.2.20.0.jar                   | None                                     |     | LCH   | starterkit                                   | 2.4                      | starterkit_1.12.2-2.4.jar                             | None                                     |     | LCH   | storagedrawers                               | 5.5.0                    | StorageDrawers-1.12.2-5.5.0.jar                       | None                                     |     | LCH   | thaumicjei                                   | 1.6.0                    | ThaumicJEI-1.12.2-1.6.0-27.jar                        | None                                     |     | LCH   | thermalinnovation                            | 0.3.6                    | ThermalInnovation-1.12.2-0.3.6.1-universal.jar        | None                                     |     | LCH   | tcomplement                                  | 1.12.2-0.4.3             | TinkersComplement-1.12.2-0.4.3.jar                    | None                                     |     | LCH   | tinkersjei                                   | 1.2                      | tinkersjei-1.2.jar                                    | None                                     |     | LCH   | tinkertoolleveling                           | 1.12.2-1.1.0.DEV.b23e769 | TinkerToolLeveling-1.12.2-1.1.0.jar                   | None                                     |     | LCH   | vampire                                      | 0.0.2B                   | vampire-0.0.2B.jar                                    | None                                     |     | LCH   | wawla                                        | 2.6.275                  | Wawla-1.12.2-2.6.275.jar                              | d476d1b22b218a10d845928d1665d45fce301b27 |     | LCH   | matteroverdrive                              | 0.7.0.0                  | MatterOverdrive-1.12.2-0.7.1.0-universal.jar          | None                                     |     | LCH   | teslacorelib_registries                      | 1.0.18                   | tesla-core-lib-1.12.2-1.0.18.jar                      | None                                     |     Loaded coremods (and transformers):  IELoadingPlugin (ImmersiveEngineering-core-0.12-98.jar)   blusunrize.immersiveengineering.common.asm.IEClassTransformer FTBUltimineASM (ftb-ultimine-1202.3.5.jar)    ForgelinPlugin (Forgelin-1.8.4.jar)    MovingWorldCore (movingworld-1.12-6.353-full.jar)    MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)   mekanism.coremod.KeybindingMigrationHelper OpenModsCorePlugin (OpenModsLib-1.12.2-0.12.2.jar)   openmods.core.OpenModsClassTransformer AppleCore (AppleCore-mc1.12.2-3.4.0.jar)   squeek.applecore.asm.TransformerModuleHandler Ar_CorePlugin (additionalresources-1.9.4-0.2.0.28+47cd0bd_signed.jar)    CTMCorePlugin (CTM-MC1.12.2-1.0.2.31.jar)   team.chisel.ctm.client.asm.CTMTransformer EnderCorePlugin (EnderCore-1.12.2-0.5.78-core.jar)   com.enderio.core.common.transform.EnderCoreTransformer   com.enderio.core.common.transform.SimpleMixinPatcher TransformerLoader (OpenComputers-MC1.12.2-1.8.5+179e1c3.jar)   li.cil.oc.common.asm.ClassTransformer Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)   invtweaks.forge.asm.ContainerTransformer SecretRoomsMod-Core (secretroomsmod-1.12.2-5.6.4.jar)   com.wynprice.secretroomsmod.core.SecretRoomsTransformer LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)   lumien.resourceloader.asm.ClassTransformer MalisisCorePlugin (malisiscore-1.12.2-6.5.1.jar)        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 552.22' Renderer: 'NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2'     OpenModsLib class transformers: [llama_null_fix:FINISHED],[horse_base_null_fix:FINISHED],[pre_world_render_hook:FINISHED],[player_render_hook:FINISHED],[horse_null_fix:FINISHED]     AE2 Version: stable rv6-stable-7 for Forge 14.23.5.2768     Ender IO: No known problems detected.        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     !!!You are looking at the diagnostics information, not at the crash.       !!!     !!!Scroll up until you see the line with '---- Minecraft Crash Report ----'!!!     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!     Pulsar/tconstruct loaded Pulses:          - TinkerCommons (Enabled/Forced)         - TinkerWorld (Enabled/Not Forced)         - TinkerTools (Enabled/Not Forced)         - TinkerHarvestTools (Enabled/Forced)         - TinkerMeleeWeapons (Enabled/Forced)         - TinkerRangedWeapons (Enabled/Forced)         - TinkerModifiers (Enabled/Forced)         - TinkerSmeltery (Enabled/Not Forced)         - TinkerGadgets (Enabled/Not Forced)         - TinkerOredict (Enabled/Forced)         - TinkerIntegration (Enabled/Forced)         - TinkerFluids (Enabled/Forced)         - TinkerMaterials (Enabled/Forced)         - TinkerModelRegister (Enabled/Forced)         - chiselIntegration (Enabled/Not Forced)         - wailaIntegration (Enabled/Not Forced)     Pulsar/natura loaded Pulses:          - NaturaCommons (Enabled/Forced)         - NaturaOverworld (Enabled/Not Forced)         - NaturaNether (Enabled/Not Forced)         - NaturaDecorative (Enabled/Not Forced)         - NaturaTools (Enabled/Not Forced)         - NaturaEntities (Enabled/Not Forced)         - NaturaOredict (Enabled/Forced)         - NaturaWorld (Enabled/Not Forced)     Pulsar/tcomplement loaded Pulses:          - ModuleCommons (Enabled/Forced)         - ModuleMelter (Enabled/Not Forced)         - ModuleArmor (Enabled/Not Forced)         - ModuleSteelworks (Enabled/Not Forced)         - ChiselPlugin (Enabled/Not Forced)         - ToolLevelingPlugin (Enabled/Not Forced)         - Oredict (Enabled/Forced)     List of loaded APIs:          * AgriCraftAPI (1.0) from agricraft-2.12.0-1.12.2-b2.jar         * AppleCoreAPI (3.4.0) from AppleCore-mc1.12.2-3.4.0.jar         * appliedenergistics2|API (rv6) from appliedenergistics2-rv6-stable-7.jar         * Baubles|API (1.4.0.2) from Baubles-1.12-1.5.2.jar         * betteradvancements|API (0.1.0.77) from BetterAdvancements-1.12.2-0.1.0.77.jar         * BetterWithModsAPI (Beta 0.6) from AppleSkin-mc1.12-1.0.14.jar         * bigreactors|API (4.0.1) from ExtremeReactors-1.12.2-0.4.5.68.jar         * bluepowerAPI (1.0) from BluePower-1.12.2-0.3.152-universal.jar         * BotaniaAPI (93) from Botania r1.10-364.4.jar         * Chisel-API (0.0.1) from Chisel-MC1.12.2-1.0.2.45.jar         * ChiselAPI|Carving (0.0.1) from Chisel-MC1.12.2-1.0.2.45.jar         * cofhapi (2.5.0) from CoFHCore-1.12.2-4.6.6.1-universal.jar         * Core (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Blocks (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Constants (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities|Data (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Entities|Data|Role (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Events (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Gui (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Handlers (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * Core|Handlers|Data (0.1) from CustomNPCs_1.12.2-(05Jul20).jar         * CSLib|API (1.0.1) from PTRLib-1.0.5.jar         * ctm-api (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-events (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-models (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-textures (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * ctm-api-utils (0.1.0) from CTM-MC1.12.2-1.0.2.31.jar         * DraconicEvolution|API (1.3) from Draconic-Evolution-1.12.2-2.3.28.354-universal.jar         * enderioapi (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|addon (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|capacitor (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|conduits (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|farm (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|redstone (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|teleport (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|tools (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * enderioapi|upgrades (4.0.0) from EnderIO-base-1.12.2-5.3.72.jar         * ForestryAPI|apiculture (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|arboriculture (4.3.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|book (5.8.1) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|circuits (3.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|climate (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|core (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|farming (5.8.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|food (1.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|fuels (3.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|genetics (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|gui (5.8.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|hives (4.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|lepidopterology (1.4.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|mail (3.1.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|modules (5.7.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|multiblock (3.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|recipes (5.4.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|storage (5.0.0) from forestry_1.12.2-5.8.2.387.jar         * ForestryAPI|world (2.1.0) from forestry_1.12.2-5.8.2.387.jar         * iChunUtil API (1.2.0) from iChunUtil-1.12.2-7.2.2.jar         * ImmersiveEngineering|API (1.0) from ImmersiveEngineering-0.12-98.jar         * ImmersiveEngineering|ImmersiveFluxAPI (1.0) from ImmersiveEngineering-0.12-98.jar         * industrialforegoingapi (5) from industrialforegoing-1.12.2-1.12.13-237.jar         * JustEnoughItemsAPI (4.13.0) from jei_1.12.2-4.16.1.301.jar         * MatterOverdrive|API (0.4.1) from MatterOverdrive-1.12.2-0.7.1.0-universal.jar         * MekanismAPI|core (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|energy (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|gas (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|infuse (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|laser (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|transmitter (9.8.1) from Mekanism-1.12.2-9.8.3.390.jar         * MekanismAPI|util (9.0.0) from Mekanism-1.12.2-9.8.3.390.jar         * MouseTweaks|API (1.0) from MouseTweaks-2.10-mc1.12.2.jar         * openblocks|api (1.2) from OpenBlocks-1.12.2-1.8.1.jar         * opencomputersapi|component (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|core (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|driver (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|driver|item (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|event (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|filesystem (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|internal (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|machine (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|manual (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|network (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * opencomputersapi|prefab (7.0.0-alpha) from OpenComputers-MC1.12.2-1.8.5+179e1c3.jar         * PatchouliAPI (6) from Patchouli-1.0-23.6.jar         * projecteapi (1.12.2-1.2.0) from ProjectE-1.12.2-PE1.4.1.jar         * redstonefluxapi (2.1.1) from RedstoneFlux-1.12-2.1.1.1-universal.jar         * StorageDrawersAPI (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|event (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|registry (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|render (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|storage (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * StorageDrawersAPI|storage-attribute (2.1.0) from StorageDrawers-1.12.2-5.5.0.jar         * Thaumcraft|API (6.0.2) from Thaumcraft-1.12.2-6.1.BETA26.jar         * WailaAPI (1.3) from Hwyla-1.8.26-B41_1.12.2.jar         * zerocore|API|multiblock (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|rectangular (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|tier (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar         * zerocore|API|multiblock|validation (1.10.2-0.0.2) from zerocore-1.12.2-0.1.2.9.jar     Patchouli open book context: n/a     Launched Version: forge-14.23.5.2859     LWJGL: 2.9.4     OpenGL: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 552.22, NVIDIA Corporation     GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs:      Current Language: English (US)     Profiler Position: N/A (disabled)     CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    • I got a 1.12.2 server up and running after fixing some issues , the thing is that even for me, the host, the server is several ticks behind, i even had to set the max-tick-time to -1 to be on the server without it crashing. I have good internet and im dedicating 6gb of ram to it, but it still uses 1200mb more or less, here is a picture: https://ibb.co/RbcwgzP chunks load just fine, its the lag thats unbearable, i cant break blocks, cant walk without teleporting back to where i was, nothing.
    • I was playing this mod pack just fine yesterday and I added a few more mods to it this morning. Ive tried it with and without these mods I added and keep getting the same error. here is the latest crash log.
  • Topics

×
×
  • Create New...

Important Information

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