Jump to content

Server Crash due to entity, not being traced to Entity Class [1.7.2] [SOLVED]


Recommended Posts

Iam having a problem with an entity earlier and fixed the client crash but the server crashes when ever i load a world. I do noteven know where to start with fixing my problem because it is a server crash only and not being traced to the entityclass please help

---- Minecraft Crash Report ----

// On the bright side, I bought you a teddy bear!


Time: 11/27/14 6:36 PM

Description: Exception in server tick loop


java.lang.NoClassDefFoundError: net/minecraft/entity/Entity$1

at net.minecraft.entity.Entity.addEntityCrashInfo(Entity.java:2097)

at net.minecraft.entity.Entity.readFromNBT(Entity.java:1444)

at net.minecraft.entity.EntityList.createEntityFromNBT(EntityList.java:172)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.readChunkFromNBT(AnvilChunkLoader.java:387)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedReadChunkFromNBT(AnvilChunkLoader.java:101)

at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk(AnvilChunkLoader.java:84)

at net.minecraft.world.gen.ChunkProviderServer.safeLoadChunk(ChunkProviderServer.java:152)

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:100)

at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:257)

at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:78)

at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:92)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)



A detailed walkthrough of the error, its code path and all known details is as follows:



-- System Details --


Minecraft Version: 1.7.2

Operating System: Windows 8.1 (amd64) version 6.3

Java Version: 1.7.0_72, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 928914640 bytes (885 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 15, tcache: 0, allocated: 13, tallocated: 95

FML: MCP v9.03 FML v7.2.165.1063 Minecraft Forge 4 mods loaded, 4 mods active

mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

FML{} [Forge Mod Loader] (forgeBin-1.7.2- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Forge{} [Minecraft Forge] (forgeBin-1.7.2- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Invention_Craft_Weather{alpha 1.0} [invention_Craft_Weather] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Player Count: 0 / 8; []

Type: Integrated Server (map_client.txt)

Is Modded: Definitely; Client brand changed to 'fml,forge'



entity class


package src.IVWeather.entity;


import java.util.List;


import src.IVWeather.block.BlockFlyingBlock;

import net.minecraft.entity.Entity;

import net.minecraft.entity.item.EntityFallingBlock;

import net.minecraft.init.Blocks;

import net.minecraft.block.*;

import net.minecraft.block.material.Material;

import net.minecraft.nbt.NBTTagCompound;

import net.minecraft.util.AxisAlignedBB;

import net.minecraft.util.MathHelper;

import net.minecraft.world.World;


public class EntityFlyingBlock extends Entity {


List collidingBondingBloxes;

Material mate;

float density1;


public EntityFlyingBlock(World world) {




public EntityFlyingBlock(World world, Block inheritblock, float density, Material mat, int x, int y, int z) {


float velocity = (float) (this.motionX + this.motionY + this.motionZ) / 3;

float force = velocity * density;

mate = mat;

setPosition(x, y, z);

density1 = density;

setSize(1, 1);

this.iblock = inheritblock;



float force;

Block iblock;


public void onUpdate() {



int onIdle = 0;

float velocity = (float) (this.motionX + this.motionY + this.motionZ) / 3;

force = velocity * density1;


if(velocity == 0) {




List list = this.getCollidingBlocksWithMoveBlock(this, this.boundingBox);

if(list != null) {


for(int k = 0; k < list.size(); k++) {

Block block = (Block) list.get(k);

BlockFlyingBlock g = (BlockFlyingBlock) block;

float hardness = g.getFBlockHardness();

if(velocity > hardness) {

block = new BlockFlyingBlock(block.getMaterial(), block);





if(onIdle > 40) {

worldObj.setBlock((int) this.posX, (int) this.posY, (int) this.posZ, this.iblock);





public float getForce() {

return force;




public List getCollidingBlocksWithMoveBlock(Entity entity, AxisAlignedBB par2AxisAlignedBB) {

// declaring bounding box as int to be used in 'for' statement

int i = MathHelper.floor_double(entity.boundingBox.minX);

    int j = MathHelper.floor_double(entity.boundingBox.maxX + 1.0D);

    int k = MathHelper.floor_double(entity.boundingBox.minY);

    int l = MathHelper.floor_double(entity.boundingBox.maxY + 1.0D);

    int i1 = MathHelper.floor_double(entity.boundingBox.minZ);

    int j1 = MathHelper.floor_double(entity.boundingBox.maxZ + 1.0D);

    // 'for' statement of minX to MaxX

    for (int k1 = i; k1 < j; k1++) {

    //'for' statement of minZ to MaxZ

        for (int l1 = i1; l1 < j1; l1++) {

        // 'for' statement of minY to MaxY

            for (int i2 = k - 1; i2 < l; i2++)


            //declaring block

            Block block;

              if ((k1 >= -30000000) && (k1 < 30000000) && (l1 >= -30000000) && (l1 < 30000000)) {

                // getting all blocks inside bounding Box

              block = worldObj.getBlock(k1, i2, l1);

            // i dont want air blocks included so they will not be added

              if(!worldObj.isAirBlock(k1, i2, l1)){




              } else {

                block =  null;


              block.addCollisionBoxesToList(worldObj, k1, i2, l1, par2AxisAlignedBB, this.collidingBondingBloxes, (Entity) entity);




    return this.collidingBondingBloxes;



public boolean canBeCollidedWith() {

return true;






protected void readEntityFromNBT(NBTTagCompound arg0) {






protected void writeEntityToNBT(NBTTagCompound arg0) {






protected void entityInit() {







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.

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.

  • Create New...

Important Information

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