int z = transciever.zCoord + randOffset(2);
Block b = world.getBlock(x, y, z);
entity.setPosition(x + 0.5, entity.posY, z + 0.5);
if(world.canPlaceEntityOnSide(b, x, y, z, false, ForgeDirection.UP.ordinal(), entity, null)) {
resetForRandomRandomSpawn(entity);
if(worldserver.spawnEntityInWorld(entity)) {
//entity.onUpdate();
worldserver.updateEntity(entity);
return;
}
}